Skip to content

Commit 9d640a8

Browse files
Google APIscopybara-github
authored andcommitted
feat: added new provisioning models
PiperOrigin-RevId: 806310192
1 parent f8776fe commit 9d640a8

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

google/cloud/batch/v1alpha/batch_v1alpha_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.v1alpha.BatchService", "method": "UpdateResourceAllowance"},
3131
{ "service": "google.cloud.batch.v1alpha.BatchService", "method": "CancelTasks"},
3232
{ "service": "google.cloud.batch.v1alpha.BatchService", "method": "CreateNodePool" },
33-
{ "service": "google.cloud.batch.v1alpha.BatchService", "method": "DeleteNodePool" }
33+
{ "service": "google.cloud.batch.v1alpha.BatchService", "method": "DeleteNodePool" },
34+
{ "service": "google.cloud.batch.v1alpha.BatchService", "method": "RefreshNodePool" }
3435
],
3536
"timeout": "60s"
3637
}]

google/cloud/batch/v1alpha/job.proto

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,14 @@ message AllocationPolicy {
626626
// old preemptible VM model (indicated by this field) is the older model,
627627
// and has been migrated to use the SPOT model as the underlying technology.
628628
// This old model will still be supported.
629-
PREEMPTIBLE = 3;
629+
PREEMPTIBLE = 3 [deprecated = true];
630+
631+
// Bound to the lifecycle of the reservation in which it is provisioned.
632+
RESERVATION_BOUND = 4;
633+
634+
// Instance is provisioned with DWS Flex Start and has limited max run
635+
// duration.
636+
FLEX_START = 5;
630637
}
631638

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

0 commit comments

Comments
 (0)