Class: Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest
- Inherits:
-
Object
- Object
- Google::Apis::CloudshellV1alpha1::CreatePublicKeyRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/cloudshell_v1alpha1/classes.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb,
generated/google/apis/cloudshell_v1alpha1/representations.rb
Overview
Request message for CreatePublicKey.
Instance Attribute Summary collapse
-
#key ⇒ Google::Apis::CloudshellV1alpha1::PublicKey
A public SSH key, corresponding to a private SSH key held by the client.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreatePublicKeyRequest
constructor
A new instance of CreatePublicKeyRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreatePublicKeyRequest
Returns a new instance of CreatePublicKeyRequest.
66 67 68 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 66 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key ⇒ Google::Apis::CloudshellV1alpha1::PublicKey
A public SSH key, corresponding to a private SSH key held by the client.
Corresponds to the JSON property key
64 65 66 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 64 def key @key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
71 72 73 |
# File 'generated/google/apis/cloudshell_v1alpha1/classes.rb', line 71 def update!(**args) @key = args[:key] if args.key?(:key) end |