Google Cloud Appengine Admin V1 Client - Class DebugInstanceRequest (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

Methods

__construct

Constructor.

Parameters
NameDescription
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 [KEY_VALUE] [USERNAME] * [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"} For more information, see Adding and Removing SSH Keys.

getName

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

Returns
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSshKey

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.
Returns
TypeDescription
string

setSshKey

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.
Parameter
NameDescription
var string
Returns
TypeDescription
$this