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.
Implements
IMessageImportSshPublicKeyRequest, IEquatableImportSshPublicKeyRequest, IDeepCloneableImportSshPublicKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsLogin.V1BetaAssembly
Google.Cloud.OsLogin.V1Beta.dll
Constructors
ImportSshPublicKeyRequest()
public ImportSshPublicKeyRequest()
ImportSshPublicKeyRequest(ImportSshPublicKeyRequest)
public ImportSshPublicKeyRequest(ImportSshPublicKeyRequest other)
Parameter | |
---|---|
Name | Description |
other | ImportSshPublicKeyRequest |
Properties
Parent
public string Parent { get; set; }
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; }
Required. The SSH public key and expiration time.
Property Value | |
---|---|
Type | Description |
SshPublicKey |
View
public LoginProfileView View { get; set; }
The view configures whether to retrieve security keys information.
Property Value | |
---|---|
Type | Description |
LoginProfileView |