Class: Google::Apis::DataprocV1::AutotuningConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::AutotuningConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Autotuning configuration of the workload.
Instance Attribute Summary collapse
-
#scenarios ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutotuningConfig
constructor
A new instance of AutotuningConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutotuningConfig
Returns a new instance of AutotuningConfig.
763 764 765 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 763 def initialize(**args) update!(**args) end |
Instance Attribute Details
#scenarios ⇒ Array<String>
Optional. Scenarios for which tunings are applied.
Corresponds to the JSON property scenarios
761 762 763 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 761 def scenarios @scenarios end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
768 769 770 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 768 def update!(**args) @scenarios = args[:scenarios] if args.key?(:scenarios) end |