public sealed class AddPublicKeyRequest : IMessage<AddPublicKeyRequest>, IEquatable<AddPublicKeyRequest>, IDeepCloneable<AddPublicKeyRequest>, IBufferMessage, IMessage
Request message for [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
Implements
IMessage<AddPublicKeyRequest>, IEquatable<AddPublicKeyRequest>, IDeepCloneable<AddPublicKeyRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Shell.V1Assembly
Google.Cloud.Shell.V1.dll
Constructors
AddPublicKeyRequest()
public AddPublicKeyRequest()
AddPublicKeyRequest(AddPublicKeyRequest)
public AddPublicKeyRequest(AddPublicKeyRequest other)
Parameter | |
---|---|
Name | Description |
other | AddPublicKeyRequest |
Properties
Environment
public string Environment { get; set; }
Environment this key should be added to, e.g.
users/me/environments/default
.
Property Value | |
---|---|
Type | Description |
String |
Key
public string Key { get; set; }
Key that should be added to the environment. Supported formats are
ssh-dss
(see RFC4253), ssh-rsa
(see RFC4253), ecdsa-sha2-nistp256
(see RFC5656), ecdsa-sha2-nistp384
(see RFC5656) and
ecdsa-sha2-nistp521
(see RFC5656). It should be structured as
<format> <content>, where <content> part is encoded with
Base64.
Property Value | |
---|---|
Type | Description |
String |