Interface UpdateSshPublicKeyRequestOrBuilder (2.40.0)

public interface UpdateSshPublicKeyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256 fingerprint. The fingerprint of the public key is in format users/{user}/sshPublicKeys/{fingerprint}.

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

Returns
TypeDescription
ByteString

The bytes for name.

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

getUpdateMask()

public abstract FieldMask getUpdateMask()

Mask to control which fields get updated. Updates all if not present.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Mask to control which fields get updated. Updates all if not present.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

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.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Mask to control which fields get updated. Updates all if not present.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.