# Game Services v1 API - Class TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler (2.2.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.2.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler)

    public sealed class TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler : IMessage<TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler>, IEquatable<TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler>, IDeepCloneable<TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler>, IBufferMessage, IMessage

Reference documentation and code samples for the Game Services v1 API class TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler.

Target Agones autoscaler policy reference.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TargetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types)[TargetFleetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types)[TargetFleetAutoscaler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TargetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types)[TargetFleetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types)[TargetFleetAutoscaler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TargetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types)[TargetFleetDetails](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types)[TargetFleetAutoscaler](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler), [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.Gaming.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)

## Assembly

Google.Cloud.Gaming.V1.dll

## Constructors

### TargetFleetAutoscaler()

    public TargetFleetAutoscaler()

### TargetFleetAutoscaler(TargetFleetAutoscaler)

    public TargetFleetAutoscaler(TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetailshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.TargetDetails.Types.TargetFleetDetails.Types.TargetFleetAutoscaler` |

## Properties

### Name

    public string Name { get; set; }

The name of the Agones autoscaler.

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

### SpecSource

    public SpecSource SpecSource { get; set; }

Encapsulates the source of the Agones fleet spec.
Details about the Agones autoscaler spec.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.SpecSource` |   |