Class ImportSshPublicKeyRequest (2.2.0)

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

A request message for importing an SSH public key.

Inheritance

Object > ImportSshPublicKeyRequest

Namespace

Google.Cloud.OsLogin.V1

Assembly

Google.Cloud.OsLogin.V1.dll

Constructors

ImportSshPublicKeyRequest()

public ImportSshPublicKeyRequest()

ImportSshPublicKeyRequest(ImportSshPublicKeyRequest)

public ImportSshPublicKeyRequest(ImportSshPublicKeyRequest other)
Parameter
NameDescription
otherImportSshPublicKeyRequest

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; }

Google.Cloud.OsLogin.Common.UserName-typed view over the Parent resource name property.

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

ProjectId

public string ProjectId { get; set; }

The project ID of the Google Cloud Platform project.

Property Value
TypeDescription
String

SshPublicKey

public SshPublicKey SshPublicKey { get; set; }

Optional. The SSH public key and expiration time.

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