[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dataproc V1 Client - Class Preemptibility (3.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.14.0 (latest)](/php/docs/reference/cloud-dataproc/latest/V1.InstanceGroupConfig.Preemptibility)\n- [3.13.4](/php/docs/reference/cloud-dataproc/3.13.4/V1.InstanceGroupConfig.Preemptibility)\n- [3.12.0](/php/docs/reference/cloud-dataproc/3.12.0/V1.InstanceGroupConfig.Preemptibility)\n- [3.11.0](/php/docs/reference/cloud-dataproc/3.11.0/V1.InstanceGroupConfig.Preemptibility)\n- [3.10.1](/php/docs/reference/cloud-dataproc/3.10.1/V1.InstanceGroupConfig.Preemptibility)\n- [3.9.0](/php/docs/reference/cloud-dataproc/3.9.0/V1.InstanceGroupConfig.Preemptibility)\n- [3.8.1](/php/docs/reference/cloud-dataproc/3.8.1/V1.InstanceGroupConfig.Preemptibility)\n- [3.7.1](/php/docs/reference/cloud-dataproc/3.7.1/V1.InstanceGroupConfig.Preemptibility)\n- [3.6.1](/php/docs/reference/cloud-dataproc/3.6.1/V1.InstanceGroupConfig.Preemptibility)\n- [3.5.1](/php/docs/reference/cloud-dataproc/3.5.1/V1.InstanceGroupConfig.Preemptibility)\n- [3.4.0](/php/docs/reference/cloud-dataproc/3.4.0/V1.InstanceGroupConfig.Preemptibility)\n- [3.3.0](/php/docs/reference/cloud-dataproc/3.3.0/V1.InstanceGroupConfig.Preemptibility)\n- [3.2.2](/php/docs/reference/cloud-dataproc/3.2.2/V1.InstanceGroupConfig.Preemptibility)\n- [2.6.1](/php/docs/reference/cloud-dataproc/2.6.1/V1.InstanceGroupConfig.Preemptibility)\n- [2.5.0](/php/docs/reference/cloud-dataproc/2.5.0/V1.InstanceGroupConfig.Preemptibility)\n- [2.3.0](/php/docs/reference/cloud-dataproc/2.3.0/V1.InstanceGroupConfig.Preemptibility)\n- [2.2.3](/php/docs/reference/cloud-dataproc/2.2.3/V1.InstanceGroupConfig.Preemptibility)\n- [2.1.0](/php/docs/reference/cloud-dataproc/2.1.0/V1.InstanceGroupConfig.Preemptibility)\n- [2.0.0](/php/docs/reference/cloud-dataproc/2.0.0/V1.InstanceGroupConfig.Preemptibility) \nReference documentation and code samples for the Google Cloud Dataproc V1 Client class Preemptibility.\n\nControls the use of preemptible instances within the group.\n\nProtobuf type `google.cloud.dataproc.v1.InstanceGroupConfig.Preemptibility`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataproc \\\\ V1 \\\\ InstanceGroupConfig\n\nMethods\n-------\n\n### static::name\n\n### static::value\n\nConstants\n---------\n\n### PREEMPTIBILITY_UNSPECIFIED\n\n Value: 0\n\nPreemptibility is unspecified, the system will choose the\nappropriate setting for each instance group.\n\nGenerated from protobuf enum `PREEMPTIBILITY_UNSPECIFIED = 0;`\n\n### NON_PREEMPTIBLE\n\n Value: 1\n\nInstances are non-preemptible.\n\nThis option is allowed for all instance groups and is the only valid\nvalue for Master and Worker instance groups.\n\nGenerated from protobuf enum `NON_PREEMPTIBLE = 1;`\n\n### PREEMPTIBLE\n\n Value: 2\n\nInstances are [preemptible](https://cloud.google.com/compute/docs/instances/preemptible).\n\nThis option is allowed only for [secondary worker](https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)\ngroups.\n\nGenerated from protobuf enum `PREEMPTIBLE = 2;`\n\n### SPOT\n\n Value: 3\n\nInstances are [Spot VMs](https://cloud.google.com/compute/docs/instances/spot).\n\nThis option is allowed only for [secondary worker](https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms)\ngroups. Spot VMs are the latest version of [preemptible VMs](https://cloud.google.com/compute/docs/instances/preemptible), and\nprovide additional features.\n\nGenerated from protobuf enum `SPOT = 3;`"]]