Cloud Debugger V2 API - Class Google::Cloud::Debugger::V2::Debuggee (v0.5.0)

Reference documentation and code samples for the Cloud Debugger V2 API class Google::Cloud::Debugger::V2::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.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#agent_version

def agent_version() -> ::String
Returns
  • (::String) — Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

#agent_version=

def agent_version=(value) -> ::String
Parameter
  • value (::String) — Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).
Returns
  • (::String) — Version ID of the agent. Schema: domain/language-platform/vmajor.minor (for example google.com/java-gcp/v1.1).

#description

def description() -> ::String
Returns
  • (::String) — Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.
Returns
  • (::String) — Human readable description of the debuggee. Including a human-readable project name, environment name and version information is recommended.

#ext_source_contexts

def ext_source_contexts() -> ::Array<::Google::Devtools::Source::V1::ExtendedSourceContext>
Returns

#ext_source_contexts=

def ext_source_contexts=(value) -> ::Array<::Google::Devtools::Source::V1::ExtendedSourceContext>
Parameter
Returns

#id

def id() -> ::String
Returns
  • (::String) — Unique identifier for the debuggee generated by the controller service.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — Unique identifier for the debuggee generated by the controller service.
Returns
  • (::String) — Unique identifier for the debuggee generated by the controller service.

#is_disabled

def is_disabled() -> ::Boolean
Returns
  • (::Boolean) — If set to true, indicates that the agent should disable itself and detach from the debuggee.

#is_disabled=

def is_disabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, indicates that the agent should disable itself and detach from the debuggee.
Returns
  • (::Boolean) — If set to true, indicates that the agent should disable itself and detach from the debuggee.

#is_inactive

def is_inactive() -> ::Boolean
Returns
  • (::Boolean) — If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.

#is_inactive=

def is_inactive=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.
Returns
  • (::Boolean) — If set to true, indicates that Controller service does not detect any activity from the debuggee agents and the application is possibly stopped.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A set of custom debuggee properties, populated by the agent, to be displayed to the user.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A set of custom debuggee properties, populated by the agent, to be displayed to the user.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A set of custom debuggee properties, populated by the agent, to be displayed to the user.

#project

def project() -> ::String
Returns
  • (::String) — Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

#project=

def project=(value) -> ::String
Parameter
  • value (::String) — Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.
Returns
  • (::String) — Project the debuggee is associated with. Use project number or id when registering a Google Cloud Platform project.

#source_contexts

def source_contexts() -> ::Array<::Google::Devtools::Source::V1::SourceContext>
Returns

#source_contexts=

def source_contexts=(value) -> ::Array<::Google::Devtools::Source::V1::SourceContext>
Parameter
Returns

#status

def status() -> ::Google::Cloud::Debugger::V2::StatusMessage
Returns
  • (::Google::Cloud::Debugger::V2::StatusMessage) — Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status.

#status=

def status=(value) -> ::Google::Cloud::Debugger::V2::StatusMessage
Parameter
  • value (::Google::Cloud::Debugger::V2::StatusMessage) — Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status.
Returns
  • (::Google::Cloud::Debugger::V2::StatusMessage) — Human readable message to be displayed to the user about this debuggee. Absence of this field indicates no status. The message can be either informational or an error status.

#uniquifier

def uniquifier() -> ::String
Returns
  • (::String) — 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.

#uniquifier=

def uniquifier=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.