class Google::Apis::DataflowV1b3::AutoscalingSettings

Settings for WorkerPool autoscaling.

Attributes

algorithm[RW]

The algorithm to use for autoscaling. Corresponds to the JSON property `algorithm` @return [String]

max_num_workers[RW]

The maximum number of workers to cap scaling at. Corresponds to the JSON property `maxNumWorkers` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 202
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 207
def update!(**args)
  @algorithm = args[:algorithm] if args.key?(:algorithm)
  @max_num_workers = args[:max_num_workers] if args.key?(:max_num_workers)
end