Class: Google::Apis::NotebooksV2::SupportedValues
- Inherits:
-
Object
- Object
- Google::Apis::NotebooksV2::SupportedValues
- 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
-
#accelerator_types ⇒ Array<String>
Output only.
-
#machine_types ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SupportedValues
constructor
A new instance of SupportedValues.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SupportedValues
Returns a new instance of SupportedValues.
1600 1601 1602 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1600 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_types ⇒ Array<String>
Output only. The accelerator types supported by WbI.
Corresponds to the JSON property acceleratorTypes
1593 1594 1595 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1593 def accelerator_types @accelerator_types end |
#machine_types ⇒ Array<String>
Output only. The machine types supported by WbI.
Corresponds to the JSON property machineTypes
1598 1599 1600 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1598 def machine_types @machine_types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1605 1606 1607 1608 |
# File 'lib/google/apis/notebooks_v2/classes.rb', line 1605 def update!(**args) @accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types) @machine_types = args[:machine_types] if args.key?(:machine_types) end |