Skip to content

Commit 6080307

Browse files
1 parent 074112e commit 6080307

19 files changed

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

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

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,14 @@ public final class Dataset extends com.google.api.client.json.GenericJson {
5050
com.google.api.client.util.Data.nullOf(Access.class);
5151
}
5252

53+
/**
54+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset * BIGLAKE -
55+
* Dataset is backed by a namespace stored natively in Biglake
56+
* The value may be {@code null}.
57+
*/
58+
@com.google.api.client.util.Key
59+
private java.lang.String catalogSource;
60+
5361
/**
5462
* Output only. The time when this dataset was created, in milliseconds since the epoch.
5563
* The value may be {@code null}.
@@ -304,7 +312,9 @@ public final class Dataset extends com.google.api.client.json.GenericJson {
304312
/**
305313
* Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT
306314
* - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED
307-
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.
315+
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
316+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
317+
* Biglake dataset accessible through the Hive API.
308318
* The value may be {@code null}.
309319
*/
310320
@com.google.api.client.util.Key
@@ -343,6 +353,25 @@ public Dataset setAccess(java.util.List<Access> access) {
343353
return this;
344354
}
345355

356+
/**
357+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset * BIGLAKE -
358+
* Dataset is backed by a namespace stored natively in Biglake
359+
* @return value or {@code null} for none
360+
*/
361+
public java.lang.String getCatalogSource() {
362+
return catalogSource;
363+
}
364+
365+
/**
366+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset * BIGLAKE -
367+
* Dataset is backed by a namespace stored natively in Biglake
368+
* @param catalogSource catalogSource or {@code null} for none
369+
*/
370+
public Dataset setCatalogSource(java.lang.String catalogSource) {
371+
this.catalogSource = catalogSource;
372+
return this;
373+
}
374+
346375
/**
347376
* Output only. The time when this dataset was created, in milliseconds since the epoch.
348377
* @return value or {@code null} for none
@@ -920,7 +949,9 @@ public Dataset setTags(java.util.List<Tags> tags) {
920949
/**
921950
* Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT
922951
* - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED
923-
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.
952+
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
953+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
954+
* Biglake dataset accessible through the Hive API.
924955
* @return value or {@code null} for none
925956
*/
926957
public java.lang.String getType() {
@@ -930,7 +961,9 @@ public java.lang.String getType() {
930961
/**
931962
* Output only. Same as `type` in `ListFormatDataset`. The type of the dataset, one of: * DEFAULT
932963
* - only accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED
933-
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog.
964+
* - linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
965+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
966+
* Biglake dataset accessible through the Hive API.
934967
* @param type type or {@code null} for none
935968
*/
936969
public Dataset setType(java.lang.String type) {

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

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@ public DatasetList clone() {
185185
*/
186186
public static final class Datasets extends com.google.api.client.json.GenericJson {
187187

188+
/**
189+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset. * BIGLAKE
190+
* - Dataset is backed by a namespace stored natively in Biglake.
191+
* The value may be {@code null}.
192+
*/
193+
@com.google.api.client.util.Key
194+
private java.lang.String catalogSource;
195+
188196
/**
189197
* The dataset reference. Use this property to access specific parts of the dataset's ID, such as
190198
* project ID or dataset ID.
@@ -236,6 +244,36 @@ public static final class Datasets extends com.google.api.client.json.GenericJso
236244
@com.google.api.client.util.Key
237245
private java.lang.String location;
238246

247+
/**
248+
* Output only. Same as `type` in `Dataset`. The type of the dataset, one of: * DEFAULT - only
249+
* accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED -
250+
* linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
251+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
252+
* Biglake dataset accessible through the Hive API.
253+
* The value may be {@code null}.
254+
*/
255+
@com.google.api.client.util.Key
256+
private java.lang.String type;
257+
258+
/**
259+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset. * BIGLAKE
260+
* - Dataset is backed by a namespace stored natively in Biglake.
261+
* @return value or {@code null} for none
262+
*/
263+
public java.lang.String getCatalogSource() {
264+
return catalogSource;
265+
}
266+
267+
/**
268+
* Output only. The origin of the dataset, one of: * (Unset) - Native BigQuery Dataset. * BIGLAKE
269+
* - Dataset is backed by a namespace stored natively in Biglake.
270+
* @param catalogSource catalogSource or {@code null} for none
271+
*/
272+
public Datasets setCatalogSource(java.lang.String catalogSource) {
273+
this.catalogSource = catalogSource;
274+
return this;
275+
}
276+
239277
/**
240278
* The dataset reference. Use this property to access specific parts of the dataset's ID, such as
241279
* project ID or dataset ID.
@@ -359,6 +397,31 @@ public Datasets setLocation(java.lang.String location) {
359397
return this;
360398
}
361399

400+
/**
401+
* Output only. Same as `type` in `Dataset`. The type of the dataset, one of: * DEFAULT - only
402+
* accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED -
403+
* linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
404+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
405+
* Biglake dataset accessible through the Hive API.
406+
* @return value or {@code null} for none
407+
*/
408+
public java.lang.String getType() {
409+
return type;
410+
}
411+
412+
/**
413+
* Output only. Same as `type` in `Dataset`. The type of the dataset, one of: * DEFAULT - only
414+
* accessible by owner and authorized accounts, * PUBLIC - accessible by everyone, * LINKED -
415+
* linked dataset, * EXTERNAL - dataset with definition in external metadata catalog, *
416+
* BIGLAKE_ICEBERG - a Biglake dataset accessible through the Iceberg API, * BIGLAKE_HIVE - a
417+
* Biglake dataset accessible through the Hive API.
418+
* @param type type or {@code null} for none
419+
*/
420+
public Datasets setType(java.lang.String type) {
421+
this.type = type;
422+
return this;
423+
}
424+
362425
@Override
363426
public Datasets set(String fieldName, Object value) {
364427
return (Datasets) super.set(fieldName, value);

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

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -265,13 +265,13 @@ public final class ExternalDataConfiguration extends com.google.api.client.json.
265265

266266
/**
267267
* Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are
268-
* allowed to the destination table for autodetection mode. Available for the formats: CSV. For
269-
* the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto
270-
* detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that
271-
* have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns
272-
* that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP
273-
* columns. The order of the elements in this array is ignored. Inputs that have higher precision
274-
* than the highest target precision in this array will be truncated.
268+
* allowed to the destination table for autodetection mode. Available for the formats: CSV,
269+
* PARQUET, and AVRO. Possible values include: Not Specified, [], or [6]: timestamp(6) for all
270+
* auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns
271+
* that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP
272+
* columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected
273+
* TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher
274+
* precision than the highest target precision in this array will be truncated.
275275
* The value may be {@code null}.
276276
*/
277277
@com.google.api.client.util.Key
@@ -825,13 +825,13 @@ public ExternalDataConfiguration setTimestampFormat(java.lang.String timestampFo
825825

826826
/**
827827
* Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are
828-
* allowed to the destination table for autodetection mode. Available for the formats: CSV. For
829-
* the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto
830-
* detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that
831-
* have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns
832-
* that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP
833-
* columns. The order of the elements in this array is ignored. Inputs that have higher precision
834-
* than the highest target precision in this array will be truncated.
828+
* allowed to the destination table for autodetection mode. Available for the formats: CSV,
829+
* PARQUET, and AVRO. Possible values include: Not Specified, [], or [6]: timestamp(6) for all
830+
* auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns
831+
* that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP
832+
* columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected
833+
* TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher
834+
* precision than the highest target precision in this array will be truncated.
835835
* @return value or {@code null} for none
836836
*/
837837
public java.util.List<java.lang.Integer> getTimestampTargetPrecision() {
@@ -840,13 +840,13 @@ public java.util.List<java.lang.Integer> getTimestampTargetPrecision() {
840840

841841
/**
842842
* Precisions (maximum number of total digits in base 10) for seconds of TIMESTAMP types that are
843-
* allowed to the destination table for autodetection mode. Available for the formats: CSV. For
844-
* the CSV Format, Possible values include: Not Specified, [], or [6]: timestamp(6) for all auto
845-
* detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns that
846-
* have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP columns
847-
* that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected TIMESTAMP
848-
* columns. The order of the elements in this array is ignored. Inputs that have higher precision
849-
* than the highest target precision in this array will be truncated.
843+
* allowed to the destination table for autodetection mode. Available for the formats: CSV,
844+
* PARQUET, and AVRO. Possible values include: Not Specified, [], or [6]: timestamp(6) for all
845+
* auto detected TIMESTAMP columns [6, 12]: timestamp(6) for all auto detected TIMESTAMP columns
846+
* that have less than 6 digits of subseconds. timestamp(12) for all auto detected TIMESTAMP
847+
* columns that have more than 6 digits of subseconds. [12]: timestamp(12) for all auto detected
848+
* TIMESTAMP columns. The order of the elements in this array is ignored. Inputs that have higher
849+
* precision than the highest target precision in this array will be truncated.
850850
* @param timestampTargetPrecision timestampTargetPrecision or {@code null} for none
851851
*/
852852
public ExternalDataConfiguration setTimestampTargetPrecision(java.util.List<java.lang.Integer> timestampTargetPrecision) {
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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+
* Provides error statistics for the query job across all AI function calls.
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 GenAiErrorStats extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* A list of unique errors at query level (up to 5, truncated to 100 chars)
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.util.List<java.lang.String> errors;
38+
39+
/**
40+
* A list of unique errors at query level (up to 5, truncated to 100 chars)
41+
* @return value or {@code null} for none
42+
*/
43+
public java.util.List<java.lang.String> getErrors() {
44+
return errors;
45+
}
46+
47+
/**
48+
* A list of unique errors at query level (up to 5, truncated to 100 chars)
49+
* @param errors errors or {@code null} for none
50+
*/
51+
public GenAiErrorStats setErrors(java.util.List<java.lang.String> errors) {
52+
this.errors = errors;
53+
return this;
54+
}
55+
56+
@Override
57+
public GenAiErrorStats set(String fieldName, Object value) {
58+
return (GenAiErrorStats) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GenAiErrorStats clone() {
63+
return (GenAiErrorStats) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* Provides cost optimization statistics for a GenAi function call.
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 GenAiFunctionCostOptimizationStats extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* System generated message to provide insights into cost optimization state.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String message;
38+
39+
/**
40+
* Number of rows inferred via cost optimized workflow.
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 numCostOptimizedRows;
45+
46+
/**
47+
* System generated message to provide insights into cost optimization state.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getMessage() {
51+
return message;
52+
}
53+
54+
/**
55+
* System generated message to provide insights into cost optimization state.
56+
* @param message message or {@code null} for none
57+
*/
58+
public GenAiFunctionCostOptimizationStats setMessage(java.lang.String message) {
59+
this.message = message;
60+
return this;
61+
}
62+
63+
/**
64+
* Number of rows inferred via cost optimized workflow.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.lang.Long getNumCostOptimizedRows() {
68+
return numCostOptimizedRows;
69+
}
70+
71+
/**
72+
* Number of rows inferred via cost optimized workflow.
73+
* @param numCostOptimizedRows numCostOptimizedRows or {@code null} for none
74+
*/
75+
public GenAiFunctionCostOptimizationStats setNumCostOptimizedRows(java.lang.Long numCostOptimizedRows) {
76+
this.numCostOptimizedRows = numCostOptimizedRows;
77+
return this;
78+
}
79+
80+
@Override
81+
public GenAiFunctionCostOptimizationStats set(String fieldName, Object value) {
82+
return (GenAiFunctionCostOptimizationStats) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GenAiFunctionCostOptimizationStats clone() {
87+
return (GenAiFunctionCostOptimizationStats) super.clone();
88+
}
89+
90+
}

0 commit comments

Comments
 (0)