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

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [0.6.0 (latest)](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Cloud-Debugger-V2-Debuggee)
- [0.5.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.5.0/Google-Cloud-Debugger-V2-Debuggee)
- [0.4.0](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.4.0/Google-Cloud-Debugger-V2-Debuggee)
- [0.3.5](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/0.3.5/Google-Cloud-Debugger-V2-Debuggee)
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**

- (::Array\<[::Google::Devtools::Source::V1::ExtendedSourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-ExtendedSourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.

### #ext_source_contexts=

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

**Parameter**

- **value** (::Array\<[::Google::Devtools::Source::V1::ExtendedSourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-ExtendedSourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.
**Returns**

- (::Array\<[::Google::Devtools::Source::V1::ExtendedSourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-ExtendedSourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.

### #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**

- (::Array\<[::Google::Devtools::Source::V1::SourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-SourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.

### #source_contexts=

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

**Parameter**

- **value** (::Array\<[::Google::Devtools::Source::V1::SourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-SourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.
**Returns**

- (::Array\<[::Google::Devtools::Source::V1::SourceContext](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/Google-Devtools-Source-V1-SourceContext)\>) --- References to the locations and revisions of the source code used in the deployed application.

### #status

    def status() -> ::Google::Cloud::Debugger::V2::StatusMessage

**Returns**

- ([::Google::Cloud::Debugger::V2::StatusMessage](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-debugger-v2/latest/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.