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.



362
363
364
# File 'lib/google/apis/notebooks_v2/classes.rb', line 362

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)


360
361
362
# File 'lib/google/apis/notebooks_v2/classes.rb', line 360

def machine_type
  @machine_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



367
368
369
# File 'lib/google/apis/notebooks_v2/classes.rb', line 367

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