Skip to content

Commit b77e02b

Browse files
feat: [google-cloud-batch] added new provisioning models (#14432)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 806310192 Source-Link: googleapis/googleapis@9d640a8 Source-Link: googleapis/googleapis-gen@0d15dee Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWJhdGNoLy5Pd2xCb3QueWFtbCIsImgiOiIwZDE1ZGVlYzY3MWY5MzhkM2NhY2JhZWFmYmUxZGE4YzFmOTBmZGZhIn0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent cf9c954 commit b77e02b

File tree

1 file changed

+8
-0
lines changed
  • packages/google-cloud-batch/google/cloud/batch_v1alpha/types

1 file changed

+8
-0
lines changed

packages/google-cloud-batch/google/cloud/batch_v1alpha/types/job.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,11 +631,19 @@ class ProvisioningModel(proto.Enum):
631631
model, and has been migrated to use the SPOT
632632
model as the underlying technology. This old
633633
model will still be supported.
634+
RESERVATION_BOUND (4):
635+
Bound to the lifecycle of the reservation in
636+
which it is provisioned.
637+
FLEX_START (5):
638+
Instance is provisioned with DWS Flex Start
639+
and has limited max run duration.
634640
"""
635641
PROVISIONING_MODEL_UNSPECIFIED = 0
636642
STANDARD = 1
637643
SPOT = 2
638644
PREEMPTIBLE = 3
645+
RESERVATION_BOUND = 4
646+
FLEX_START = 5
639647

640648
class LocationPolicy(proto.Message):
641649
r"""

0 commit comments

Comments
 (0)