Google Cloud Dataproc V1 Client - Class InstanceFlexibilityPolicy (2.1.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class InstanceFlexibilityPolicy.

Instance flexibility Policy allowing a mixture of VM shapes and provisioning models.

Generated from protobuf message google.cloud.dataproc.v1.InstanceFlexibilityPolicy

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance_selection_list array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelection>

Optional. List of instance selection options that the group will use when creating new VMs.

↳ instance_selection_results array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelectionResult>

Output only. A list of instance selection results in the group.

getInstanceSelectionList

Optional. List of instance selection options that the group will use when creating new VMs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstanceSelectionList

Optional. List of instance selection options that the group will use when creating new VMs.

Parameter
Name Description
var array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelection>
Returns
Type Description
$this

getInstanceSelectionResults

Output only. A list of instance selection results in the group.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInstanceSelectionResults

Output only. A list of instance selection results in the group.

Parameter
Name Description
var array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelectionResult>
Returns
Type Description
$this