Skip to content

Commit 39e65cb

Browse files
feat: add max_wait_duration to Scheduling (#5642)
* feat: add max_wait_duration to Scheduling PiperOrigin-RevId: 668122347 Source-Link: googleapis/googleapis@aee11ee Source-Link: googleapis/googleapis-gen@1b66c1c Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjFiNjZjMWNkMWE0ZDg3ZDAyZGYyMDVhMjYyOWFlOTkwNjkwNjNkN2UifQ== * feat: add max_wait_duration to Scheduling PiperOrigin-RevId: 668122422 Source-Link: googleapis/googleapis@8b2adf3 Source-Link: googleapis/googleapis-gen@92a8ccf Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjkyYThjY2YwNTJmNDg3MjdkMjUyZGMyZjNlMDBmZDk4MzU0ZDA0ZjYifQ== * 🦉 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> Co-authored-by: sofisl <[email protected]>
1 parent c03e3a5 commit 39e65cb

5 files changed

Lines changed: 96 additions & 0 deletions

File tree

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/custom_job.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,11 @@ message Scheduling {
394394
// job starts running. If true, overrides
395395
// `Scheduling.restart_job_on_worker_restart` to false.
396396
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
397+
398+
// Optional. This is the maximum duration that a job will wait for the
399+
// requested resources to be provisioned if the scheduling strategy is set to
400+
// [Strategy.DWS_FLEX_START].
401+
// If set to 0, the job will wait indefinitely. The default is 24 hours.
402+
google.protobuf.Duration max_wait_duration = 6
403+
[(google.api.field_behavior) = OPTIONAL];
397404
}

packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/custom_job.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,4 +394,11 @@ message Scheduling {
394394
// job starts running. If true, overrides
395395
// `Scheduling.restart_job_on_worker_restart` to false.
396396
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];
397+
398+
// Optional. This is the maximum duration that a job will wait for the
399+
// requested resources to be provisioned if the scheduling strategy is set to
400+
// [Strategy.DWS_FLEX_START].
401+
// If set to 0, the job will wait indefinitely. The default is 24 hours.
402+
google.protobuf.Duration max_wait_duration = 6
403+
[(google.api.field_behavior) = OPTIONAL];
397404
}

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

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

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

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

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

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

0 commit comments

Comments
 (0)