Class: Google::Apis::DataprocV1::AutotuningConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#scenariosArray<String>

Optional. Scenarios for which tunings are applied. Corresponds to the JSON property scenarios

Returns:

  • (Array<String>)


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