Interface SSHKeyOrBuilder (0.53.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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for publicKey.