Class: Google::Apis::ComputeBeta::AcceleratorTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::AcceleratorTypesScopedList
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#accelerator_types ⇒ Array<Google::Apis::ComputeBeta::AcceleratorType>
[Output Only] A list of accelerator types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning
[Output Only] An informational warning that appears when the accelerator types list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AcceleratorTypesScopedList
constructor
A new instance of AcceleratorTypesScopedList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AcceleratorTypesScopedList
Returns a new instance of AcceleratorTypesScopedList
376 377 378 |
# File 'generated/google/apis/compute_beta/classes.rb', line 376 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_types ⇒ Array<Google::Apis::ComputeBeta::AcceleratorType>
[Output Only] A list of accelerator types contained in this scope.
Corresponds to the JSON property acceleratorTypes
368 369 370 |
# File 'generated/google/apis/compute_beta/classes.rb', line 368 def accelerator_types @accelerator_types end |
#warning ⇒ Google::Apis::ComputeBeta::AcceleratorTypesScopedList::Warning
[Output Only] An informational warning that appears when the accelerator types
list is empty.
Corresponds to the JSON property warning
374 375 376 |
# File 'generated/google/apis/compute_beta/classes.rb', line 374 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
381 382 383 384 |
# File 'generated/google/apis/compute_beta/classes.rb', line 381 def update!(**args) @accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types) @warning = args[:warning] if args.key?(:warning) end |