Skip to content

Commit

Permalink
feat: add max_wait_duration to Scheduling (#5642)
Browse files Browse the repository at this point in the history
* 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 <55454395+sofisl@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 29, 2024
1 parent c03e3a5 commit 39e65cb
Show file tree
Hide file tree
Showing 5 changed files with 96 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,11 @@ message Scheduling {
// job starts running. If true, overrides
// `Scheduling.restart_job_on_worker_restart` to false.
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];

// Optional. This is the maximum duration that a job will wait for the
// requested resources to be provisioned if the scheduling strategy is set to
// [Strategy.DWS_FLEX_START].
// If set to 0, the job will wait indefinitely. The default is 24 hours.
google.protobuf.Duration max_wait_duration = 6
[(google.api.field_behavior) = OPTIONAL];
}
Original file line number Diff line number Diff line change
Expand Up @@ -394,4 +394,11 @@ message Scheduling {
// job starts running. If true, overrides
// `Scheduling.restart_job_on_worker_restart` to false.
bool disable_retries = 5 [(google.api.field_behavior) = OPTIONAL];

// Optional. This is the maximum duration that a job will wait for the
// requested resources to be provisioned if the scheduling strategy is set to
// [Strategy.DWS_FLEX_START].
// If set to 0, the job will wait indefinitely. The default is 24 hours.
google.protobuf.Duration max_wait_duration = 6
[(google.api.field_behavior) = OPTIONAL];
}
12 changes: 12 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39e65cb

Please sign in to comment.