Class: Google::Apis::CloudshellV1::RemovePublicKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1::RemovePublicKeyRequest
- 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
Request message for RemovePublicKey.
Instance Attribute Summary collapse
-
#key ⇒ String
Key that should be removed from the environment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RemovePublicKeyRequest
constructor
A new instance of RemovePublicKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RemovePublicKeyRequest
Returns a new instance of RemovePublicKeyRequest.
390 391 392 |
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 390 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ String
Key that should be removed from the environment.
Corresponds to the JSON property key
388 389 390 |
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 388 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
395 396 397 |
# File 'generated/google/apis/cloudshell_v1/classes.rb', line 395 def update!(**args) @key = args[:key] if args.key?(:key) end |