public sealed class ScalingConfig : IMessage<ScalingConfig>, IEquatable<ScalingConfig>, IDeepCloneable<ScalingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud for Games v1beta API class ScalingConfig.
Autoscaling config for an Agones fleet.
Implements
IMessageScalingConfig, IEquatableScalingConfig, IDeepCloneableScalingConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Gaming.V1BetaAssembly
Google.Cloud.Gaming.V1Beta.dll
Constructors
ScalingConfig()
public ScalingConfig()
ScalingConfig(ScalingConfig)
public ScalingConfig(ScalingConfig other)
Parameter | |
---|---|
Name | Description |
other | ScalingConfig |
Properties
FleetAutoscalerSpec
public string FleetAutoscalerSpec { get; set; }
Required. Agones fleet autoscaler spec. Example spec: https://agones.dev/site/docs/reference/fleetautoscaler/
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Required. The name of the Scaling Config
Property Value | |
---|---|
Type | Description |
string |
Schedules
public RepeatedField<Schedule> Schedules { get; }
The schedules to which this Scaling Config applies.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSchedule |
Selectors
public RepeatedField<LabelSelector> Selectors { get; }
Labels used to identify the game server clusters to which this Agones scaling config applies. A game server cluster is subject to this Agones scaling config if its labels match any of the selector entries.
Property Value | |
---|---|
Type | Description |
RepeatedFieldLabelSelector |