Skip to content

Commit 8b2adf3

Browse files
Google APIscopybara-github
authored andcommitted
feat: add max_wait_duration to Scheduling
PiperOrigin-RevId: 668122422
1 parent aee11ee commit 8b2adf3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

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
}

0 commit comments

Comments
 (0)