Skip to content

Commit ed4f471

Browse files
chore: regenerate bigqueryreservation client (#31149)
Generated in GitHub action: https://togithub.com/googleapis/googleapis/google-api-java-client-services/actions/workflows/codegen.yaml
1 parent cc080a0 commit ed4f471

File tree

4 files changed

+51
-6
lines changed

4 files changed

+51
-6
lines changed

clients/google-api-services-bigqueryreservation/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-bigqueryreservation</artifactId>
25-
<version>v1-rev20260109-2.0.0</version>
25+
<version>v1-rev20260305-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260109-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260305-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigqueryreservation/v1/2.0.0/com/google/api/services/bigqueryreservation/v1/model/Assignment.java

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,20 @@ public final class Assignment extends com.google.api.client.json.GenericJson {
6666
@com.google.api.client.util.Key
6767
private java.lang.String name;
6868

69+
/**
70+
* Optional. Represents the principal for this assignment. If not empty, jobs run by this
71+
* principal will utilize the associated reservation. Otherwise, jobs will fall back to using the
72+
* reservation assigned to the project, folder, or organization (in that order). If no reservation
73+
* is assigned at any of these levels, on-demand capacity will be used. The supported formats are:
74+
* * `principal://goog/subject/USER_EMAIL_ADDRESS` for users, *
75+
* `principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS` for service
76+
* accounts, * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadId
77+
* entityPools/POOL_ID/subject/SUBJECT_ID` for workload identity pool identities.
78+
* The value may be {@code null}.
79+
*/
80+
@com.google.api.client.util.Key
81+
private java.lang.String principal;
82+
6983
/**
7084
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under
7185
* the associated reservation. The scheduling policy controls how the reservation's resources are
@@ -165,6 +179,37 @@ public Assignment setName(java.lang.String name) {
165179
return this;
166180
}
167181

182+
/**
183+
* Optional. Represents the principal for this assignment. If not empty, jobs run by this
184+
* principal will utilize the associated reservation. Otherwise, jobs will fall back to using the
185+
* reservation assigned to the project, folder, or organization (in that order). If no reservation
186+
* is assigned at any of these levels, on-demand capacity will be used. The supported formats are:
187+
* * `principal://goog/subject/USER_EMAIL_ADDRESS` for users, *
188+
* `principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS` for service
189+
* accounts, * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadId
190+
* entityPools/POOL_ID/subject/SUBJECT_ID` for workload identity pool identities.
191+
* @return value or {@code null} for none
192+
*/
193+
public java.lang.String getPrincipal() {
194+
return principal;
195+
}
196+
197+
/**
198+
* Optional. Represents the principal for this assignment. If not empty, jobs run by this
199+
* principal will utilize the associated reservation. Otherwise, jobs will fall back to using the
200+
* reservation assigned to the project, folder, or organization (in that order). If no reservation
201+
* is assigned at any of these levels, on-demand capacity will be used. The supported formats are:
202+
* * `principal://goog/subject/USER_EMAIL_ADDRESS` for users, *
203+
* `principal://iam.googleapis.com/projects/-/serviceAccounts/SA_EMAIL_ADDRESS` for service
204+
* accounts, * `principal://iam.googleapis.com/projects/PROJECT_NUMBER/locations/global/workloadId
205+
* entityPools/POOL_ID/subject/SUBJECT_ID` for workload identity pool identities.
206+
* @param principal principal or {@code null} for none
207+
*/
208+
public Assignment setPrincipal(java.lang.String principal) {
209+
this.principal = principal;
210+
return this;
211+
}
212+
168213
/**
169214
* Optional. The scheduling policy to use for jobs and queries of this assignee when running under
170215
* the associated reservation. The scheduling policy controls how the reservation's resources are

clients/google-api-services-bigqueryreservation/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-bigqueryreservation</artifactId>
11-
<version>v1-rev20260109-2.0.0</version>
12-
<name>BigQuery Reservation API v1-rev20260109-2.0.0</name>
11+
<version>v1-rev20260305-2.0.0</version>
12+
<name>BigQuery Reservation API v1-rev20260305-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-bigqueryreservation/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-bigqueryreservation</artifactId>
25-
<version>v1-rev20260109-2.0.0</version>
25+
<version>v1-rev20260305-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260109-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigqueryreservation:v1-rev20260305-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)