Google Cloud OS Login v1beta API - Class UpdateSshPublicKeyRequest (3.0.0-beta08)

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

Reference documentation and code samples for the Google Cloud OS Login v1beta API class UpdateSshPublicKeyRequest.

A request message for updating an SSH public key.

Inheritance

object > UpdateSshPublicKeyRequest

Namespace

Google.Cloud.OsLogin.V1Beta

Assembly

Google.Cloud.OsLogin.V1Beta.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