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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eScalingConfig\u003c/code\u003e class, part of the Google Cloud Game Services v1 API, is used for configuring autoscaling for Agones fleets.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eScalingConfig\u003c/code\u003e is 2.2.0, with several prior versions available, including 2.1.0, 2.0.0, 1.4.0, 1.3.0, 1.2.0, and 1.1.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eScalingConfig\u003c/code\u003e implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<ScalingConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<ScalingConfig>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, along with inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eScalingConfig\u003c/code\u003e class has properties for \u003ccode\u003eFleetAutoscalerSpec\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eSchedules\u003c/code\u003e, and \u003ccode\u003eSelectors\u003c/code\u003e, which are essential for defining how the autoscaling works.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers two constructors: a parameterless constructor \u003ccode\u003eScalingConfig()\u003c/code\u003e and a constructor that takes another \u003ccode\u003eScalingConfig\u003c/code\u003e object as a parameter to be copied.\u003c/p\u003e\n"]]],[],null,["# Game Services v1 API - Class ScalingConfig (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ScalingConfig)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.1.0/Google.Cloud.Gaming.V1.ScalingConfig)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/2.0.0/Google.Cloud.Gaming.V1.ScalingConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.4.0/Google.Cloud.Gaming.V1.ScalingConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.3.0/Google.Cloud.Gaming.V1.ScalingConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.2.0/Google.Cloud.Gaming.V1.ScalingConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Gaming.V1/1.1.0/Google.Cloud.Gaming.V1.ScalingConfig) \n\n public sealed class ScalingConfig : IMessage\u003cScalingConfig\u003e, IEquatable\u003cScalingConfig\u003e, IDeepCloneable\u003cScalingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Game Services v1 API class ScalingConfig.\n\nAutoscaling config for an Agones fleet. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ScalingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ScalingConfig](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ScalingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ScalingConfig](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ScalingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ScalingConfig](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1.ScalingConfig), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Gaming.V1](/dotnet/docs/reference/Google.Cloud.Gaming.V1/latest/Google.Cloud.Gaming.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Gaming.V1.dll\n\nConstructors\n------------\n\n### ScalingConfig()\n\n public ScalingConfig()\n\n### ScalingConfig(ScalingConfig)\n\n public ScalingConfig(ScalingConfig other)\n\nProperties\n----------\n\n### FleetAutoscalerSpec\n\n public string FleetAutoscalerSpec { get; set; }\n\nRequired. Agones fleet autoscaler spec. Example spec:\n\u003chttps://agones.dev/site/docs/reference/fleetautoscaler/\u003e\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the Scaling Config\n\n### Schedules\n\n public RepeatedField\u003cSchedule\u003e Schedules { get; }\n\nThe schedules to which this Scaling Config applies.\n\n### Selectors\n\n public RepeatedField\u003cLabelSelector\u003e Selectors { get; }\n\nLabels used to identify the game server clusters to which this Agones\nscaling config applies. A game server cluster is subject to this Agones\nscaling config if its labels match any of the selector entries."]]