Skip to content

Commit e05d0c8

Browse files
1 parent 07bb796 commit e05d0c8

File tree

5 files changed

+69
-6
lines changed

5 files changed

+69
-6
lines changed

clients/google-api-services-bigquery/v2/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-bigquery</artifactId>
25-
<version>v2-rev20250302-2.0.0</version>
25+
<version>v2-rev20250313-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-bigquery:v2-rev20250302-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20250313-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-bigquery/v2/2.0.0/com/google/api/services/bigquery/model/JobConfiguration.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,16 @@ public final class JobConfiguration extends com.google.api.client.json.GenericJs
9494
@com.google.api.client.util.Key
9595
private JobConfigurationQuery query;
9696

97+
/**
98+
* Optional. The reservation that job would use. User can specify a reservation to execute the
99+
* job. If reservation is not set, reservation is determined based on the rules defined by the
100+
* reservation assignments. The expected format is
101+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
102+
* The value may be {@code null}.
103+
*/
104+
@com.google.api.client.util.Key
105+
private java.lang.String reservation;
106+
97107
/**
98108
* [Pick one] Copies a table.
99109
* @return value or {@code null} for none
@@ -248,6 +258,29 @@ public JobConfiguration setQuery(JobConfigurationQuery query) {
248258
return this;
249259
}
250260

261+
/**
262+
* Optional. The reservation that job would use. User can specify a reservation to execute the
263+
* job. If reservation is not set, reservation is determined based on the rules defined by the
264+
* reservation assignments. The expected format is
265+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
266+
* @return value or {@code null} for none
267+
*/
268+
public java.lang.String getReservation() {
269+
return reservation;
270+
}
271+
272+
/**
273+
* Optional. The reservation that job would use. User can specify a reservation to execute the
274+
* job. If reservation is not set, reservation is determined based on the rules defined by the
275+
* reservation assignments. The expected format is
276+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
277+
* @param reservation reservation or {@code null} for none
278+
*/
279+
public JobConfiguration setReservation(java.lang.String reservation) {
280+
this.reservation = reservation;
281+
return this;
282+
}
283+
251284
@Override
252285
public JobConfiguration set(String fieldName, Object value) {
253286
return (JobConfiguration) super.set(fieldName, value);

clients/google-api-services-bigquery/v2/2.0.0/com/google/api/services/bigquery/model/QueryRequest.java

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,15 @@ public final class QueryRequest extends com.google.api.client.json.GenericJson {
212212
@com.google.api.client.util.Key
213213
private java.lang.String requestId;
214214

215+
/**
216+
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
217+
* execute the job.query. The expected format is
218+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
219+
* The value may be {@code null}.
220+
*/
221+
@com.google.api.client.util.Key
222+
private java.lang.String reservation;
223+
215224
/**
216225
* Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is
217226
* willing to wait for the query to complete. By default, this limit is 10 seconds (10,000
@@ -654,6 +663,27 @@ public QueryRequest setRequestId(java.lang.String requestId) {
654663
return this;
655664
}
656665

666+
/**
667+
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
668+
* execute the job.query. The expected format is
669+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
670+
* @return value or {@code null} for none
671+
*/
672+
public java.lang.String getReservation() {
673+
return reservation;
674+
}
675+
676+
/**
677+
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
678+
* execute the job.query. The expected format is
679+
* `projects/{project}/locations/{location}/reservations/{reservation}`.
680+
* @param reservation reservation or {@code null} for none
681+
*/
682+
public QueryRequest setReservation(java.lang.String reservation) {
683+
this.reservation = reservation;
684+
return this;
685+
}
686+
657687
/**
658688
* Optional. Optional: Specifies the maximum amount of time, in milliseconds, that the client is
659689
* willing to wait for the query to complete. By default, this limit is 10 seconds (10,000

clients/google-api-services-bigquery/v2/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-bigquery</artifactId>
11-
<version>v2-rev20250302-2.0.0</version>
12-
<name>BigQuery API v2-rev20250302-2.0.0</name>
11+
<version>v2-rev20250313-2.0.0</version>
12+
<name>BigQuery API v2-rev20250313-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-bigquery/v2/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-bigquery</artifactId>
25-
<version>v2-rev20250302-2.0.0</version>
25+
<version>v2-rev20250313-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-bigquery:v2-rev20250302-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20250313-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)