Interface SSHKeyOrBuilder (0.37.0)

public interface SSHKeyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of this SSH key. Currently, the only valid value for the location is "global".

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for name.

getPublicKey()

public abstract String getPublicKey()

The public SSH key. This must be in OpenSSH .authorized_keys format.

string public_key = 2;

Returns
TypeDescription
String

The publicKey.

getPublicKeyBytes()

public abstract ByteString getPublicKeyBytes()

The public SSH key. This must be in OpenSSH .authorized_keys format.

string public_key = 2;

Returns
TypeDescription
ByteString

The bytes for publicKey.