Google Cloud Dataflow V1beta3 Client - Class AutoscalingSettings (0.5.1)

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class AutoscalingSettings.

Settings for WorkerPool autoscaling.

Generated from protobuf message google.dataflow.v1beta3.AutoscalingSettings

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ algorithm int

The algorithm to use for autoscaling.

↳ max_num_workers int

The maximum number of workers to cap scaling at.

getAlgorithm

The algorithm to use for autoscaling.

Returns
TypeDescription
int

setAlgorithm

The algorithm to use for autoscaling.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMaxNumWorkers

The maximum number of workers to cap scaling at.

Returns
TypeDescription
int

setMaxNumWorkers

The maximum number of workers to cap scaling at.

Parameter
NameDescription
var int
Returns
TypeDescription
$this