|
1 | | -// Copyright 2025 Google LLC |
| 1 | +// Copyright 2026 Google LLC |
2 | 2 | // |
3 | 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
4 | 4 | // you may not use this file except in compliance with the License. |
@@ -159,6 +159,14 @@ message Schedule {
|
159 | 159 | // execution of the operations/jobs created by the requests (if applicable). |
160 | 160 | int64 max_concurrent_run_count = 11 [(google.api.field_behavior) = REQUIRED]; |
161 | 161 | |
| 162 | +// Optional. Specifies the maximum number of active runs that can be executed |
| 163 | +// concurrently for this Schedule. This limits the number of runs that can be |
| 164 | +// in a non-terminal state at the same time. |
| 165 | +// Currently, this field is only supported for requests of type |
| 166 | +// CreatePipelineJobRequest. |
| 167 | +int64 max_concurrent_active_run_count = 21 |
| 168 | + [(google.api.field_behavior) = OPTIONAL]; |
| 169 | + |
162 | 170 | // Optional. Whether new scheduled runs can be queued when max_concurrent_runs |
163 | 171 | // limit is reached. If set to true, new runs will be queued instead of |
164 | 172 | // skipped. Default to false. |
|