class Google::Apis::ClouddebuggerV2::Debuggee
Represents the debugged application. The application may include one or more replicated processes executing the same code. Each of these processes is attached with a debugger agent, carrying out the debugging commands. Agents attached to the same debuggee identify themselves as such by using exactly the same Debuggee
message value when registering.
Attributes
Version ID of the agent. Schema: `domain/language-platform/vmajor.minor` (for example `google.com/java-gcp/v1.1`). Corresponds to the JSON property `agentVersion` @return [String]
Used when setting breakpoint canary for this debuggee. Corresponds to the JSON property `canaryMode` @return [String]
Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended. Corresponds to the JSON property `description` @return [String]
References to the locations and revisions of the source code used in the deployed application. Corresponds to the JSON property `extSourceContexts` @return [Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>]
Unique identifier for the debuggee generated by the controller service. Corresponds to the JSON property `id` @return [String]
If set to `true`, indicates that the agent should disable itself and detach from the debuggee. Corresponds to the JSON property `isDisabled` @return [Boolean]
If set to `true`, indicates that the agent should disable itself and detach from the debuggee. Corresponds to the JSON property `isDisabled` @return [Boolean]
If set to `true`, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped. Corresponds to the JSON property `isInactive` @return [Boolean]
If set to `true`, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped. Corresponds to the JSON property `isInactive` @return [Boolean]
A set of custom debuggee properties, populated by the agent, to be displayed to the user. Corresponds to the JSON property `labels` @return [Hash<String,String>]
Project the debuggee is associated with. Use project number or id when registering a Google
Cloud Platform project. Corresponds to the JSON property `project` @return [String]
References to the locations and revisions of the source code used in the deployed application. Corresponds to the JSON property `sourceContexts` @return [Array<Google::Apis::ClouddebuggerV2::SourceContext>]
Represents a contextual status message. The message can indicate an error or informational status, and refer to specific parts of the containing object. For example, the `Breakpoint.status` field can indicate an error referring to the `BREAKPOINT_SOURCE_LOCATION` with the message `Location not found`. Corresponds to the JSON property `status` @return [Google::Apis::ClouddebuggerV2::StatusMessage]
Uniquifier to further distinguish the application. It is possible that different applications might have identical values in the debuggee message, thus, incorrectly identified as a single application by the Controller service. This field adds salt to further distinguish the application. Agents should consider seeding this field with value that identifies the code, binary, configuration and environment. Corresponds to the JSON property `uniquifier` @return [String]
Public Class Methods
# File lib/google/apis/clouddebugger_v2/classes.rb, line 386 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/clouddebugger_v2/classes.rb, line 391 def update!(**args) @agent_version = args[:agent_version] if args.key?(:agent_version) @canary_mode = args[:canary_mode] if args.key?(:canary_mode) @description = args[:description] if args.key?(:description) @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) @id = args[:id] if args.key?(:id) @is_disabled = args[:is_disabled] if args.key?(:is_disabled) @is_inactive = args[:is_inactive] if args.key?(:is_inactive) @labels = args[:labels] if args.key?(:labels) @project = args[:project] if args.key?(:project) @source_contexts = args[:source_contexts] if args.key?(:source_contexts) @status = args[:status] if args.key?(:status) @uniquifier = args[:uniquifier] if args.key?(:uniquifier) end