Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * * Only contains 1-63 alphanumeric characters and hyphens * * Begins with an alphabetical character * * Ends with a non-hyphen character * * Not formatted as a UUID * * Complies withRFC 1034(section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.
↳ min_cluster_node_count
int
Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply.
↳ max_cluster_node_count
int
Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply.
Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes).
getAutoscalingPolicies
Required. The map with autoscaling policies applied to the cluster.
The key is the identifier of the policy.
It must meet the following requirements:
Only contains 1-63 alphanumeric characters and hyphens
Begins with an alphabetical character
Ends with a non-hyphen character
Not formatted as a UUID
Complies withRFC
1034(section 3.5)
Currently there map must contain only one element
that describes the autoscaling policy for compute nodes.
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
Returns
Type
Description
int
setMinClusterNodeCount
Optional. Minimum number of nodes of any type in a cluster.
If not specified the default limits apply.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
Returns
Type
Description
int
setMaxClusterNodeCount
Optional. Maximum number of nodes of any type in a cluster.
If not specified the default limits apply.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getCoolDownPeriod
Optional. The minimum duration between consecutive autoscale operations.
It starts once addition or removal of nodes is fully completed.
Defaults to 30 minutes if not specified. Cool down period must be in whole
minutes (for example, 30, 31, 50, 180 minutes).
Optional. The minimum duration between consecutive autoscale operations.
It starts once addition or removal of nodes is fully completed.
Defaults to 30 minutes if not specified. Cool down period must be in whole
minutes (for example, 30, 31, 50, 180 minutes).
[[["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."],[],[],null,["# Google Cloud Vmware Engine V1 Client - Class AutoscalingSettings (1.1.4)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.4 (latest)](/php/docs/reference/cloud-vmware-engine/latest/V1.AutoscalingSettings)\n- [1.1.3](/php/docs/reference/cloud-vmware-engine/1.1.3/V1.AutoscalingSettings)\n- [1.0.0](/php/docs/reference/cloud-vmware-engine/1.0.0/V1.AutoscalingSettings)\n- [0.5.6](/php/docs/reference/cloud-vmware-engine/0.5.6/V1.AutoscalingSettings)\n- [0.4.0](/php/docs/reference/cloud-vmware-engine/0.4.0/V1.AutoscalingSettings)\n- [0.3.3](/php/docs/reference/cloud-vmware-engine/0.3.3/V1.AutoscalingSettings)\n- [0.2.1](/php/docs/reference/cloud-vmware-engine/0.2.1/V1.AutoscalingSettings)\n- [0.1.4](/php/docs/reference/cloud-vmware-engine/0.1.4/V1.AutoscalingSettings) \nReference documentation and code samples for the Google Cloud Vmware Engine V1 Client class AutoscalingSettings.\n\nAutoscaling settings define the rules used by VMware Engine to\nautomatically scale-out and scale-in the clusters in a private cloud.\n\nGenerated from protobuf message `google.cloud.vmwareengine.v1.AutoscalingSettings`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ VmwareEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getAutoscalingPolicies\n\nRequired. The map with autoscaling policies applied to the cluster.\n\nThe key is the identifier of the policy.\nIt must meet the following requirements:\n\n- Only contains 1-63 alphanumeric characters and hyphens\n- Begins with an alphabetical character\n- Ends with a non-hyphen character\n- Not formatted as a UUID\n- Complies with [RFC\n 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.\n\n### setAutoscalingPolicies\n\nRequired. The map with autoscaling policies applied to the cluster.\n\nThe key is the identifier of the policy.\nIt must meet the following requirements:\n\n- Only contains 1-63 alphanumeric characters and hyphens\n- Begins with an alphabetical character\n- Ends with a non-hyphen character\n- Not formatted as a UUID\n- Complies with [RFC\n 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes.\n\n### getMinClusterNodeCount\n\nOptional. Minimum number of nodes of any type in a cluster.\n\nIf not specified the default limits apply.\n\n### setMinClusterNodeCount\n\nOptional. Minimum number of nodes of any type in a cluster.\n\nIf not specified the default limits apply.\n\n### getMaxClusterNodeCount\n\nOptional. Maximum number of nodes of any type in a cluster.\n\nIf not specified the default limits apply.\n\n### setMaxClusterNodeCount\n\nOptional. Maximum number of nodes of any type in a cluster.\n\nIf not specified the default limits apply.\n\n### getCoolDownPeriod\n\nOptional. The minimum duration between consecutive autoscale operations.\n\nIt starts once addition or removal of nodes is fully completed.\nDefaults to 30 minutes if not specified. Cool down period must be in whole\nminutes (for example, 30, 31, 50, 180 minutes).\n\n### hasCoolDownPeriod\n\n### clearCoolDownPeriod\n\n### setCoolDownPeriod\n\nOptional. The minimum duration between consecutive autoscale operations.\n\nIt starts once addition or removal of nodes is fully completed.\nDefaults to 30 minutes if not specified. Cool down period must be in whole\nminutes (for example, 30, 31, 50, 180 minutes)."]]