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

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

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

A request message for importing an SSH public key.

Inheritance

object > ImportSshPublicKeyRequest

Namespace

Google.Cloud.OsLogin.V1Beta

Assembly

Google.Cloud.OsLogin.V1Beta.dll

Constructors

ImportSshPublicKeyRequest()

public ImportSshPublicKeyRequest()

ImportSshPublicKeyRequest(ImportSshPublicKeyRequest)

public ImportSshPublicKeyRequest(ImportSshPublicKeyRequest other)
Parameter
NameDescription
otherImportSshPublicKeyRequest

Properties

Parent

public string Parent { get; set; }

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

ProjectId

public string ProjectId { get; set; }

The project ID of the Google Cloud Platform project.

Property Value
TypeDescription
string

Regions

public RepeatedField<string> Regions { get; }

Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region.

Property Value
TypeDescription
RepeatedFieldstring

SshPublicKey

public SshPublicKey SshPublicKey { get; set; }

Required. The SSH public key and expiration time.

Property Value
TypeDescription
SshPublicKey

View

public LoginProfileView View { get; set; }

The view configures whether to retrieve security keys information.

Property Value
TypeDescription
LoginProfileView