Class: Google::Apis::DatafusionV1::Accelerator
- Inherits:
-
Object
- Object
- Google::Apis::DatafusionV1::Accelerator
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datafusion_v1/classes.rb,
lib/google/apis/datafusion_v1/representations.rb,
lib/google/apis/datafusion_v1/representations.rb
Overview
Identifies Data Fusion accelerators for an instance.
Instance Attribute Summary collapse
-
#accelerator_type ⇒ String
Optional.
-
#state ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Accelerator
constructor
A new instance of Accelerator.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Accelerator
Returns a new instance of Accelerator.
39 40 41 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 39 def initialize(**args) update!(**args) end |
Instance Attribute Details
#accelerator_type ⇒ String
Optional. The type of an accelator for a Cloud Data Fusion instance.
Corresponds to the JSON property acceleratorType
32 33 34 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 32 def accelerator_type @accelerator_type end |
#state ⇒ String
Output only. The state of the accelerator.
Corresponds to the JSON property state
37 38 39 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 37 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
44 45 46 47 |
# File 'lib/google/apis/datafusion_v1/classes.rb', line 44 def update!(**args) @accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type) @state = args[:state] if args.key?(:state) end |