Google Cloud Appengine Admin V1 Client - Class DebugInstanceRequest (1.3.5)

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.

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.
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.
Parameter
Name Description
var string
Returns
Type Description
$this