Class UpdateSshPublicKeyRequest (2.3.0)

public sealed class UpdateSshPublicKeyRequest : IMessage<UpdateSshPublicKeyRequest>, IEquatable<UpdateSshPublicKeyRequest>, IDeepCloneable<UpdateSshPublicKeyRequest>, IBufferMessage, IMessage

A request message for updating an SSH public key.

Inheritance

Object > UpdateSshPublicKeyRequest

Namespace

Google.Cloud.OsLogin.V1

Assembly

Google.Cloud.OsLogin.V1.dll

Constructors

UpdateSshPublicKeyRequest()

public UpdateSshPublicKeyRequest()

UpdateSshPublicKeyRequest(UpdateSshPublicKeyRequest)

public UpdateSshPublicKeyRequest(UpdateSshPublicKeyRequest other)
Parameter
NameDescription
otherUpdateSshPublicKeyRequest

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
TypeDescription
String

SshPublicKey

public SshPublicKey SshPublicKey { get; set; }

Required. The SSH public key and expiration time.

Property Value
TypeDescription
SshPublicKey

SshPublicKeyName

public SshPublicKeyName SshPublicKeyName { get; set; }

SshPublicKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
SshPublicKeyName

UpdateMask

public FieldMask UpdateMask { get; set; }

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

Property Value
TypeDescription
FieldMask