Compute V1 Client - Class CapacityAdviceRequestInstanceFlexibilityPolicy (2.14.1)

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

Specification of alternative, flexible instance configurations.

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

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 to configure properties. The key is an arbitrary, unique RFC1035 string that identifies the instance selection.

getInstanceSelections

Named instance selections to configure properties.

The key is an arbitrary, unique RFC1035 string that identifies the instance selection.

Returns
Type Description
Google\Protobuf\Internal\MapField

setInstanceSelections

Named instance selections to configure properties.

The key is an arbitrary, unique RFC1035 string that identifies the instance selection.

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