Google Cloud Container V1 Client - Class MaxPodsConstraint (1.33.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
Name Description
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
Type Description
int|string

setMaxPodsPerNode

Constraint enforced on the max num of pods per node.

Parameter
Name Description
var int|string
Returns
Type Description
$this