public sealed class AutoscalingConfig : IMessage<AutoscalingConfig>, IEquatable<AutoscalingConfig>, IDeepCloneable<AutoscalingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class AutoscalingConfig.
public RepeatedField<AutoscalingConfig.Types.AsymmetricAutoscalingOption> AsymmetricAutoscalingOptions { get; }
Optional. Optional asymmetric autoscaling options.
Replicas matching the replica selection criteria will be autoscaled
independently from other replicas. The autoscaler will scale the replicas
based on the utilization of replicas identified by the replica selection.
Replica selections should not overlap with each other.
Other replicas (those do not match any replica selection) will be
autoscaled together and will have the same compute capacity allocated to
them.
[[["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-08-28 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eAutoscalingConfig\u003c/code\u003e class within the Google Cloud Spanner Instance Administration v1 API for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingConfig\u003c/code\u003e class is used to configure autoscaling for a Spanner instance, including setting limits and targets for autoscaling.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with several previous versions also documented, allowing users to view past version history, and specific version documentation.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingConfig\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingConfig\u003c/code\u003e class offers properties such as \u003ccode\u003eAsymmetricAutoscalingOptions\u003c/code\u003e, \u003ccode\u003eAutoscalingLimits\u003c/code\u003e, and \u003ccode\u003eAutoscalingTargets\u003c/code\u003e, providing detailed control over autoscaling behavior.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class AutoscalingConfig (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig) \n\n public sealed class AutoscalingConfig : IMessage\u003cAutoscalingConfig\u003e, IEquatable\u003cAutoscalingConfig\u003e, IDeepCloneable\u003cAutoscalingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class AutoscalingConfig.\n\nAutoscaling configuration for an instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e AutoscalingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[AutoscalingConfig](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AutoscalingConfig](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[AutoscalingConfig](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.AutoscalingConfig), [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.Spanner.Admin.Instance.V1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.Admin.Instance.V1.dll\n\nConstructors\n------------\n\n### AutoscalingConfig()\n\n public AutoscalingConfig()\n\n### AutoscalingConfig(AutoscalingConfig)\n\n public AutoscalingConfig(AutoscalingConfig other)\n\nProperties\n----------\n\n### AsymmetricAutoscalingOptions\n\n public RepeatedField\u003cAutoscalingConfig.Types.AsymmetricAutoscalingOption\u003e AsymmetricAutoscalingOptions { get; }\n\nOptional. Optional asymmetric autoscaling options.\nReplicas matching the replica selection criteria will be autoscaled\nindependently from other replicas. The autoscaler will scale the replicas\nbased on the utilization of replicas identified by the replica selection.\nReplica selections should not overlap with each other.\n\nOther replicas (those do not match any replica selection) will be\nautoscaled together and will have the same compute capacity allocated to\nthem.\n\n### AutoscalingLimits\n\n public AutoscalingConfig.Types.AutoscalingLimits AutoscalingLimits { get; set; }\n\nRequired. Autoscaling limits for an instance.\n\n### AutoscalingTargets\n\n public AutoscalingConfig.Types.AutoscalingTargets AutoscalingTargets { get; set; }\n\nRequired. The autoscaling targets for an instance."]]