Package com.google.cloud.oslogin.v1
Interface UpdateSshPublicKeyRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateSshPublicKeyRequest
,UpdateSshPublicKeyRequest.Builder
public interface UpdateSshPublicKeyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.OsLoginProto.SshPublicKey
getSshPublicKey()
Required.OsLoginProto.SshPublicKeyOrBuilder
getSshPublicKeyOrBuilder()
Required.com.google.protobuf.FieldMask
getUpdateMask()
Mask to control which fields get updated.com.google.protobuf.FieldMaskOrBuilder
getUpdateMaskOrBuilder()
Mask to control which fields get updated.boolean
hasSshPublicKey()
Required.boolean
hasUpdateMask()
Mask to control which fields get updated.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasSshPublicKey
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:
- Whether the sshPublicKey field is set.
-
getSshPublicKey
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:
- The sshPublicKey.
-
getSshPublicKeyOrBuilder
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];
-
hasUpdateMask
boolean hasUpdateMask()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- Whether the updateMask field is set.
-
getUpdateMask
com.google.protobuf.FieldMask getUpdateMask()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
- Returns:
- The updateMask.
-
getUpdateMaskOrBuilder
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
Mask to control which fields get updated. Updates all if not present.
.google.protobuf.FieldMask update_mask = 3;
-
-