Google Cloud Dataproc V1 Client - Class Preemptibility (3.2.2)

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

Controls the use of preemptible instances within the group.

Protobuf type google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

PREEMPTIBILITY_UNSPECIFIED

Value: 0

Preemptibility is unspecified, the system will choose the appropriate setting for each instance group.

Generated from protobuf enum PREEMPTIBILITY_UNSPECIFIED = 0;

NON_PREEMPTIBLE

Value: 1

Instances are non-preemptible.

This option is allowed for all instance groups and is the only valid value for Master and Worker instance groups.

Generated from protobuf enum NON_PREEMPTIBLE = 1;

PREEMPTIBLE

Value: 2

Instances are preemptible.

This option is allowed only for secondary worker groups.

Generated from protobuf enum PREEMPTIBLE = 2;