Compute V1 Client - Class InstanceGroupManagerInstanceFlexibilityPolicy (1.21.0)

Reference documentation and code samples for the Compute V1 Client class InstanceGroupManagerInstanceFlexibilityPolicy.

Generated from protobuf message google.cloud.compute.v1.InstanceGroupManagerInstanceFlexibilityPolicy

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_selections array|Google\Protobuf\Internal\MapField

Named instance selections configuring properties that the group will use when creating new VMs.

getInstanceSelections

Named instance selections configuring properties that the group will use when creating new VMs.

Returns
Type Description
Google\Protobuf\Internal\MapField

setInstanceSelections

Named instance selections configuring properties that the group will use when creating new VMs.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this