Skip to content

Commit 29d9a1b

Browse files
1 parent 60c7d87 commit 29d9a1b

File tree

14 files changed

+745
-69
lines changed

14 files changed

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

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
public final class ExternalServiceCost extends com.google.api.client.json.GenericJson {
3838

3939
/**
40-
* The billing method used for the external job. This field is only used when billed on the
41-
* services sku, set to "SERVICES_SKU". Otherwise, it is unspecified for backward compatibility.
40+
* The billing method used for the external job. This field, set to `SERVICES_SKU`, is only used
41+
* when billing under the services SKU. Otherwise, it is unspecified for backward compatibility.
4242
* The value may be {@code null}.
4343
*/
4444
@com.google.api.client.util.Key
@@ -81,17 +81,17 @@ public final class ExternalServiceCost extends com.google.api.client.json.Generi
8181
private java.lang.Long slotMs;
8282

8383
/**
84-
* The billing method used for the external job. This field is only used when billed on the
85-
* services sku, set to "SERVICES_SKU". Otherwise, it is unspecified for backward compatibility.
84+
* The billing method used for the external job. This field, set to `SERVICES_SKU`, is only used
85+
* when billing under the services SKU. Otherwise, it is unspecified for backward compatibility.
8686
* @return value or {@code null} for none
8787
*/
8888
public java.lang.String getBillingMethod() {
8989
return billingMethod;
9090
}
9191

9292
/**
93-
* The billing method used for the external job. This field is only used when billed on the
94-
* services sku, set to "SERVICES_SKU". Otherwise, it is unspecified for backward compatibility.
93+
* The billing method used for the external job. This field, set to `SERVICES_SKU`, is only used
94+
* when billing under the services SKU. Otherwise, it is unspecified for backward compatibility.
9595
* @param billingMethod billingMethod or {@code null} for none
9696
*/
9797
public ExternalServiceCost setBillingMethod(java.lang.String billingMethod) {
Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,121 @@
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+
* Statistics related to Incremental Query Results. Populated as part of JobStatistics2. This
21+
* feature is not yet available.
22+
*
23+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
24+
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
25+
* <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>
26+
* </p>
27+
*
28+
* @author Google, Inc.
29+
*/
30+
@SuppressWarnings("javadoc")
31+
public final class IncrementalResultStats extends com.google.api.client.json.GenericJson {
32+
33+
/**
34+
* Reason why incremental query results are/were not written by the query.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String disabledReason;
39+
40+
/**
41+
* The time at which the result table's contents were modified. May be absent if no results have
42+
* been written or the query has completed.
43+
* The value may be {@code null}.
44+
*/
45+
@com.google.api.client.util.Key
46+
private String resultSetLastModifyTime;
47+
48+
/**
49+
* The time at which the result table's contents were completely replaced. May be absent if no
50+
* results have been written or the query has completed.
51+
* The value may be {@code null}.
52+
*/
53+
@com.google.api.client.util.Key
54+
private String resultSetLastReplaceTime;
55+
56+
/**
57+
* Reason why incremental query results are/were not written by the query.
58+
* @return value or {@code null} for none
59+
*/
60+
public java.lang.String getDisabledReason() {
61+
return disabledReason;
62+
}
63+
64+
/**
65+
* Reason why incremental query results are/were not written by the query.
66+
* @param disabledReason disabledReason or {@code null} for none
67+
*/
68+
public IncrementalResultStats setDisabledReason(java.lang.String disabledReason) {
69+
this.disabledReason = disabledReason;
70+
return this;
71+
}
72+
73+
/**
74+
* The time at which the result table's contents were modified. May be absent if no results have
75+
* been written or the query has completed.
76+
* @return value or {@code null} for none
77+
*/
78+
public String getResultSetLastModifyTime() {
79+
return resultSetLastModifyTime;
80+
}
81+
82+
/**
83+
* The time at which the result table's contents were modified. May be absent if no results have
84+
* been written or the query has completed.
85+
* @param resultSetLastModifyTime resultSetLastModifyTime or {@code null} for none
86+
*/
87+
public IncrementalResultStats setResultSetLastModifyTime(String resultSetLastModifyTime) {
88+
this.resultSetLastModifyTime = resultSetLastModifyTime;
89+
return this;
90+
}
91+
92+
/**
93+
* The time at which the result table's contents were completely replaced. May be absent if no
94+
* results have been written or the query has completed.
95+
* @return value or {@code null} for none
96+
*/
97+
public String getResultSetLastReplaceTime() {
98+
return resultSetLastReplaceTime;
99+
}
100+
101+
/**
102+
* The time at which the result table's contents were completely replaced. May be absent if no
103+
* results have been written or the query has completed.
104+
* @param resultSetLastReplaceTime resultSetLastReplaceTime or {@code null} for none
105+
*/
106+
public IncrementalResultStats setResultSetLastReplaceTime(String resultSetLastReplaceTime) {
107+
this.resultSetLastReplaceTime = resultSetLastReplaceTime;
108+
return this;
109+
}
110+
111+
@Override
112+
public IncrementalResultStats set(String fieldName, Object value) {
113+
return (IncrementalResultStats) super.set(fieldName, value);
114+
}
115+
116+
@Override
117+
public IncrementalResultStats clone() {
118+
return (IncrementalResultStats) super.clone();
119+
}
120+
121+
}
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+
* Statistics for index pruning.
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 IndexPruningStats extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* The base table reference.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private TableReference baseTable;
38+
39+
/**
40+
* The number of parallel inputs after index pruning.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
44+
private java.lang.Long postIndexPruningParallelInputCount;
45+
46+
/**
47+
* The number of parallel inputs before index pruning.
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 preIndexPruningParallelInputCount;
52+
53+
/**
54+
* The base table reference.
55+
* @return value or {@code null} for none
56+
*/
57+
public TableReference getBaseTable() {
58+
return baseTable;
59+
}
60+
61+
/**
62+
* The base table reference.
63+
* @param baseTable baseTable or {@code null} for none
64+
*/
65+
public IndexPruningStats setBaseTable(TableReference baseTable) {
66+
this.baseTable = baseTable;
67+
return this;
68+
}
69+
70+
/**
71+
* The number of parallel inputs after index pruning.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.Long getPostIndexPruningParallelInputCount() {
75+
return postIndexPruningParallelInputCount;
76+
}
77+
78+
/**
79+
* The number of parallel inputs after index pruning.
80+
* @param postIndexPruningParallelInputCount postIndexPruningParallelInputCount or {@code null} for none
81+
*/
82+
public IndexPruningStats setPostIndexPruningParallelInputCount(java.lang.Long postIndexPruningParallelInputCount) {
83+
this.postIndexPruningParallelInputCount = postIndexPruningParallelInputCount;
84+
return this;
85+
}
86+
87+
/**
88+
* The number of parallel inputs before index pruning.
89+
* @return value or {@code null} for none
90+
*/
91+
public java.lang.Long getPreIndexPruningParallelInputCount() {
92+
return preIndexPruningParallelInputCount;
93+
}
94+
95+
/**
96+
* The number of parallel inputs before index pruning.
97+
* @param preIndexPruningParallelInputCount preIndexPruningParallelInputCount or {@code null} for none
98+
*/
99+
public IndexPruningStats setPreIndexPruningParallelInputCount(java.lang.Long preIndexPruningParallelInputCount) {
100+
this.preIndexPruningParallelInputCount = preIndexPruningParallelInputCount;
101+
return this;
102+
}
103+
104+
@Override
105+
public IndexPruningStats set(String fieldName, Object value) {
106+
return (IndexPruningStats) super.set(fieldName, value);
107+
}
108+
109+
@Override
110+
public IndexPruningStats clone() {
111+
return (IndexPruningStats) super.clone();
112+
}
113+
114+
}

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ public final class JobConfiguration extends com.google.api.client.json.GenericJs
5353
private JobConfigurationExtract extract;
5454

5555
/**
56-
* Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to
57-
* stop a longer job, but may not always succeed in canceling it before the job completes. For
58-
* example, a job that takes more than 60 seconds to complete has a better chance of being stopped
59-
* than a job that takes 10 seconds to complete.
56+
* Optional. Job timeout in milliseconds relative to the job creation time. If this time limit is
57+
* exceeded, BigQuery attempts to stop the job, but might not always succeed in canceling it
58+
* before the job completes. For example, a job that takes more than 60 seconds to complete has a
59+
* better chance of being stopped than a job that takes 10 seconds to complete.
6060
* The value may be {@code null}.
6161
*/
6262
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
@@ -169,21 +169,21 @@ public JobConfiguration setExtract(JobConfigurationExtract extract) {
169169
}
170170

171171
/**
172-
* Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to
173-
* stop a longer job, but may not always succeed in canceling it before the job completes. For
174-
* example, a job that takes more than 60 seconds to complete has a better chance of being stopped
175-
* than a job that takes 10 seconds to complete.
172+
* Optional. Job timeout in milliseconds relative to the job creation time. If this time limit is
173+
* exceeded, BigQuery attempts to stop the job, but might not always succeed in canceling it
174+
* before the job completes. For example, a job that takes more than 60 seconds to complete has a
175+
* better chance of being stopped than a job that takes 10 seconds to complete.
176176
* @return value or {@code null} for none
177177
*/
178178
public java.lang.Long getJobTimeoutMs() {
179179
return jobTimeoutMs;
180180
}
181181

182182
/**
183-
* Optional. Job timeout in milliseconds. If this time limit is exceeded, BigQuery will attempt to
184-
* stop a longer job, but may not always succeed in canceling it before the job completes. For
185-
* example, a job that takes more than 60 seconds to complete has a better chance of being stopped
186-
* than a job that takes 10 seconds to complete.
183+
* Optional. Job timeout in milliseconds relative to the job creation time. If this time limit is
184+
* exceeded, BigQuery attempts to stop the job, but might not always succeed in canceling it
185+
* before the job completes. For example, a job that takes more than 60 seconds to complete has a
186+
* better chance of being stopped than a job that takes 10 seconds to complete.
187187
* @param jobTimeoutMs jobTimeoutMs or {@code null} for none
188188
*/
189189
public JobConfiguration setJobTimeoutMs(java.lang.Long jobTimeoutMs) {

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

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -363,12 +363,12 @@ public final class JobConfigurationLoad extends com.google.api.client.json.Gener
363363
/**
364364
* Allows the schema of the destination table to be updated as a side effect of the load job if a
365365
* schema is autodetected or supplied in the job configuration. Schema update options are
366-
* supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
367-
* WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition
368-
* decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of
369-
* the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
370-
* the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to
371-
* nullable.
366+
* supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
367+
* WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a
368+
* partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will
369+
* always overwrite the schema. One or more of the following values are specified: *
370+
* ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION:
371+
* allow relaxing a required field in the original schema to nullable.
372372
* The value may be {@code null}.
373373
*/
374374
@com.google.api.client.util.Key
@@ -1225,12 +1225,12 @@ public JobConfigurationLoad setSchemaInlineFormat(java.lang.String schemaInlineF
12251225
/**
12261226
* Allows the schema of the destination table to be updated as a side effect of the load job if a
12271227
* schema is autodetected or supplied in the job configuration. Schema update options are
1228-
* supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
1229-
* WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition
1230-
* decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of
1231-
* the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
1232-
* the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to
1233-
* nullable.
1228+
* supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
1229+
* WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a
1230+
* partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will
1231+
* always overwrite the schema. One or more of the following values are specified: *
1232+
* ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION:
1233+
* allow relaxing a required field in the original schema to nullable.
12341234
* @return value or {@code null} for none
12351235
*/
12361236
public java.util.List<java.lang.String> getSchemaUpdateOptions() {
@@ -1240,12 +1240,12 @@ public java.util.List<java.lang.String> getSchemaUpdateOptions() {
12401240
/**
12411241
* Allows the schema of the destination table to be updated as a side effect of the load job if a
12421242
* schema is autodetected or supplied in the job configuration. Schema update options are
1243-
* supported in two cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
1244-
* WRITE_TRUNCATE and the destination table is a partition of a table, specified by partition
1245-
* decorators. For normal tables, WRITE_TRUNCATE will always overwrite the schema. One or more of
1246-
* the following values are specified: * ALLOW_FIELD_ADDITION: allow adding a nullable field to
1247-
* the schema. * ALLOW_FIELD_RELAXATION: allow relaxing a required field in the original schema to
1248-
* nullable.
1243+
* supported in three cases: when writeDisposition is WRITE_APPEND; when writeDisposition is
1244+
* WRITE_TRUNCATE_DATA; when writeDisposition is WRITE_TRUNCATE and the destination table is a
1245+
* partition of a table, specified by partition decorators. For normal tables, WRITE_TRUNCATE will
1246+
* always overwrite the schema. One or more of the following values are specified: *
1247+
* ALLOW_FIELD_ADDITION: allow adding a nullable field to the schema. * ALLOW_FIELD_RELAXATION:
1248+
* allow relaxing a required field in the original schema to nullable.
12491249
* @param schemaUpdateOptions schemaUpdateOptions or {@code null} for none
12501250
*/
12511251
public JobConfigurationLoad setSchemaUpdateOptions(java.util.List<java.lang.String> schemaUpdateOptions) {

0 commit comments

Comments
 (0)