class Google::Apis::CloudshellV1::AddPublicKeyRequest

Request message for AddPublicKey.

Attributes

key[RW]

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. Corresponds to the JSON property `key` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudshell_v1/classes.rb, line 52
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudshell_v1/classes.rb, line 57
def update!(**args)
  @key = args[:key] if args.key?(:key)
end