Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagerTargetSizePolicy.
Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagerTargetSizePolicy
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ mode |
string
The mode of target size policy based on which the MIG creates its VMs individually or all at once. Check the Mode enum for the list of possible values. |
getMode
The mode of target size policy based on which the MIG creates its VMs individually or all at once.
Check the Mode enum for the list of possible values.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasMode
clearMode
setMode
The mode of target size policy based on which the MIG creates its VMs individually or all at once.
Check the Mode enum for the list of possible values.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|