Interface ImportSshPublicKeyRequestOrBuilder (2.30.0)

public interface ImportSshPublicKeyRequestOrBuilder 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.

getProjectId()

public abstract String getProjectId()

The project ID of the Google Cloud Platform project.

string project_id = 3;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

The project ID of the Google Cloud Platform project.

string project_id = 3;

Returns
TypeDescription
ByteString

The bytes for projectId.

getSshPublicKey()

public abstract OsLoginProto.SshPublicKey getSshPublicKey()

Optional. The SSH public key and expiration time.

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

Returns
TypeDescription
OsLoginProto.SshPublicKey

The sshPublicKey.

getSshPublicKeyOrBuilder()

public abstract OsLoginProto.SshPublicKeyOrBuilder getSshPublicKeyOrBuilder()

Optional. The SSH public key and expiration time.

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

Returns
TypeDescription
OsLoginProto.SshPublicKeyOrBuilder

hasSshPublicKey()

public abstract boolean hasSshPublicKey()

Optional. The SSH public key and expiration time.

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

Returns
TypeDescription
boolean

Whether the sshPublicKey field is set.