Class: Google::Apis::ClouddebuggerV2::Debuggee
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::Debuggee
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb
Overview
Represents the application to debug. 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. The agents attached to the same debuggee are identified by using exactly the same field values when registering.
Instance Attribute Summary collapse
-
#agent_version ⇒ String
Version ID of the agent release.
-
#description ⇒ String
Human readable description of the debuggee.
-
#ext_source_contexts ⇒ Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>
References to the locations and revisions of the source code used in the deployed application.
-
#id ⇒ String
Unique identifier for the debuggee generated by the controller service.
-
#is_disabled ⇒ Boolean
(also: #is_disabled?)
If set to
true, indicates that the agent should disable itself and detach from the debuggee. -
#is_inactive ⇒ Boolean
(also: #is_inactive?)
If set to
true, indicates that the debuggee is considered as inactive by the Controller service. -
#labels ⇒ Hash<String,String>
A set of custom debuggee properties, populated by the agent, to be displayed to the user.
-
#project ⇒ String
Project the debuggee is associated with.
-
#source_contexts ⇒ Array<Google::Apis::ClouddebuggerV2::SourceContext>
References to the locations and revisions of the source code used in the deployed application.
-
#status ⇒ Google::Apis::ClouddebuggerV2::StatusMessage
Represents a contextual status message.
-
#uniquifier ⇒ String
Debuggee uniquifier within the project.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Debuggee
constructor
A new instance of Debuggee.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ Debuggee
Returns a new instance of Debuggee
999 1000 1001 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 999 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent_version ⇒ String
Version ID of the agent release. The version ID is structured as
following: domain/type/vmajor.minor (for example
google.com/gcp-java/v1.1).
Corresponds to the JSON property agentVersion
930 931 932 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 930 def agent_version @agent_version end |
#description ⇒ 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
951 952 953 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 951 def description @description end |
#ext_source_contexts ⇒ Array<Google::Apis::ClouddebuggerV2::ExtendedSourceContext>
References to the locations and revisions of the source code used in the
deployed application.
Contexts describing a remote repo related to the source code
have a category label of remote_repo. Source snapshot source
contexts have a category of snapshot.
Corresponds to the JSON property extSourceContexts
969 970 971 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 969 def ext_source_contexts @ext_source_contexts end |
#id ⇒ String
Unique identifier for the debuggee generated by the controller service.
Corresponds to the JSON property id
923 924 925 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 923 def id @id end |
#is_disabled ⇒ Boolean Also known as: is_disabled?
If set to true, indicates that the agent should disable itself and
detach from the debuggee.
Corresponds to the JSON property isDisabled
936 937 938 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 936 def is_disabled @is_disabled end |
#is_inactive ⇒ Boolean Also known as: is_inactive?
If set to true, indicates that the debuggee is considered as inactive by
the Controller service.
Corresponds to the JSON property isInactive
990 991 992 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 990 def is_inactive @is_inactive end |
#labels ⇒ Hash<String,String>
A set of custom debuggee properties, populated by the agent, to be
displayed to the user.
Corresponds to the JSON property labels
975 976 977 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 975 def labels @labels end |
#project ⇒ String
Project the debuggee is associated with.
Use the project number when registering a Google Cloud Platform project.
Corresponds to the JSON property project
997 998 999 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 997 def project @project end |
#source_contexts ⇒ Array<Google::Apis::ClouddebuggerV2::SourceContext>
References to the locations and revisions of the source code used in the
deployed application.
NOTE: This field is deprecated. Consumers should use
ext_source_contexts if it is not empty. Debug agents should populate
both this field and ext_source_contexts.
Corresponds to the JSON property sourceContexts
960 961 962 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 960 def source_contexts @source_contexts end |
#status ⇒ Google::Apis::ClouddebuggerV2::StatusMessage
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
984 985 986 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 984 def status @status end |
#uniquifier ⇒ String
Debuggee uniquifier within the project.
Any string that identifies the application within the project can be used.
Including environment and version or build IDs is recommended.
Corresponds to the JSON property uniquifier
944 945 946 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 944 def uniquifier @uniquifier end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 1004 def update!(**args) @id = args[:id] if args.key?(:id) @agent_version = args[:agent_version] if args.key?(:agent_version) @is_disabled = args[:is_disabled] if args.key?(:is_disabled) @uniquifier = args[:uniquifier] if args.key?(:uniquifier) @description = args[:description] if args.key?(:description) @source_contexts = args[:source_contexts] if args.key?(:source_contexts) @ext_source_contexts = args[:ext_source_contexts] if args.key?(:ext_source_contexts) @labels = args[:labels] if args.key?(:labels) @status = args[:status] if args.key?(:status) @is_inactive = args[:is_inactive] if args.key?(:is_inactive) @project = args[:project] if args.key?(:project) end |