Google Cloud Dataproc V1 Client - Class InstanceFlexibilityPolicy (3.12.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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstanceSelectionList

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

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelection>
Returns
TypeDescription
$this

getInstanceSelectionResults

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInstanceSelectionResults

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

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\InstanceFlexibilityPolicy\InstanceSelectionResult>
Returns
TypeDescription
$this