Google Cloud Container V1 Client - Class MaxPodsConstraint (1.9.1)

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

Constraints applied to pods.

Generated from protobuf message google.container.v1.MaxPodsConstraint

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ max_pods_per_node int|string

Constraint enforced on the max num of pods per node.

getMaxPodsPerNode

Constraint enforced on the max num of pods per node.

Generated from protobuf field int64 max_pods_per_node = 1;

Returns
TypeDescription
int|string

setMaxPodsPerNode

Constraint enforced on the max num of pods per node.

Generated from protobuf field int64 max_pods_per_node = 1;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this