Skip to content

Commit a223fae

Browse files
1 parent 8a30308 commit a223fae

File tree

11 files changed

+334
-25
lines changed

11 files changed

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

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ public List setAll(java.lang.Boolean all) {
915915

916916
/**
917917
* An expression for filtering the results of the request by label. The syntax is
918-
* `labels.[:]`. Multiple filters can be ANDed together by connecting with a space. Example:
918+
* `labels.[:]`. Multiple filters can be AND-ed together by connecting with a space. Example:
919919
* `labels.department:receiving labels.active`. See [Filtering datasets using
920920
* labels](https://cloud.google.com/bigquery/docs/filtering-
921921
* labels#filtering_datasets_using_labels) for details.
@@ -924,7 +924,7 @@ public List setAll(java.lang.Boolean all) {
924924
private java.lang.String filter;
925925

926926
/** An expression for filtering the results of the request by label. The syntax is `labels.[:]`.
927-
Multiple filters can be ANDed together by connecting with a space. Example:
927+
Multiple filters can be AND-ed together by connecting with a space. Example:
928928
`labels.department:receiving labels.active`. See [Filtering datasets using
929929
labels](https://cloud.google.com/bigquery/docs/filtering-labels#filtering_datasets_using_labels)
930930
for details.
@@ -935,7 +935,7 @@ public java.lang.String getFilter() {
935935

936936
/**
937937
* An expression for filtering the results of the request by label. The syntax is
938-
* `labels.[:]`. Multiple filters can be ANDed together by connecting with a space. Example:
938+
* `labels.[:]`. Multiple filters can be AND-ed together by connecting with a space. Example:
939939
* `labels.department:receiving labels.active`. See [Filtering datasets using
940940
* labels](https://cloud.google.com/bigquery/docs/filtering-
941941
* labels#filtering_datasets_using_labels) for details.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public final class AggregateClassificationMetrics extends com.google.api.client.
8080

8181
/**
8282
* Threshold at which the metrics are computed. For binary classification models this is the
83-
* positive class threshold. For multi-class classfication models this is the confidence
83+
* positive class threshold. For multi-class classification models this is the confidence
8484
* threshold.
8585
* The value may be {@code null}.
8686
*/
@@ -199,7 +199,7 @@ public AggregateClassificationMetrics setRocAuc(java.lang.Double rocAuc) {
199199

200200
/**
201201
* Threshold at which the metrics are computed. For binary classification models this is the
202-
* positive class threshold. For multi-class classfication models this is the confidence
202+
* positive class threshold. For multi-class classification models this is the confidence
203203
* threshold.
204204
* @return value or {@code null} for none
205205
*/
@@ -209,7 +209,7 @@ public java.lang.Double getThreshold() {
209209

210210
/**
211211
* Threshold at which the metrics are computed. For binary classification models this is the
212-
* positive class threshold. For multi-class classfication models this is the confidence
212+
* positive class threshold. For multi-class classification models this is the confidence
213213
* threshold.
214214
* @param threshold threshold or {@code null} for none
215215
*/

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

Lines changed: 129 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,20 @@ public final class ExternalDataConfiguration extends com.google.api.client.json.
7777
@com.google.api.client.util.Key
7878
private CsvOptions csvOptions;
7979

80+
/**
81+
* Optional. Format used to parse DATE values. Supports C-style and SQL-style values.
82+
* The value may be {@code null}.
83+
*/
84+
@com.google.api.client.util.Key
85+
private java.lang.String dateFormat;
86+
87+
/**
88+
* Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.
89+
* The value may be {@code null}.
90+
*/
91+
@com.google.api.client.util.Key
92+
private java.lang.String datetimeFormat;
93+
8094
/**
8195
* Defines the list of possible SQL data types to which the source decimal values are converted.
8296
* This list and the precision and the scale parameters of the decimal field determine the target
@@ -88,7 +102,7 @@ public final class ExternalDataConfiguration extends com.google.api.client.json.
88102
* this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9)
89103
* -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot
90104
* hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value
91-
* exeeds supported range). This field cannot contain duplicate types. The order of the types in
105+
* exceeds supported range). This field cannot contain duplicate types. The order of the types in
92106
* this field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC",
93107
* "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC",
94108
* "STRING"] for ORC and ["NUMERIC"] for the other file formats.
@@ -226,6 +240,29 @@ public final class ExternalDataConfiguration extends com.google.api.client.json.
226240
@com.google.api.client.util.Key
227241
private java.util.List<java.lang.String> sourceUris;
228242

243+
/**
244+
* Optional. Format used to parse TIME values. Supports C-style and SQL-style values.
245+
* The value may be {@code null}.
246+
*/
247+
@com.google.api.client.util.Key
248+
private java.lang.String timeFormat;
249+
250+
/**
251+
* Optional. Time zone used when parsing timestamp values that do not have specific time zone
252+
* information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g.
253+
* America/Los_Angeles).
254+
* The value may be {@code null}.
255+
*/
256+
@com.google.api.client.util.Key
257+
private java.lang.String timeZone;
258+
259+
/**
260+
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
261+
* The value may be {@code null}.
262+
*/
263+
@com.google.api.client.util.Key
264+
private java.lang.String timestampFormat;
265+
229266
/**
230267
* Try to detect schema and format options automatically. Any option specified explicitly will be
231268
* honored.
@@ -340,6 +377,40 @@ public ExternalDataConfiguration setCsvOptions(CsvOptions csvOptions) {
340377
return this;
341378
}
342379

380+
/**
381+
* Optional. Format used to parse DATE values. Supports C-style and SQL-style values.
382+
* @return value or {@code null} for none
383+
*/
384+
public java.lang.String getDateFormat() {
385+
return dateFormat;
386+
}
387+
388+
/**
389+
* Optional. Format used to parse DATE values. Supports C-style and SQL-style values.
390+
* @param dateFormat dateFormat or {@code null} for none
391+
*/
392+
public ExternalDataConfiguration setDateFormat(java.lang.String dateFormat) {
393+
this.dateFormat = dateFormat;
394+
return this;
395+
}
396+
397+
/**
398+
* Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.
399+
* @return value or {@code null} for none
400+
*/
401+
public java.lang.String getDatetimeFormat() {
402+
return datetimeFormat;
403+
}
404+
405+
/**
406+
* Optional. Format used to parse DATETIME values. Supports C-style and SQL-style values.
407+
* @param datetimeFormat datetimeFormat or {@code null} for none
408+
*/
409+
public ExternalDataConfiguration setDatetimeFormat(java.lang.String datetimeFormat) {
410+
this.datetimeFormat = datetimeFormat;
411+
return this;
412+
}
413+
343414
/**
344415
* Defines the list of possible SQL data types to which the source decimal values are converted.
345416
* This list and the precision and the scale parameters of the decimal field determine the target
@@ -351,7 +422,7 @@ public ExternalDataConfiguration setCsvOptions(CsvOptions csvOptions) {
351422
* this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9)
352423
* -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot
353424
* hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value
354-
* exeeds supported range). This field cannot contain duplicate types. The order of the types in
425+
* exceeds supported range). This field cannot contain duplicate types. The order of the types in
355426
* this field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC",
356427
* "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC",
357428
* "STRING"] for ORC and ["NUMERIC"] for the other file formats.
@@ -372,7 +443,7 @@ public java.util.List<java.lang.String> getDecimalTargetTypes() {
372443
* this field is ["NUMERIC", "BIGNUMERIC"]. If (precision,scale) is: * (38,9) -> NUMERIC; * (39,9)
373444
* -> BIGNUMERIC (NUMERIC cannot hold 30 integer digits); * (38,10) -> BIGNUMERIC (NUMERIC cannot
374445
* hold 10 fractional digits); * (76,38) -> BIGNUMERIC; * (77,38) -> BIGNUMERIC (error if value
375-
* exeeds supported range). This field cannot contain duplicate types. The order of the types in
446+
* exceeds supported range). This field cannot contain duplicate types. The order of the types in
376447
* this field is ignored. For example, ["BIGNUMERIC", "NUMERIC"] is the same as ["NUMERIC",
377448
* "BIGNUMERIC"] and NUMERIC always takes precedence over BIGNUMERIC. Defaults to ["NUMERIC",
378449
* "STRING"] for ORC and ["NUMERIC"] for the other file formats.
@@ -683,6 +754,61 @@ public ExternalDataConfiguration setSourceUris(java.util.List<java.lang.String>
683754
return this;
684755
}
685756

757+
/**
758+
* Optional. Format used to parse TIME values. Supports C-style and SQL-style values.
759+
* @return value or {@code null} for none
760+
*/
761+
public java.lang.String getTimeFormat() {
762+
return timeFormat;
763+
}
764+
765+
/**
766+
* Optional. Format used to parse TIME values. Supports C-style and SQL-style values.
767+
* @param timeFormat timeFormat or {@code null} for none
768+
*/
769+
public ExternalDataConfiguration setTimeFormat(java.lang.String timeFormat) {
770+
this.timeFormat = timeFormat;
771+
return this;
772+
}
773+
774+
/**
775+
* Optional. Time zone used when parsing timestamp values that do not have specific time zone
776+
* information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g.
777+
* America/Los_Angeles).
778+
* @return value or {@code null} for none
779+
*/
780+
public java.lang.String getTimeZone() {
781+
return timeZone;
782+
}
783+
784+
/**
785+
* Optional. Time zone used when parsing timestamp values that do not have specific time zone
786+
* information (e.g. 2024-04-20 12:34:56). The expected format is a IANA timezone string (e.g.
787+
* America/Los_Angeles).
788+
* @param timeZone timeZone or {@code null} for none
789+
*/
790+
public ExternalDataConfiguration setTimeZone(java.lang.String timeZone) {
791+
this.timeZone = timeZone;
792+
return this;
793+
}
794+
795+
/**
796+
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
797+
* @return value or {@code null} for none
798+
*/
799+
public java.lang.String getTimestampFormat() {
800+
return timestampFormat;
801+
}
802+
803+
/**
804+
* Optional. Format used to parse TIMESTAMP values. Supports C-style and SQL-style values.
805+
* @param timestampFormat timestampFormat or {@code null} for none
806+
*/
807+
public ExternalDataConfiguration setTimestampFormat(java.lang.String timestampFormat) {
808+
this.timestampFormat = timestampFormat;
809+
return this;
810+
}
811+
686812
@Override
687813
public ExternalDataConfiguration set(String fieldName, Object value) {
688814
return (ExternalDataConfiguration) super.set(fieldName, value);

0 commit comments

Comments
 (0)