# Class AutoscalingSettings (0.14.0)

0.14.0 (latest) 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.17 0.7.0 0.6.2 0.5.5 0.4.1 0.3.1 0.2.0 0.1.5

    AutoscalingSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Settings for WorkerPool autoscaling.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `algorithm` | `https://docs.cloud.google.com/python/docs/reference/dataflow/latest/google.cloud.dataflow_v1beta3.types.AutoscalingAlgorithm` The algorithm to use for autoscaling. |
| `max_num_workers` | `int` The maximum number of workers to cap scaling at. |