# App Engine Admin V1 API - Class Google::Cloud::AppEngine::V1::DebugInstanceRequest (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.10.0 0.9.2 0.8.0 0.7.0 0.6.1 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the App Engine Admin V1 API class Google::Cloud::AppEngine::V1::DebugInstanceRequest.

Request message for `Instances.DebugInstance`.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

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

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the resource requested. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`.
**Returns**

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

### #ssh_key

    def ssh_key() -> ::String

**Returns**

- (::String) --- Public SSH key to add to the instance. Examples:

  - `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]`
  - `[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).

### #ssh_key=

    def ssh_key=(value) -> ::String

**Parameter**

- **value** (::String) --- Public SSH key to add to the instance. Examples:


  - `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]`
  - `[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**

- (::String) --- Public SSH key to add to the instance. Examples:

  - `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]`
  - `[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).