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.
Generated from protobuf field .google.container.v1.NodePool.PlacementPolicy.Type type = 1;
Returns | |
---|---|
Type | Description |
int |
setType
The type of placement.
Generated from protobuf field .google.container.v1.NodePool.PlacementPolicy.Type type = 1;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |