Interface DebugInstanceRequestOrBuilder (2.21.0)

public interface DebugInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSshKey()

public abstract String 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.

string ssh_key = 2;

Returns
TypeDescription
String

The sshKey.

getSshKeyBytes()

public abstract ByteString getSshKeyBytes()

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.

string ssh_key = 2;

Returns
TypeDescription
ByteString

The bytes for sshKey.