Interface CreateSSHKeyRequestOrBuilder (0.53.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the sshKey field is set.