Interface CreateSSHKeyRequestOrBuilder (0.34.0)

public interface CreateSSHKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The parent containing the SSH keys.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The parent containing the SSH keys.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

getSshKey()

public abstract SSHKey getSshKey()

Required. The SSH key to register.

.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SSHKey

The sshKey.

getSshKeyId()

public abstract String getSshKeyId()

Required. The ID to use for the key, which will become the final component of the key's resource name.

This value must match the regex: [a-zA-Z0-9@.\-_]{1,64}

string ssh_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The sshKeyId.

getSshKeyIdBytes()

public abstract ByteString getSshKeyIdBytes()

Required. The ID to use for the key, which will become the final component of the key's resource name.

This value must match the regex: [a-zA-Z0-9@.\-_]{1,64}

string ssh_key_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for sshKeyId.

getSshKeyOrBuilder()

public abstract SSHKeyOrBuilder getSshKeyOrBuilder()

Required. The SSH key to register.

.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SSHKeyOrBuilder

hasSshKey()

public abstract boolean hasSshKey()

Required. The SSH key to register.

.google.cloud.baremetalsolution.v2.SSHKey ssh_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the sshKey field is set.