Google Cloud OS Login v1 API - Class CreateSshPublicKeyRequest (3.2.0)

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

Reference documentation and code samples for the Google Cloud OS Login v1 API class CreateSshPublicKeyRequest.

A request message for creating an SSH public key.

Inheritance

object > CreateSshPublicKeyRequest

Namespace

Google.Cloud.OsLogin.V1

Assembly

Google.Cloud.OsLogin.V1.dll

Constructors

CreateSshPublicKeyRequest()

public CreateSshPublicKeyRequest()

CreateSshPublicKeyRequest(CreateSshPublicKeyRequest)

public CreateSshPublicKeyRequest(CreateSshPublicKeyRequest other)
Parameter
NameDescription
otherCreateSshPublicKeyRequest

Properties

Parent

public string Parent { get; set; }

Required. The unique ID for the user in format users/{user}.

Property Value
TypeDescription
string

ParentAsUserName

public UserName ParentAsUserName { get; set; }

UserName-typed view over the Parent resource name property.

Property Value
TypeDescription
UserName

SshPublicKey

public SshPublicKey SshPublicKey { get; set; }

Required. The SSH public key and expiration time.

Property Value
TypeDescription
SshPublicKey