public sealed class CreateSshPublicKeyRequest : IMessage<CreateSshPublicKeyRequest>, IEquatable<CreateSshPublicKeyRequest>, IDeepCloneable<CreateSshPublicKeyRequest>, IBufferMessage, IMessageReference documentation and code samples for the Google Cloud OS Login v1beta API class CreateSshPublicKeyRequest.
A request message for creating an SSH public key.
Implements
IMessageCreateSshPublicKeyRequest, IEquatableCreateSshPublicKeyRequest, IDeepCloneableCreateSshPublicKeyRequest, IBufferMessage, IMessageNamespace
Google.Cloud.OsLogin.V1BetaAssembly
Google.Cloud.OsLogin.V1Beta.dll
Constructors
CreateSshPublicKeyRequest()
public CreateSshPublicKeyRequest()CreateSshPublicKeyRequest(CreateSshPublicKeyRequest)
public CreateSshPublicKeyRequest(CreateSshPublicKeyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateSshPublicKeyRequest |
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 |
|
SshPublicKey
public SshPublicKey SshPublicKey { get; set; }Required. The SSH public key and expiration time.
| Property Value | |
|---|---|
| Type | Description |
SshPublicKey |
|