Class: Google::Apis::AppengineV1::DebugInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::AppengineV1::DebugInstanceRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb
Overview
Request message for Instances.DebugInstance.
Instance Attribute Summary collapse
-
#ssh_key ⇒ String
Public SSH key to add to the instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DebugInstanceRequest
constructor
A new instance of DebugInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DebugInstanceRequest
Returns a new instance of DebugInstanceRequest
645 646 647 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 645 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ssh_key ⇒ String
Public SSH key to add to the instance. Examples:
[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]
[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh "userName":"[USERNAME]","expireOn":"
[EXPIRE_TIME]"
For more information, see Adding and Removing SSH Keys (https://
cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
Corresponds to the JSON property sshKey
643 644 645 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 643 def ssh_key @ssh_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
650 651 652 |
# File 'generated/google/apis/appengine_v1/classes.rb', line 650 def update!(**args) @ssh_key = args[:ssh_key] if args.key?(:ssh_key) end |