Google Cloud Container V1 Client - Class PlacementPolicy (1.10.3)

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
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

The type of placement.

getType

The type of placement.

Returns
TypeDescription
int

setType

The type of placement.

Parameter
NameDescription
var int
Returns
TypeDescription
$this