# Stackdriver Debugger V2 Client - Class RegisterDebuggeeResponse (1.9.5)

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

- [1.9.5 (latest)](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/latest/V2.RegisterDebuggeeResponse)
- [1.9.4](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.9.4/V2.RegisterDebuggeeResponse)
- [1.8.8](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.8.8/V2.RegisterDebuggeeResponse)
- [1.7.0](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.7.0/V2.RegisterDebuggeeResponse)
- [1.6.4](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.6.4/V2.RegisterDebuggeeResponse)
- [1.5.1](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.5.1/V2.RegisterDebuggeeResponse)
- [1.4.16](https://docs.cloud.google.com/php/docs/reference/cloud-debugger/1.4.16/V2.RegisterDebuggeeResponse)
Reference documentation and code samples for the Stackdriver Debugger V2 Client class RegisterDebuggeeResponse.

Response for registering a debuggee.

Generated from protobuf message `google.devtools.clouddebugger.v2.RegisterDebuggeeResponse`

## Namespace

Google \\ Cloud \\ Debugger \\ V2

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ debuggee` | `https://docs.cloud.google.com/php/docs/reference/cloud-debugger/latest/V2.Debuggee` Debuggee resource. The field `id` is guaranteed to be set (in addition to the echoed fields). If the field `is_disabled` is set to `true`, the agent should disable itself by removing all breakpoints and detaching from the application. It should however continue to poll `RegisterDebuggee` until reenabled. |

### getDebuggee

Debuggee resource.

The field `id` is guaranteed to be set (in addition to the echoed fields).
If the field `is_disabled` is set to `true`, the agent should disable
itself by removing all breakpoints and detaching from the application.
It should however continue to poll `RegisterDebuggee` until reenabled.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-debugger/latest/V2.Debuggee|null` |   |

### hasDebuggee

### clearDebuggee

### setDebuggee

Debuggee resource.

The field `id` is guaranteed to be set (in addition to the echoed fields).
If the field `is_disabled` is set to `true`, the agent should disable
itself by removing all breakpoints and detaching from the application.
It should however continue to poll `RegisterDebuggee` until reenabled.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-debugger/latest/V2.Debuggee` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |