feat: add max_wait_duration to Scheduling

PiperOrigin-RevId: 668122347
This commit is contained in:
Google APIs 2024-08-27 13:43:54 -07:00 committed by Copybara-Service
parent 0e9edd7617
commit aee11eedca

View file

@ -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];
}