Class: Google::Apis::AppengineV1beta5::DebugInstanceRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1beta5/classes.rb,
generated/google/apis/appengine_v1beta5/representations.rb,
generated/google/apis/appengine_v1beta5/representations.rb

Overview

Request message for Instances.DebugInstance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DebugInstanceRequest

Returns a new instance of DebugInstanceRequest



1733
1734
1735
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1733

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

Instance Attribute Details

#ssh_keyString

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

Returns:

  • (String)


1731
1732
1733
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1731

def ssh_key
  @ssh_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1738
1739
1740
# File 'generated/google/apis/appengine_v1beta5/classes.rb', line 1738

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