2.2.3 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class DebugInstanceRequest.

Request message for `Instances.DebugInstance`.

Generated from protobuf message `google.appengine.v1.DebugInstanceRequest`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the resource requested. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. |
| `↳ ssh_key` | `string` Public SSH key to add to the instance. Examples: \* \* `[USERNAME]:ssh-rsa <xref uid="\\USERNAME">KEY_VALUE</xref>` \* \* `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information, see [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). |

### getName

Name of the resource requested. Example:
`apps/myapp/services/default/versions/v1/instances/instance-1`.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Name of the resource requested. Example:
`apps/myapp/services/default/versions/v1/instances/instance-1`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getSshKey

Public SSH key to add to the instance. Examples:

- `[USERNAME]:ssh-rsa <xref uid="\\USERNAME">KEY_VALUE</xref>`
- `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information, see [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setSshKey

Public SSH key to add to the instance. Examples:

- `[USERNAME]:ssh-rsa <xref uid="\\USERNAME">KEY_VALUE</xref>`
- `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information, see [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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