Class: Google::Apis::NotebooksV2::SupportedValues

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

SupportedValues represents the values supported by the configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SupportedValues

Returns a new instance of SupportedValues.



1498
1499
1500
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1498

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

Instance Attribute Details

#accelerator_typesArray<String>

Output only. The accelerator types supported by WbI. Corresponds to the JSON property acceleratorTypes

Returns:

  • (Array<String>)


1491
1492
1493
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1491

def accelerator_types
  @accelerator_types
end

#machine_typesArray<String>

Output only. The machine types supported by WbI. Corresponds to the JSON property machineTypes

Returns:

  • (Array<String>)


1496
1497
1498
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1496

def machine_types
  @machine_types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1503
1504
1505
1506
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1503

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