Skip to content

Commit 077afd8

Browse files
1 parent 88398bd commit 077afd8

File tree

7 files changed

+48
-24
lines changed

7 files changed

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

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
* associates the query with a given session. * **query_label**: associates the query with a given
2828
* job label. If set, all subsequent queries in a script or session will have this label. For the
2929
* format in which a you can specify a query label, see labels in the JobConfiguration resource
30-
* type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration Additional
30+
* type: https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#jobconfiguration *
31+
* **service_account**: indicates the service account to use to run a continuous query. If set, the
32+
* query job uses the service account to access Google Cloud resources. Service account access is
33+
* bounded by the IAM permissions that you have granted to the service account. Additional
3134
* properties are allowed, but ignored. Specifying multiple connection properties with the same key
3235
* returns an error.
3336
*

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,22 @@
3030
public final class PartitionedColumn extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Output only. The name of the partition column.
33+
* Required. The name of the partition column.
3434
* The value may be {@code null}.
3535
*/
3636
@com.google.api.client.util.Key
3737
private java.lang.String field;
3838

3939
/**
40-
* Output only. The name of the partition column.
40+
* Required. The name of the partition column.
4141
* @return value or {@code null} for none
4242
*/
4343
public java.lang.String getField() {
4444
return field;
4545
}
4646

4747
/**
48-
* Output only. The name of the partition column.
48+
* Required. The name of the partition column.
4949
* @param field field or {@code null} for none
5050
*/
5151
public PartitionedColumn setField(java.lang.String field) {

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

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
package com.google.api.services.bigquery.model;
1818

1919
/**
20-
* The partitioning information, which includes managed table and external table partition
21-
* information.
20+
* The partitioning information, which includes managed table, external table and metastore
21+
* partitioned table partition information.
2222
*
2323
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2424
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:
@@ -31,8 +31,13 @@
3131
public final class PartitioningDefinition extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* Output only. Details about each partitioning column. BigQuery native tables only support 1
35-
* partitioning column. Other table types may support 0, 1 or more partitioning columns.
34+
* Optional. Details about each partitioning column. This field is output only for all
35+
* partitioning types other than metastore partitioned tables. BigQuery native tables only support
36+
* 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For
37+
* metastore partitioned tables, the order must match the definition order in the Hive Metastore,
38+
* where it must match the physical layout of the table. For example, CREATE TABLE a_table(id
39+
* BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must
40+
* be ['city', 'state'] in that order.
3641
* The value may be {@code null}.
3742
*/
3843
@com.google.api.client.util.Key
@@ -45,17 +50,27 @@ public final class PartitioningDefinition extends com.google.api.client.json.Gen
4550
}
4651

4752
/**
48-
* Output only. Details about each partitioning column. BigQuery native tables only support 1
49-
* partitioning column. Other table types may support 0, 1 or more partitioning columns.
53+
* Optional. Details about each partitioning column. This field is output only for all
54+
* partitioning types other than metastore partitioned tables. BigQuery native tables only support
55+
* 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For
56+
* metastore partitioned tables, the order must match the definition order in the Hive Metastore,
57+
* where it must match the physical layout of the table. For example, CREATE TABLE a_table(id
58+
* BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must
59+
* be ['city', 'state'] in that order.
5060
* @return value or {@code null} for none
5161
*/
5262
public java.util.List<PartitionedColumn> getPartitionedColumn() {
5363
return partitionedColumn;
5464
}
5565

5666
/**
57-
* Output only. Details about each partitioning column. BigQuery native tables only support 1
58-
* partitioning column. Other table types may support 0, 1 or more partitioning columns.
67+
* Optional. Details about each partitioning column. This field is output only for all
68+
* partitioning types other than metastore partitioned tables. BigQuery native tables only support
69+
* 1 partitioning column. Other table types may support 0, 1 or more partitioning columns. For
70+
* metastore partitioned tables, the order must match the definition order in the Hive Metastore,
71+
* where it must match the physical layout of the table. For example, CREATE TABLE a_table(id
72+
* BIGINT, name STRING) PARTITIONED BY (city STRING, state STRING). In this case the values must
73+
* be ['city', 'state'] in that order.
5974
* @param partitionedColumn partitionedColumn or {@code null} for none
6075
*/
6176
public PartitioningDefinition setPartitionedColumn(java.util.List<PartitionedColumn> partitionedColumn) {

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

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -305,8 +305,10 @@ public final class Table extends com.google.api.client.json.GenericJson {
305305
private java.lang.Long numTotalPhysicalBytes;
306306

307307
/**
308-
* Output only. The partition information for all table formats, including managed partitioned
309-
* tables, hive partitioned tables, and iceberg partitioned tables.
308+
* Optional. The partition information for all table formats, including managed partitioned
309+
* tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This
310+
* field is only populated for metastore partitioned tables. For other table formats, this is an
311+
* output only field.
310312
* The value may be {@code null}.
311313
*/
312314
@com.google.api.client.util.Key
@@ -1089,17 +1091,21 @@ public Table setNumTotalPhysicalBytes(java.lang.Long numTotalPhysicalBytes) {
10891091
}
10901092

10911093
/**
1092-
* Output only. The partition information for all table formats, including managed partitioned
1093-
* tables, hive partitioned tables, and iceberg partitioned tables.
1094+
* Optional. The partition information for all table formats, including managed partitioned
1095+
* tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This
1096+
* field is only populated for metastore partitioned tables. For other table formats, this is an
1097+
* output only field.
10941098
* @return value or {@code null} for none
10951099
*/
10961100
public PartitioningDefinition getPartitionDefinition() {
10971101
return partitionDefinition;
10981102
}
10991103

11001104
/**
1101-
* Output only. The partition information for all table formats, including managed partitioned
1102-
* tables, hive partitioned tables, and iceberg partitioned tables.
1105+
* Optional. The partition information for all table formats, including managed partitioned
1106+
* tables, hive partitioned tables, iceberg partitioned, and metastore partitioned tables. This
1107+
* field is only populated for metastore partitioned tables. For other table formats, this is an
1108+
* output only field.
11031109
* @param partitionDefinition partitionDefinition or {@code null} for none
11041110
*/
11051111
public Table setPartitionDefinition(PartitioningDefinition partitionDefinition) {

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

0 commit comments

Comments
 (0)