int
The maximum number of nodes that the group
should have. Must be set if autoscaling is
enabled. Maximum value allowed is 100.
This field is a member of oneof_ _max_nodes.
min_nodes
int
The minimum number of nodes that the group
should have.
This field is a member of oneof_ _min_nodes.
mode
str
The autoscaling mode. Set to one of: ON, OFF, or
ONLY_SCALE_OUT. For more information, see Autoscaler modes.
Check the Mode enum for the list of possible values.
This field is a member of oneof_ _mode.
Classes
Mode
Mode(value)
The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For
more information, see Autoscaler modes.
[[["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-28 UTC."],[],[],null,["# Class NodeGroupAutoscalingPolicy (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.NodeGroupAutoscalingPolicy)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.NodeGroupAutoscalingPolicy) \n\n NodeGroupAutoscalingPolicy(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### Mode\n\n Mode(value)\n\nThe autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For\nmore information, see Autoscaler modes."]]