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.



799
800
801
# File 'lib/google/apis/dataproc_v1/classes.rb', line 799

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>)


797
798
799
# File 'lib/google/apis/dataproc_v1/classes.rb', line 797

def scenarios
  @scenarios
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



804
805
806
# File 'lib/google/apis/dataproc_v1/classes.rb', line 804

def update!(**args)
  @scenarios = args[:scenarios] if args.key?(:scenarios)
end