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.



385
386
387
# File 'lib/google/apis/notebooks_v2/classes.rb', line 385

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)


383
384
385
# File 'lib/google/apis/notebooks_v2/classes.rb', line 383

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



390
391
392
# File 'lib/google/apis/notebooks_v2/classes.rb', line 390

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