Google Cloud Container V1 Client - Class PlacementPolicy (1.13.1)

Reference documentation and code samples for the Google Cloud Container V1 Client class PlacementPolicy.

PlacementPolicy defines the placement policy used by the node pool.

Generated from protobuf message google.container.v1.NodePool.PlacementPolicy

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

The type of placement.

getType

The type of placement.

Returns
Type Description
int

setType

The type of placement.

Parameter
Name Description
var int
Returns
Type Description
$this