Reference documentation and code samples for the Google Cloud Container V1 Client class PodAutoscaling.
PodAutoscaling is used for configuration of parameters for workload autoscaling.
Generated from protobuf message google.container.v1.PodAutoscaling
Namespace
Google \ Cloud \ Container \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ hpa_profile |
int
Selected Horizontal Pod Autoscaling profile. |
getHpaProfile
Selected Horizontal Pod Autoscaling profile.
Returns | |
---|---|
Type | Description |
int |
hasHpaProfile
clearHpaProfile
setHpaProfile
Selected Horizontal Pod Autoscaling profile.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |