Interface CreateSshPublicKeyRequestOrBuilder (2.7.0)

public interface CreateSshPublicKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The unique ID for the user in format users/{user}.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The unique ID for the user in format users/{user}.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSshPublicKey()

public abstract OsLoginProto.SshPublicKey getSshPublicKey()

Required. The SSH public key and expiration time.

.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OsLoginProto.SshPublicKey

The sshPublicKey.

getSshPublicKeyOrBuilder()

public abstract OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()

Required. The SSH public key and expiration time.

.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OsLoginProto.SshPublicKeyOrBuilder

hasSshPublicKey()

public abstract boolean hasSshPublicKey()

Required. The SSH public key and expiration time.

.google.cloud.oslogin.common.SshPublicKey ssh_public_key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the sshPublicKey field is set.