public sealed class ImportSshPublicKeyRequest : IMessage<ImportSshPublicKeyRequest>, IEquatable<ImportSshPublicKeyRequest>, IDeepCloneable<ImportSshPublicKeyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud OS Login v1 API class ImportSshPublicKeyRequest.
A request message for importing an SSH public key.
Implements
IMessageImportSshPublicKeyRequest, IEquatableImportSshPublicKeyRequest, IDeepCloneableImportSshPublicKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsLogin.V1Assembly
Google.Cloud.OsLogin.V1.dll
Constructors
ImportSshPublicKeyRequest()
public ImportSshPublicKeyRequest()
ImportSshPublicKeyRequest(ImportSshPublicKeyRequest)
public ImportSshPublicKeyRequest(ImportSshPublicKeyRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportSshPublicKeyRequest |
Properties
Parent
public string Parent { get; set; }
Required. The unique ID for the user in format users/{user}
.
Property Value | |
---|---|
Type | Description |
string |
ParentAsUserName
public UserName ParentAsUserName { get; set; }
Property Value | |
---|---|
Type | Description |
UserName |
ProjectId
public string ProjectId { get; set; }
The project ID of the Google Cloud Platform project.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RepeatedFieldstring |
SshPublicKey
public SshPublicKey SshPublicKey { get; set; }
Optional. The SSH public key and expiration time.
Property Value | |
---|---|
Type | Description |
SshPublicKey |