Class: Google::Apis::NotebooksV2::DefaultValues

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

Overview

DefaultValues represents the default configuration values.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DefaultValues

Returns a new instance of DefaultValues.



337
338
339
# File 'lib/google/apis/notebooks_v2/classes.rb', line 337

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

Instance Attribute Details

#machine_typeString

Output only. The default machine type used by the backend if not provided by the user. Corresponds to the JSON property machineType

Returns:

  • (String)


335
336
337
# File 'lib/google/apis/notebooks_v2/classes.rb', line 335

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



342
343
344
# File 'lib/google/apis/notebooks_v2/classes.rb', line 342

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