Class: Google::Apis::CloudshellV1::AddPublicKeyResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1::AddPublicKeyResponse
- 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
-
#key ⇒ String
Key that was added to the environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AddPublicKeyResponse
constructor
A new instance of AddPublicKeyResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#key ⇒ String
Key that was added to the environment.
Corresponds to the JSON property key
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 |