diff --git a/packages/google-cloud-dataproc/protos/google/cloud/dataproc/v1/clusters.proto b/packages/google-cloud-dataproc/protos/google/cloud/dataproc/v1/clusters.proto index 11611fbf680..203efa8c4ff 100644 --- a/packages/google-cloud-dataproc/protos/google/cloud/dataproc/v1/clusters.proto +++ b/packages/google-cloud-dataproc/protos/google/cloud/dataproc/v1/clusters.proto @@ -582,6 +582,16 @@ message InstanceGroupConfig { // (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) // groups. PREEMPTIBLE = 2; + + // Instances are [Spot VMs] + // (https://cloud.google.com/compute/docs/instances/spot). + // + // This option is allowed only for [secondary worker] + // (https://cloud.google.com/dataproc/docs/concepts/compute/secondary-vms) + // groups. Spot VMs are the latest version of [preemptible VMs] + // (https://cloud.google.com/compute/docs/instances/preemptible), and + // provide additional features. + SPOT = 3; } // Optional. The number of VM instances in the instance group. diff --git a/packages/google-cloud-dataproc/protos/protos.d.ts b/packages/google-cloud-dataproc/protos/protos.d.ts index aba84f310a8..bf6d17f77d3 100644 --- a/packages/google-cloud-dataproc/protos/protos.d.ts +++ b/packages/google-cloud-dataproc/protos/protos.d.ts @@ -5879,7 +5879,8 @@ export namespace google { enum Preemptibility { PREEMPTIBILITY_UNSPECIFIED = 0, NON_PREEMPTIBLE = 1, - PREEMPTIBLE = 2 + PREEMPTIBLE = 2, + SPOT = 3 } } diff --git a/packages/google-cloud-dataproc/protos/protos.js b/packages/google-cloud-dataproc/protos/protos.js index 9a220d2606f..67e3607a64a 100644 --- a/packages/google-cloud-dataproc/protos/protos.js +++ b/packages/google-cloud-dataproc/protos/protos.js @@ -14707,6 +14707,7 @@ case 0: case 1: case 2: + case 3: break; } if (message.managedGroupConfig != null && message.hasOwnProperty("managedGroupConfig")) { @@ -14780,6 +14781,10 @@ case 2: message.preemptibility = 2; break; + case "SPOT": + case 3: + message.preemptibility = 3; + break; } if (object.managedGroupConfig != null) { if (typeof object.managedGroupConfig !== "object") @@ -14890,12 +14895,14 @@ * @property {number} PREEMPTIBILITY_UNSPECIFIED=0 PREEMPTIBILITY_UNSPECIFIED value * @property {number} NON_PREEMPTIBLE=1 NON_PREEMPTIBLE value * @property {number} PREEMPTIBLE=2 PREEMPTIBLE value + * @property {number} SPOT=3 SPOT value */ InstanceGroupConfig.Preemptibility = (function() { var valuesById = {}, values = Object.create(valuesById); values[valuesById[0] = "PREEMPTIBILITY_UNSPECIFIED"] = 0; values[valuesById[1] = "NON_PREEMPTIBLE"] = 1; values[valuesById[2] = "PREEMPTIBLE"] = 2; + values[valuesById[3] = "SPOT"] = 3; return values; })(); diff --git a/packages/google-cloud-dataproc/protos/protos.json b/packages/google-cloud-dataproc/protos/protos.json index ffc3ccc73b5..05d79a7f60d 100644 --- a/packages/google-cloud-dataproc/protos/protos.json +++ b/packages/google-cloud-dataproc/protos/protos.json @@ -1996,7 +1996,8 @@ "values": { "PREEMPTIBILITY_UNSPECIFIED": 0, "NON_PREEMPTIBLE": 1, - "PREEMPTIBLE": 2 + "PREEMPTIBLE": 2, + "SPOT": 3 } } }