Google Anthos Multi Cloud V1 Client - Class MaxPodsConstraint (0.1.4)

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

Constraints applied to pods.

Generated from protobuf message google.cloud.gkemulticloud.v1.MaxPodsConstraint

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ max_pods_per_node int|string

Required. The maximum number of pods to schedule on a single node.

getMaxPodsPerNode

Required. The maximum number of pods to schedule on a single node.

Generated from protobuf field int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int|string

setMaxPodsPerNode

Required. The maximum number of pods to schedule on a single node.

Generated from protobuf field int64 max_pods_per_node = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this