public sealed class UpdateSshPublicKeyRequest : IMessage<UpdateSshPublicKeyRequest>, IEquatable<UpdateSshPublicKeyRequest>, IDeepCloneable<UpdateSshPublicKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Login v1 API class UpdateSshPublicKeyRequest.
A request message for updating an SSH public key.
Implements
IMessageUpdateSshPublicKeyRequest, IEquatableUpdateSshPublicKeyRequest, IDeepCloneableUpdateSshPublicKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsLogin.V1Assembly
Google.Cloud.OsLogin.V1.dll
Constructors
UpdateSshPublicKeyRequest()
public UpdateSshPublicKeyRequest()
UpdateSshPublicKeyRequest(UpdateSshPublicKeyRequest)
public UpdateSshPublicKeyRequest(UpdateSshPublicKeyRequest other)
Parameter | |
---|---|
Name | Description |
other |
UpdateSshPublicKeyRequest |
Properties
Name
public string Name { get; set; }
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}
.
Property Value | |
---|---|
Type | Description |
string |
SshPublicKey
public SshPublicKey SshPublicKey { get; set; }
Required. The SSH public key and expiration time.
Property Value | |
---|---|
Type | Description |
SshPublicKey |
SshPublicKeyName
public SshPublicKeyName SshPublicKeyName { get; set; }
SshPublicKeyName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
SshPublicKeyName |
UpdateMask
public FieldMask UpdateMask { get; set; }
Mask to control which fields get updated. Updates all if not present.
Property Value | |
---|---|
Type | Description |
FieldMask |