Skip to content

Commit cae1c41

Browse files
1 parent cf667a0 commit cae1c41

10 files changed

Lines changed: 258 additions & 12 deletions

File tree

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

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ public final class Argument extends com.google.api.client.json.GenericJson {
6767
@com.google.api.client.util.Key
6868
private java.lang.String name;
6969

70+
/**
71+
* Optional. Set if argument_kind == FIXED_TABLE.
72+
* The value may be {@code null}.
73+
*/
74+
@com.google.api.client.util.Key
75+
private StandardSqlTableType tableType;
76+
7077
/**
7178
* Optional. Defaults to FIXED_TYPE.
7279
* @return value or {@code null} for none
@@ -158,6 +165,23 @@ public Argument setName(java.lang.String name) {
158165
return this;
159166
}
160167

168+
/**
169+
* Optional. Set if argument_kind == FIXED_TABLE.
170+
* @return value or {@code null} for none
171+
*/
172+
public StandardSqlTableType getTableType() {
173+
return tableType;
174+
}
175+
176+
/**
177+
* Optional. Set if argument_kind == FIXED_TABLE.
178+
* @param tableType tableType or {@code null} for none
179+
*/
180+
public Argument setTableType(StandardSqlTableType tableType) {
181+
this.tableType = tableType;
182+
return this;
183+
}
184+
161185
@Override
162186
public Argument set(String fieldName, Object value) {
163187
return (Argument) super.set(fieldName, value);

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ public final class JobConfiguration extends com.google.api.client.json.GenericJs
109109
* Optional. The reservation that job would use. User can specify a reservation to execute the
110110
* job. If reservation is not set, reservation is determined based on the rules defined by the
111111
* reservation assignments. The expected format is
112-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
112+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
113+
* on-demand billing when set to `none`, which requires the project or organization to have
114+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
113115
* The value may be {@code null}.
114116
*/
115117
@com.google.api.client.util.Key
@@ -298,7 +300,9 @@ public JobConfiguration setQuery(JobConfigurationQuery query) {
298300
* Optional. The reservation that job would use. User can specify a reservation to execute the
299301
* job. If reservation is not set, reservation is determined based on the rules defined by the
300302
* reservation assignments. The expected format is
301-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
303+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
304+
* on-demand billing when set to `none`, which requires the project or organization to have
305+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
302306
* @return value or {@code null} for none
303307
*/
304308
public java.lang.String getReservation() {
@@ -309,7 +313,9 @@ public java.lang.String getReservation() {
309313
* Optional. The reservation that job would use. User can specify a reservation to execute the
310314
* job. If reservation is not set, reservation is determined based on the rules defined by the
311315
* reservation assignments. The expected format is
312-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
316+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
317+
* on-demand billing when set to `none`, which requires the project or organization to have
318+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
313319
* @param reservation reservation or {@code null} for none
314320
*/
315321
public JobConfiguration setReservation(java.lang.String reservation) {

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,13 @@ public final class JobStatistics extends com.google.api.client.json.GenericJson
8989
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
9090
private java.lang.Long finalExecutionDurationMs;
9191

92+
/**
93+
* Output only. Regions where the global query accesses data.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private java.util.List<java.lang.String> globalQueryRemoteRegions;
98+
9299
/**
93100
* Output only. Statistics for a load job.
94101
* The value may be {@code null}.
@@ -103,6 +110,13 @@ public final class JobStatistics extends com.google.api.client.json.GenericJson
103110
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
104111
private java.lang.Long numChildJobs;
105112

113+
/**
114+
* Output only. The global query that created this job.
115+
* The value may be {@code null}.
116+
*/
117+
@com.google.api.client.util.Key
118+
private JobReference parentGlobalQueryJob;
119+
106120
/**
107121
* Output only. If this is a child job, specifies the job ID of the parent.
108122
* The value may be {@code null}.
@@ -354,6 +368,23 @@ public JobStatistics setFinalExecutionDurationMs(java.lang.Long finalExecutionDu
354368
return this;
355369
}
356370

371+
/**
372+
* Output only. Regions where the global query accesses data.
373+
* @return value or {@code null} for none
374+
*/
375+
public java.util.List<java.lang.String> getGlobalQueryRemoteRegions() {
376+
return globalQueryRemoteRegions;
377+
}
378+
379+
/**
380+
* Output only. Regions where the global query accesses data.
381+
* @param globalQueryRemoteRegions globalQueryRemoteRegions or {@code null} for none
382+
*/
383+
public JobStatistics setGlobalQueryRemoteRegions(java.util.List<java.lang.String> globalQueryRemoteRegions) {
384+
this.globalQueryRemoteRegions = globalQueryRemoteRegions;
385+
return this;
386+
}
387+
357388
/**
358389
* Output only. Statistics for a load job.
359390
* @return value or {@code null} for none
@@ -388,6 +419,23 @@ public JobStatistics setNumChildJobs(java.lang.Long numChildJobs) {
388419
return this;
389420
}
390421

422+
/**
423+
* Output only. The global query that created this job.
424+
* @return value or {@code null} for none
425+
*/
426+
public JobReference getParentGlobalQueryJob() {
427+
return parentGlobalQueryJob;
428+
}
429+
430+
/**
431+
* Output only. The global query that created this job.
432+
* @param parentGlobalQueryJob parentGlobalQueryJob or {@code null} for none
433+
*/
434+
public JobStatistics setParentGlobalQueryJob(JobReference parentGlobalQueryJob) {
435+
this.parentGlobalQueryJob = parentGlobalQueryJob;
436+
return this;
437+
}
438+
391439
/**
392440
* Output only. If this is a child job, specifies the job ID of the parent.
393441
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,13 @@ public final class JobStatistics2 extends com.google.api.client.json.GenericJson
236236
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
237237
private java.lang.Long numDmlAffectedRows;
238238

239+
/**
240+
* Output only. Storage and caching statistics per cloud provider for queries over object storage.
241+
* The value may be {@code null}.
242+
*/
243+
@com.google.api.client.util.Key
244+
private java.util.List<ObjectStorageStats> objectStorageStats;
245+
239246
/**
240247
* Output only. Performance insights.
241248
* The value may be {@code null}.
@@ -975,6 +982,23 @@ public JobStatistics2 setNumDmlAffectedRows(java.lang.Long numDmlAffectedRows) {
975982
return this;
976983
}
977984

985+
/**
986+
* Output only. Storage and caching statistics per cloud provider for queries over object storage.
987+
* @return value or {@code null} for none
988+
*/
989+
public java.util.List<ObjectStorageStats> getObjectStorageStats() {
990+
return objectStorageStats;
991+
}
992+
993+
/**
994+
* Output only. Storage and caching statistics per cloud provider for queries over object storage.
995+
* @param objectStorageStats objectStorageStats or {@code null} for none
996+
*/
997+
public JobStatistics2 setObjectStorageStats(java.util.List<ObjectStorageStats> objectStorageStats) {
998+
this.objectStorageStats = objectStorageStats;
999+
return this;
1000+
}
1001+
9781002
/**
9791003
* Output only. Performance insights.
9801004
* @return value or {@code null} for none

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,13 @@ public final class JobStatistics5 extends com.google.api.client.json.GenericJson
4343
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
4444
private java.lang.Long copiedRows;
4545

46+
/**
47+
* Output only. Destination region for a cross-region copy job. Not set for in-region copy jobs.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key
51+
private java.lang.String remoteDestinationRegion;
52+
4653
/**
4754
* Output only. Number of logical bytes copied to the destination table.
4855
* @return value or {@code null} for none
@@ -77,6 +84,23 @@ public JobStatistics5 setCopiedRows(java.lang.Long copiedRows) {
7784
return this;
7885
}
7986

87+
/**
88+
* Output only. Destination region for a cross-region copy job. Not set for in-region copy jobs.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.String getRemoteDestinationRegion() {
92+
return remoteDestinationRegion;
93+
}
94+
95+
/**
96+
* Output only. Destination region for a cross-region copy job. Not set for in-region copy jobs.
97+
* @param remoteDestinationRegion remoteDestinationRegion or {@code null} for none
98+
*/
99+
public JobStatistics5 setRemoteDestinationRegion(java.lang.String remoteDestinationRegion) {
100+
this.remoteDestinationRegion = remoteDestinationRegion;
101+
return this;
102+
}
103+
80104
@Override
81105
public JobStatistics5 set(String fieldName, Object value) {
82106
return (JobStatistics5) super.set(fieldName, value);
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.bigquery.model;
18+
19+
/**
20+
* Storage and caching statistics for object storage.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ObjectStorageStats extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
37+
private java.lang.Long cacheBytesRead;
38+
39+
/**
40+
* The cloud provider for this block of statistics.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String cloudProvider;
45+
46+
/**
47+
* Total bytes read directly from the cloud provider's storage.
48+
* The value may be {@code null}.
49+
*/
50+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
51+
private java.lang.Long objectStorageBytesRead;
52+
53+
/**
54+
* Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read.
55+
* @return value or {@code null} for none
56+
*/
57+
public java.lang.Long getCacheBytesRead() {
58+
return cacheBytesRead;
59+
}
60+
61+
/**
62+
* Total bytes read from the GCP Lakehouse-internal cache, avoiding an object storage read.
63+
* @param cacheBytesRead cacheBytesRead or {@code null} for none
64+
*/
65+
public ObjectStorageStats setCacheBytesRead(java.lang.Long cacheBytesRead) {
66+
this.cacheBytesRead = cacheBytesRead;
67+
return this;
68+
}
69+
70+
/**
71+
* The cloud provider for this block of statistics.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getCloudProvider() {
75+
return cloudProvider;
76+
}
77+
78+
/**
79+
* The cloud provider for this block of statistics.
80+
* @param cloudProvider cloudProvider or {@code null} for none
81+
*/
82+
public ObjectStorageStats setCloudProvider(java.lang.String cloudProvider) {
83+
this.cloudProvider = cloudProvider;
84+
return this;
85+
}
86+
87+
/**
88+
* Total bytes read directly from the cloud provider's storage.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getObjectStorageBytesRead() {
92+
return objectStorageBytesRead;
93+
}
94+
95+
/**
96+
* Total bytes read directly from the cloud provider's storage.
97+
* @param objectStorageBytesRead objectStorageBytesRead or {@code null} for none
98+
*/
99+
public ObjectStorageStats setObjectStorageBytesRead(java.lang.Long objectStorageBytesRead) {
100+
this.objectStorageBytesRead = objectStorageBytesRead;
101+
return this;
102+
}
103+
104+
@Override
105+
public ObjectStorageStats set(String fieldName, Object value) {
106+
return (ObjectStorageStats) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public ObjectStorageStats clone() {
111+
return (ObjectStorageStats) super.clone();
112+
}
113+
114+
}

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,9 @@ public final class QueryRequest extends com.google.api.client.json.GenericJson {
244244
/**
245245
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
246246
* execute the job.query. The expected format is
247-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
247+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
248+
* on-demand billing when set to `none`. This requires the project or organization to have
249+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
248250
* The value may be {@code null}.
249251
*/
250252
@com.google.api.client.util.Key
@@ -763,7 +765,9 @@ public QueryRequest setRequestId(java.lang.String requestId) {
763765
/**
764766
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
765767
* execute the job.query. The expected format is
766-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
768+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
769+
* on-demand billing when set to `none`. This requires the project or organization to have
770+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
767771
* @return value or {@code null} for none
768772
*/
769773
public java.lang.String getReservation() {
@@ -773,7 +777,9 @@ public java.lang.String getReservation() {
773777
/**
774778
* Optional. The reservation that jobs.query request would use. User can specify a reservation to
775779
* execute the job.query. The expected format is
776-
* `projects/{project}/locations/{location}/reservations/{reservation}`.
780+
* `projects/{project}/locations/{location}/reservations/{reservation}`. Forces the query to use
781+
* on-demand billing when set to `none`. This requires the project or organization to have
782+
* `reservation_override_mode` set to `ALLOW_ANY_OVERRIDE`.
777783
* @param reservation reservation or {@code null} for none
778784
*/
779785
public QueryRequest setReservation(java.lang.String reservation) {

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-rev20260620-2.0.0</version>
12-
<name>BigQuery API v2-rev20260620-2.0.0</name>
11+
<version>v2-rev20260707-2.0.0</version>
12+
<name>BigQuery API v2-rev20260707-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

0 commit comments

Comments
 (0)