Class: Google::Apis::NotebooksV1::UpgradeInstanceRequest

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

Overview

Request for upgrading a notebook instance

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpgradeInstanceRequest

Returns a new instance of UpgradeInstanceRequest.



3049
3050
3051
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3049

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

Instance Attribute Details

#typeString

Optional. The optional UpgradeType. Setting this field will search for additional compute images to upgrade this instance. Corresponds to the JSON property type

Returns:

  • (String)


3047
3048
3049
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3047

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3054
3055
3056
# File 'lib/google/apis/notebooks_v1/classes.rb', line 3054

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