Reference documentation and code samples for the Compute Engine v1 API enum AutoscalingPolicy.Types.Mode.
Defines the operating mode for this policy. The following modes are available: - OFF: Disables the autoscaler but maintains its configuration. - ONLY_SCALE_OUT: Restricts the autoscaler to add VM instances only. - ON: Enables all autoscaler activities according to its policy. For more information, see "Turning off or restricting an autoscaler"
[[["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\u003eThis page provides version-specific documentation for the \u003ccode\u003eAutoscalingPolicy.Types.Mode\u003c/code\u003e enum within the Google Cloud Compute Engine v1 API, with versions ranging from 1.0.0 to the latest version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAutoscalingPolicy.Types.Mode\u003c/code\u003e enum defines how autoscaling policies operate, with options including \u003ccode\u003eOff\u003c/code\u003e (disabled), \u003ccode\u003eOn\u003c/code\u003e (fully enabled), and \u003ccode\u003eOnlyScaleOut\u003c/code\u003e or \u003ccode\u003eOnlyUp\u003c/code\u003e (only adding instances).\u003c/p\u003e\n"],["\u003cp\u003eThe most current version available is \u003ccode\u003e3.6.0\u003c/code\u003e, but the displayed specific documentation is for \u003ccode\u003e3.5.0\u003c/code\u003e, and includes a list of older versions for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOff\u003c/code\u003e mode is used to disable autoscaling, the \u003ccode\u003eOn\u003c/code\u003e mode enables full scaling, and the \u003ccode\u003eOnlyScaleOut\u003c/code\u003e or \u003ccode\u003eOnlyUp\u003c/code\u003e modes only allows for scaling out.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUndefinedMode\u003c/code\u003e is used when the enum field is not set.\u003c/p\u003e\n"]]],[],null,[]]