Class AddPublicKeyRequest

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

Request message for [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].

Inheritance

Object > AddPublicKeyRequest

Namespace

Google.Cloud.Shell.V1

Assembly

Google.Cloud.Shell.V1.dll

Constructors

AddPublicKeyRequest()

public AddPublicKeyRequest()

AddPublicKeyRequest(AddPublicKeyRequest)

public AddPublicKeyRequest(AddPublicKeyRequest other)
Parameter
TypeNameDescription
AddPublicKeyRequestother

Properties

Environment

public string Environment { get; set; }

Environment this key should be added to, e.g. users/me/environments/default.

Property Value
TypeDescription
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 &lt;format&gt; &lt;content&gt;, where &lt;content&gt; part is encoded with Base64.

Property Value
TypeDescription
String