Interface DebugInstanceRequestOrBuilder (2.59.0)

publicinterface DebugInstanceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

publicabstractStringgetName()

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

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

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

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getSshKey()

publicabstractStringgetSshKey()

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
Type Description
String

The sshKey.

getSshKeyBytes()

publicabstractByteStringgetSshKeyBytes()

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
Type Description
ByteString

The bytes for sshKey.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.