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
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.

Generated from protobuf field int64 max_pods_per_node = 1;

Returns
Type
Description
int|string

setMaxPodsPerNode

Constraint enforced on the max num of pods per node.

Generated from protobuf field int64 max_pods_per_node = 1;

Parameter
Name
Description
var
int|string
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: