# Dataflow v1beta3 API - Class AutoscalingSettings (2.0.0-beta10)

2.0.0-beta10 (latest) 2.0.0-beta09 1.0.0-beta03

    public sealed class AutoscalingSettings : IMessage<AutoscalingSettings>, IEquatable<AutoscalingSettings>, IDeepCloneable<AutoscalingSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Dataflow v1beta3 API class AutoscalingSettings.

Settings for WorkerPool autoscaling.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> AutoscalingSettings

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AutoscalingSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.AutoscalingSettings), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AutoscalingSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.AutoscalingSettings), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AutoscalingSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.AutoscalingSettings), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Dataflow.V1Beta3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3)

## Assembly

Google.Cloud.Dataflow.V1Beta3.dll

## Constructors

### AutoscalingSettings()

    public AutoscalingSettings()

### AutoscalingSettings(AutoscalingSettings)

    public AutoscalingSettings(AutoscalingSettings other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.AutoscalingSettings` |

## Properties

### Algorithm

    public AutoscalingAlgorithm Algorithm { get; set; }

The algorithm to use for autoscaling.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Dataflow.V1Beta3/latest/Google.Cloud.Dataflow.V1Beta3.AutoscalingAlgorithm` |   |

### MaxNumWorkers

    public int MaxNumWorkers { get; set; }

The maximum number of workers to cap scaling at.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.int32` |   |