Google Cloud Container V1 Client - Class MaxPodsConstraint (1.22.0)

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

Namespace

Google \ Cloud \ Container \ V1

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.

Returns
TypeDescription
int|string

setMaxPodsPerNode

Constraint enforced on the max num of pods per node.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this