|
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. |
@@ -560,7 +560,7 @@ message Reservation { |
560 | 560 | // reservation will scale up to 1000 slots with 200 baseline and 800 idle |
561 | 561 | // slots. |
562 | 562 | // 2. if there are 500 idle slots available in other reservations, the |
563 | | - // reservation will scale up to 700 slots with 200 baseline and 300 idle |
| 563 | + // reservation will scale up to 700 slots with 200 baseline and 500 idle |
564 | 564 | // slots. |
565 | 565 | // Please note, in this mode, the reservation might not be able to scale up |
566 | 566 | // to max_slots. |
@@ -1406,6 +1406,23 @@ message Assignment { |
1406 | 1406 | // This feature is not yet generally available. |
1407 | 1407 | SchedulingPolicy scheduling_policy = 11 |
1408 | 1408 | [(google.api.field_behavior) = OPTIONAL]; |
| 1409 | + |
| 1410 | + // Optional. Represents the principal for this assignment. If not empty, jobs |
| 1411 | + // run by this principal will utilize the associated reservation. Otherwise, |
| 1412 | + // jobs will fall back to using the reservation assigned to the project, |
| 1413 | + // folder, or organization (in that order). If no reservation is assigned at |
| 1414 | + // any of these levels, on-demand capacity will be used. |
| 1415 | + // |
| 1416 | + // The supported formats are: |
| 1417 | + // |
| 1418 | + // * `principal://goog/subject/USER_EMAIL_ADDRESS` for users, |
| 1419 | + // * `principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS` |
| 1420 | + // for service accounts, |
| 1421 | + // * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/POOL_ID/subject/SUBJECT_ID` |
| 1422 | + // for workload identity pool identities. |
| 1423 | + // * The special value `unknown_or_deleted_user` represents principals which |
| 1424 | + // cannot be read from the user info service, for example deleted users. |
| 1425 | + string principal = 12 [(google.api.field_behavior) = OPTIONAL]; |
1409 | 1426 | } |
1410 | 1427 |
|
1411 | 1428 | // The request for |
|
0 commit comments