Skip to content

Commit ea62cf5

Browse files
feat: [batch] added new provisioning models (#6902)
* feat: added new provisioning models PiperOrigin-RevId: 833725203 Source-Link: googleapis/googleapis@e48d999 Source-Link: googleapis/googleapis-gen@aea94d1 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiJhZWE5NGQxZjlmYWJmMGUyZDI3ODE2N2Q1ZDhlZGY4MDIzYmM4NmU3In0= * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 7b6c79b commit ea62cf5

4 files changed

Lines changed: 43 additions & 3 deletions

File tree

packages/google-cloud-batch/protos/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.

packages/google-cloud-batch/protos/protos.d.ts

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-batch/protos/protos.js

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-cloud-batch/protos/protos.json

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)