Class: Google::Apis::CloudshellV1::RemovePublicKeyRequest

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

Overview

Request message for RemovePublicKey.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RemovePublicKeyRequest

Returns a new instance of RemovePublicKeyRequest.



391
392
393
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 391

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

Instance Attribute Details

#keyString

Key that should be removed from the environment. Corresponds to the JSON property key

Returns:

  • (String)


389
390
391
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 389

def key
  @key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



396
397
398
# File 'lib/google/apis/cloudshell_v1/classes.rb', line 396

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