public sealed class AutoscalingPolicyScaleInControl : IMessage<AutoscalingPolicyScaleInControl>, IEquatable<AutoscalingPolicyScaleInControl>, IDeepCloneable<AutoscalingPolicyScaleInControl>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AutoscalingPolicyScaleInControl.
Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below.
public FixedOrPercent MaxScaledInReplicas { get; set; }
Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe content provides reference documentation for the \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class within the Google Cloud Compute Engine v1 API, detailing its purpose in managing the throttling of scale-in operations for managed instance groups (MIGs).\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e is 3.6.0, and the page lists available versions from 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e allows for configuring a slower scale-in process, which manages how quickly a MIG reduces its size, preventing abrupt reductions as recommended by the autoscaler.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class contains properties such as \u003ccode\u003eMaxScaledInReplicas\u003c/code\u003e, which defines the maximum number or percentage of VMs that can be removed, and \u003ccode\u003eTimeWindowSec\u003c/code\u003e, which specifies the look-back window for scale-in recommendations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingPolicyScaleInControl\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"]]],[],null,[]]