Game Services v1 API - Class GameServerConfig (2.2.0)

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

Reference documentation and code samples for the Game Services v1 API class GameServerConfig.

A game server config resource.

Inheritance

object > GameServerConfig

Namespace

Google.Cloud.Gaming.V1

Assembly

Google.Cloud.Gaming.V1.dll

Constructors

GameServerConfig()

public GameServerConfig()

GameServerConfig(GameServerConfig)

public GameServerConfig(GameServerConfig other)
Parameter
NameDescription
otherGameServerConfig

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The creation time.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

The description of the game server config.

Property Value
TypeDescription
string

FleetConfigs

public RepeatedField<FleetConfig> FleetConfigs { get; }

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

Property Value
TypeDescription
RepeatedFieldFleetConfig

GameServerConfigName

public GameServerConfigName GameServerConfigName { get; set; }

GameServerConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
MapFieldstringstring

Name

public string Name { get; set; }

The resource name of the game server config, in the following form: projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}. For example, projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config.

Property Value
TypeDescription
string

ScalingConfigs

public RepeatedField<ScalingConfig> ScalingConfigs { get; }

The autoscaling settings.

Property Value
TypeDescription
RepeatedFieldScalingConfig

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The last-modified time.

Property Value
TypeDescription
Timestamp