# Google Cloud for Games v1beta API - Class GameServerConfig (2.0.0-beta03)

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

- [2.0.0-beta03 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.GameServerConfig)
- [2.0.0-beta02](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/2.0.0-beta02/Google.Cloud.Gaming.V1Beta.GameServerConfig)
- [1.0.0-beta09](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/1.0.0-beta09/Google.Cloud.Gaming.V1Beta.GameServerConfig)

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

Reference documentation and code samples for the Google Cloud for Games v1beta API class GameServerConfig.

A game server config resource.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Gaming.V1Beta.dll

## Constructors

### GameServerConfig()

    public GameServerConfig()

### GameServerConfig(GameServerConfig)

    public GameServerConfig(GameServerConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.GameServerConfig` |

## Properties

### CreateTime

    public Timestamp CreateTime { get; set; }

Output only. The creation time.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### Description

    public string Description { get; set; }

The description of the game server config.

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

### FleetConfigs

    public RepeatedField<FleetConfig> FleetConfigs { get; }

FleetConfig contains a list of Agones fleet specs. Only one FleetConfig
is allowed.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.FleetConfig` |   |

### GameServerConfigName

    public GameServerConfigName GameServerConfigName { get; set; }

[GameServerConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.GameServerConfigName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.GameServerConfig#Google_Cloud_Gaming_V1Beta_GameServerConfig_Name) resource name property.

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

### Labels

    public MapField<string, string> Labels { get; }

The labels associated with this game server config. Each label is a
key-value pair.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### Name

    public string Name { get; set; }

The resource name of the game server config. Uses the form:

`projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
For example,

`projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.

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

### ScalingConfigs

    public RepeatedField<ScalingConfig> ScalingConfigs { get; }

The autoscaling settings.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Gaming.V1Beta/latest/Google.Cloud.Gaming.V1Beta.ScalingConfig` |   |

### UpdateTime

    public Timestamp UpdateTime { get; set; }

Output only. The last-modified time.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |