Class: Google::Apis::CloudshellV1::AddPublicKeyResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudshell_v1/classes.rb,
generated/google/apis/cloudshell_v1/representations.rb,
generated/google/apis/cloudshell_v1/representations.rb

Overview

Response message for AddPublicKey.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddPublicKeyResponse

Returns a new instance of AddPublicKeyResponse.



70
71
72
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 70

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#keyString

Key that was added to the environment. Corresponds to the JSON property key

Returns:

  • (String)


68
69
70
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 68

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



75
76
77
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 75

def update!(**args)
  @key = args[:key] if args.key?(:key)
end