Class: Google::Apis::AppengineV1beta::DebugInstanceRequest

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

Overview

Request message for Instances.DebugInstance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DebugInstanceRequest

Returns a new instance of DebugInstanceRequest.



844
845
846
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 844

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)


842
843
844
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 842

def ssh_key
  @ssh_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



849
850
851
# File 'lib/google/apis/appengine_v1beta/classes.rb', line 849

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