Class UpdateSshPublicKeyRequest (2.2.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
Google.Cloud.OsLogin.Common.SshPublicKey

SshPublicKeyName

public SshPublicKeyName SshPublicKeyName { get; set; }

Google.Cloud.OsLogin.Common.SshPublicKeyName-typed view over the Name resource name property.

Property Value
TypeDescription
Google.Cloud.OsLogin.Common.SshPublicKeyName

UpdateMask

public FieldMask UpdateMask { get; set; }

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

Property Value
TypeDescription
FieldMask