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.
247 248 249 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 247 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
245 246 247 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 245 def scenarios @scenarios end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
252 253 254 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 252 def update!(**args) @scenarios = args[:scenarios] if args.key?(:scenarios) end |