Google Cloud Container V1 Client - Class VerticalPodAutoscaling (1.23.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class VerticalPodAutoscaling.

VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.

Generated from protobuf message google.container.v1.VerticalPodAutoscaling

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ enabled bool

Enables vertical pod autoscaling.

getEnabled

Enables vertical pod autoscaling.

Returns
TypeDescription
bool

setEnabled

Enables vertical pod autoscaling.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this