Skip to content

Commit e48d999

Browse files
Google APIscopybara-github
authored andcommitted
feat: added new provisioning models
PiperOrigin-RevId: 833725203
1 parent 6a7d453 commit e48d999

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

google/cloud/batch/v1/batch_v1_grpc_service_config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@
3030
{ "service": "google.cloud.batch.v1.BatchService", "method": "UpdateResourceAllowance"},
3131
{ "service": "google.cloud.batch.v1.BatchService", "method": "CancelTasks"},
3232
{ "service": "google.cloud.batch.v1.BatchService", "method": "CreateNodePool" },
33-
{ "service": "google.cloud.batch.v1.BatchService", "method": "DeleteNodePool" }
33+
{ "service": "google.cloud.batch.v1.BatchService", "method": "DeleteNodePool" },
34+
{ "service": "google.cloud.batch.v1.BatchService", "method": "RefreshNodePool" }
3435
],
3536
"timeout": "60s"
3637
}]

google/cloud/batch/v1/job.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,14 @@ message AllocationPolicy {
559559
// old preemptible VM model (indicated by this field) is the older model,
560560
// and has been migrated to use the SPOT model as the underlying technology.
561561
// This old model will still be supported.
562-
PREEMPTIBLE = 3;
562+
PREEMPTIBLE = 3 [deprecated = true];
563+
564+
// Bound to the lifecycle of the reservation in which it is provisioned.
565+
RESERVATION_BOUND = 4;
566+
567+
// Instance is provisioned with DWS Flex Start and has limited max run
568+
// duration.
569+
FLEX_START = 5;
563570
}
564571

565572
// Location where compute resources should be allocated for the Job.

0 commit comments

Comments
 (0)