Google Cloud Container V1 Client - Class HorizontalPodAutoscaling (2.8.1)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Container V1 Client class HorizontalPodAutoscaling.
Configuration options for the horizontal pod autoscaling feature, which
increases or decreases the number of replica pods a replication controller
has based on the resource usage of the existing pods.
Generated from protobuf messagegoogle.container.v1.HorizontalPodAutoscaling
Namespace
Google \ Cloud \ Container \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ disabled
bool
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
getDisabled
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
When enabled, it ensures that metrics are collected into Stackdriver
Monitoring.
Returns
Type
Description
bool
setDisabled
Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.
When enabled, it ensures that metrics are collected into Stackdriver
Monitoring.
[[["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 2026-03-18 UTC."],[],[]]