Skip to content

Commit b367fcf

Browse files
1 parent e88cb5c commit b367fcf

File tree

5 files changed

+177
-9
lines changed

5 files changed

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

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

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ public final class MaterializedViewDefinition extends com.google.api.client.json
3131

3232
/**
3333
* Optional. This option declares the intention to construct a materialized view that isn't
34-
* refreshed incrementally.
34+
* refreshed incrementally. Non-incremental materialized views support an expanded range of SQL
35+
* queries. The `allow_non_incremental_definition` option can't be changed after the materialized
36+
* view is created.
3537
* The value may be {@code null}.
3638
*/
3739
@com.google.api.client.util.Key
@@ -78,7 +80,9 @@ public final class MaterializedViewDefinition extends com.google.api.client.json
7880

7981
/**
8082
* Optional. This option declares the intention to construct a materialized view that isn't
81-
* refreshed incrementally.
83+
* refreshed incrementally. Non-incremental materialized views support an expanded range of SQL
84+
* queries. The `allow_non_incremental_definition` option can't be changed after the materialized
85+
* view is created.
8286
* @return value or {@code null} for none
8387
*/
8488
public java.lang.Boolean getAllowNonIncrementalDefinition() {
@@ -87,7 +91,9 @@ public java.lang.Boolean getAllowNonIncrementalDefinition() {
8791

8892
/**
8993
* Optional. This option declares the intention to construct a materialized view that isn't
90-
* refreshed incrementally.
94+
* refreshed incrementally. Non-incremental materialized views support an expanded range of SQL
95+
* queries. The `allow_non_incremental_definition` option can't be changed after the materialized
96+
* view is created.
9197
* @param allowNonIncrementalDefinition allowNonIncrementalDefinition or {@code null} for none
9298
*/
9399
public MaterializedViewDefinition setAllowNonIncrementalDefinition(java.lang.Boolean allowNonIncrementalDefinition) {

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

Lines changed: 162 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,29 @@ public final class QueryResponse extends com.google.api.client.json.GenericJson
3636
@com.google.api.client.util.Key
3737
private java.lang.Boolean cacheHit;
3838

39+
/**
40+
* Output only. Creation time of this query, in milliseconds since the epoch. This field will be
41+
* present on all queries.
42+
* The value may be {@code null}.
43+
*/
44+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
45+
private java.lang.Long creationTime;
46+
3947
/**
4048
* Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.
4149
* The value may be {@code null}.
4250
*/
4351
@com.google.api.client.util.Key
4452
private DmlStatistics dmlStats;
4553

54+
/**
55+
* Output only. End time of this query, in milliseconds since the epoch. This field will be
56+
* present whenever a query job is in the DONE state.
57+
* The value may be {@code null}.
58+
*/
59+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
60+
private java.lang.Long endTime;
61+
4662
/**
4763
* Output only. The first errors or warnings encountered during the running of the job. The final
4864
* message includes the number of errors that caused the process to stop. Errors here do not
@@ -95,6 +111,14 @@ public final class QueryResponse extends com.google.api.client.json.GenericJson
95111
@com.google.api.client.util.Key
96112
private java.lang.String kind;
97113

114+
/**
115+
* Output only. The geographic location of the query. For more information about BigQuery
116+
* locations, see: https://cloud.google.com/bigquery/docs/locations
117+
* The value may be {@code null}.
118+
*/
119+
@com.google.api.client.util.Key
120+
private java.lang.String location;
121+
98122
/**
99123
* Output only. The number of rows affected by a DML statement. Present only for DML statements
100124
* INSERT, UPDATE or DELETE.
@@ -144,6 +168,23 @@ public final class QueryResponse extends com.google.api.client.json.GenericJson
144168
@com.google.api.client.util.Key
145169
private SessionInfo sessionInfo;
146170

171+
/**
172+
* Output only. Start time of this query, in milliseconds since the epoch. This field will be
173+
* present when the query job transitions from the PENDING state to either RUNNING or DONE.
174+
* The value may be {@code null}.
175+
*/
176+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
177+
private java.lang.Long startTime;
178+
179+
/**
180+
* Output only. If the project is configured to use on-demand pricing, then this field contains
181+
* the total bytes billed for the job. If the project is configured to use flat-rate pricing, then
182+
* you are not billed for bytes and this field is informational only.
183+
* The value may be {@code null}.
184+
*/
185+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
186+
private java.lang.Long totalBytesBilled;
187+
147188
/**
148189
* The total number of bytes processed for this query. If this query was a dry run, this is the
149190
* number of bytes that would be processed if the query were run.
@@ -160,6 +201,13 @@ public final class QueryResponse extends com.google.api.client.json.GenericJson
160201
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
161202
private java.math.BigInteger totalRows;
162203

204+
/**
205+
* Output only. Number of slot ms the user is actually billed for.
206+
* The value may be {@code null}.
207+
*/
208+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
209+
private java.lang.Long totalSlotMs;
210+
163211
/**
164212
* Whether the query result was fetched from the query cache.
165213
* @return value or {@code null} for none
@@ -177,6 +225,25 @@ public QueryResponse setCacheHit(java.lang.Boolean cacheHit) {
177225
return this;
178226
}
179227

228+
/**
229+
* Output only. Creation time of this query, in milliseconds since the epoch. This field will be
230+
* present on all queries.
231+
* @return value or {@code null} for none
232+
*/
233+
public java.lang.Long getCreationTime() {
234+
return creationTime;
235+
}
236+
237+
/**
238+
* Output only. Creation time of this query, in milliseconds since the epoch. This field will be
239+
* present on all queries.
240+
* @param creationTime creationTime or {@code null} for none
241+
*/
242+
public QueryResponse setCreationTime(java.lang.Long creationTime) {
243+
this.creationTime = creationTime;
244+
return this;
245+
}
246+
180247
/**
181248
* Output only. Detailed statistics for DML statements INSERT, UPDATE, DELETE, MERGE or TRUNCATE.
182249
* @return value or {@code null} for none
@@ -194,6 +261,25 @@ public QueryResponse setDmlStats(DmlStatistics dmlStats) {
194261
return this;
195262
}
196263

264+
/**
265+
* Output only. End time of this query, in milliseconds since the epoch. This field will be
266+
* present whenever a query job is in the DONE state.
267+
* @return value or {@code null} for none
268+
*/
269+
public java.lang.Long getEndTime() {
270+
return endTime;
271+
}
272+
273+
/**
274+
* Output only. End time of this query, in milliseconds since the epoch. This field will be
275+
* present whenever a query job is in the DONE state.
276+
* @param endTime endTime or {@code null} for none
277+
*/
278+
public QueryResponse setEndTime(java.lang.Long endTime) {
279+
this.endTime = endTime;
280+
return this;
281+
}
282+
197283
/**
198284
* Output only. The first errors or warnings encountered during the running of the job. The final
199285
* message includes the number of errors that caused the process to stop. Errors here do not
@@ -301,6 +387,25 @@ public QueryResponse setKind(java.lang.String kind) {
301387
return this;
302388
}
303389

390+
/**
391+
* Output only. The geographic location of the query. For more information about BigQuery
392+
* locations, see: https://cloud.google.com/bigquery/docs/locations
393+
* @return value or {@code null} for none
394+
*/
395+
public java.lang.String getLocation() {
396+
return location;
397+
}
398+
399+
/**
400+
* Output only. The geographic location of the query. For more information about BigQuery
401+
* locations, see: https://cloud.google.com/bigquery/docs/locations
402+
* @param location location or {@code null} for none
403+
*/
404+
public QueryResponse setLocation(java.lang.String location) {
405+
this.location = location;
406+
return this;
407+
}
408+
304409
/**
305410
* Output only. The number of rows affected by a DML statement. Present only for DML statements
306411
* INSERT, UPDATE or DELETE.
@@ -417,6 +522,46 @@ public QueryResponse setSessionInfo(SessionInfo sessionInfo) {
417522
return this;
418523
}
419524

525+
/**
526+
* Output only. Start time of this query, in milliseconds since the epoch. This field will be
527+
* present when the query job transitions from the PENDING state to either RUNNING or DONE.
528+
* @return value or {@code null} for none
529+
*/
530+
public java.lang.Long getStartTime() {
531+
return startTime;
532+
}
533+
534+
/**
535+
* Output only. Start time of this query, in milliseconds since the epoch. This field will be
536+
* present when the query job transitions from the PENDING state to either RUNNING or DONE.
537+
* @param startTime startTime or {@code null} for none
538+
*/
539+
public QueryResponse setStartTime(java.lang.Long startTime) {
540+
this.startTime = startTime;
541+
return this;
542+
}
543+
544+
/**
545+
* Output only. If the project is configured to use on-demand pricing, then this field contains
546+
* the total bytes billed for the job. If the project is configured to use flat-rate pricing, then
547+
* you are not billed for bytes and this field is informational only.
548+
* @return value or {@code null} for none
549+
*/
550+
public java.lang.Long getTotalBytesBilled() {
551+
return totalBytesBilled;
552+
}
553+
554+
/**
555+
* Output only. If the project is configured to use on-demand pricing, then this field contains
556+
* the total bytes billed for the job. If the project is configured to use flat-rate pricing, then
557+
* you are not billed for bytes and this field is informational only.
558+
* @param totalBytesBilled totalBytesBilled or {@code null} for none
559+
*/
560+
public QueryResponse setTotalBytesBilled(java.lang.Long totalBytesBilled) {
561+
this.totalBytesBilled = totalBytesBilled;
562+
return this;
563+
}
564+
420565
/**
421566
* The total number of bytes processed for this query. If this query was a dry run, this is the
422567
* number of bytes that would be processed if the query were run.
@@ -455,6 +600,23 @@ public QueryResponse setTotalRows(java.math.BigInteger totalRows) {
455600
return this;
456601
}
457602

603+
/**
604+
* Output only. Number of slot ms the user is actually billed for.
605+
* @return value or {@code null} for none
606+
*/
607+
public java.lang.Long getTotalSlotMs() {
608+
return totalSlotMs;
609+
}
610+
611+
/**
612+
* Output only. Number of slot ms the user is actually billed for.
613+
* @param totalSlotMs totalSlotMs or {@code null} for none
614+
*/
615+
public QueryResponse setTotalSlotMs(java.lang.Long totalSlotMs) {
616+
this.totalSlotMs = totalSlotMs;
617+
return this;
618+
}
619+
458620
@Override
459621
public QueryResponse set(String fieldName, Object value) {
460622
return (QueryResponse) super.set(fieldName, value);

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-rev20241222-2.0.0</version>
12-
<name>BigQuery API v2-rev20241222-2.0.0</name>
11+
<version>v2-rev20250112-2.0.0</version>
12+
<name>BigQuery API v2-rev20250112-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-rev20241222-2.0.0</version>
25+
<version>v2-rev20250112-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-rev20241222-2.0.0'
38+
implementation 'com.google.apis:google-api-services-bigquery:v2-rev20250112-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)