Google Anthos Multi Cloud V1 Client - Class MaxPodsConstraint (0.5.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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
int|string

setMaxPodsPerNode

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

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