Skip to content

Commit cc44fa1

Browse files
1 parent 5ff3fba commit cc44fa1

File tree

8 files changed

+95
-31
lines changed

8 files changed

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

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

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

1919
/**
20-
* Data policy option proto, it currently supports name only, will support precedence later.
20+
* Data policy option. For more information, see [Mask data by applying data policies to a
21+
* column](https://cloud.google.com/bigquery/docs/column-data-masking#data-policies-on-column/).
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,15 @@ public final class JobConfiguration extends com.google.api.client.json.GenericJs
8787
@com.google.api.client.util.Key
8888
private JobConfigurationLoad load;
8989

90+
/**
91+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
92+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
93+
* consumption below the requested rate.
94+
* The value may be {@code null}.
95+
*/
96+
@com.google.api.client.util.Key
97+
private java.lang.Integer maxSlots;
98+
9099
/**
91100
* [Pick one] Configures a query job.
92101
* The value may be {@code null}.
@@ -241,6 +250,27 @@ public JobConfiguration setLoad(JobConfigurationLoad load) {
241250
return this;
242251
}
243252

253+
/**
254+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
255+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
256+
* consumption below the requested rate.
257+
* @return value or {@code null} for none
258+
*/
259+
public java.lang.Integer getMaxSlots() {
260+
return maxSlots;
261+
}
262+
263+
/**
264+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
265+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
266+
* consumption below the requested rate.
267+
* @param maxSlots maxSlots or {@code null} for none
268+
*/
269+
public JobConfiguration setMaxSlots(java.lang.Integer maxSlots) {
270+
this.maxSlots = maxSlots;
271+
return this;
272+
}
273+
244274
/**
245275
* [Pick one] Configures a query job.
246276
* @return value or {@code null} for none

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,15 @@ public final class QueryRequest extends com.google.api.client.json.GenericJson {
146146
@com.google.api.client.util.Key
147147
private java.lang.Long maxResults;
148148

149+
/**
150+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
151+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
152+
* consumption below the requested rate. This limit is best effort.
153+
* The value may be {@code null}.
154+
*/
155+
@com.google.api.client.util.Key
156+
private java.lang.Integer maxSlots;
157+
149158
/**
150159
* Optional. Limits the bytes billed for this query. Queries with bytes billed above this limit
151160
* will fail (without incurring a charge). If unspecified, the project default is used.
@@ -524,6 +533,27 @@ public QueryRequest setMaxResults(java.lang.Long maxResults) {
524533
return this;
525534
}
526535

536+
/**
537+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
538+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
539+
* consumption below the requested rate. This limit is best effort.
540+
* @return value or {@code null} for none
541+
*/
542+
public java.lang.Integer getMaxSlots() {
543+
return maxSlots;
544+
}
545+
546+
/**
547+
* Optional. INTERNAL: DO NOT USE. The maximum rate of slot consumption to allow for this job. If
548+
* set, the number of slots used to execute the job will be throttled to try and keep its slot
549+
* consumption below the requested rate. This limit is best effort.
550+
* @param maxSlots maxSlots or {@code null} for none
551+
*/
552+
public QueryRequest setMaxSlots(java.lang.Integer maxSlots) {
553+
this.maxSlots = maxSlots;
554+
return this;
555+
}
556+
527557
/**
528558
* Optional. Limits the bytes billed for this query. Queries with bytes billed above this limit
529559
* will fail (without incurring a charge). If unspecified, the project default is used.

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

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,14 @@ public final class Routine extends com.google.api.client.json.GenericJson {
6060

6161
/**
6262
* Required. The body of the routine. For functions, this is the expression in the AS clause. If
63-
* language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the
64-
* function created with the following statement: `CREATE FUNCTION JoinLines(x string, y string)
65-
* as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced with
66-
* linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example,
67-
* for the function created with the following statement: `CREATE FUNCTION f() RETURNS STRING
68-
* LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n` Note that both \n are
69-
* replaced with linebreaks.
63+
* `language = "SQL"`, it is the substring inside (but excluding) the parentheses. For example,
64+
* for the function created with the following statement: `CREATE FUNCTION JoinLines(x string, y
65+
* string) as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not
66+
* replaced with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the AS
67+
* clause. For example, for the function created with the following statement: `CREATE FUNCTION
68+
* f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n`
69+
* Note that both \n are replaced with linebreaks. If `definition_body` references another
70+
* routine, then that routine must be fully qualified with its project ID.
7071
* The value may be {@code null}.
7172
*/
7273
@com.google.api.client.util.Key
@@ -266,13 +267,14 @@ public Routine setDataGovernanceType(java.lang.String dataGovernanceType) {
266267

267268
/**
268269
* Required. The body of the routine. For functions, this is the expression in the AS clause. If
269-
* language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the
270-
* function created with the following statement: `CREATE FUNCTION JoinLines(x string, y string)
271-
* as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced with
272-
* linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example,
273-
* for the function created with the following statement: `CREATE FUNCTION f() RETURNS STRING
274-
* LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n` Note that both \n are
275-
* replaced with linebreaks.
270+
* `language = "SQL"`, it is the substring inside (but excluding) the parentheses. For example,
271+
* for the function created with the following statement: `CREATE FUNCTION JoinLines(x string, y
272+
* string) as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not
273+
* replaced with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the AS
274+
* clause. For example, for the function created with the following statement: `CREATE FUNCTION
275+
* f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n`
276+
* Note that both \n are replaced with linebreaks. If `definition_body` references another
277+
* routine, then that routine must be fully qualified with its project ID.
276278
* @return value or {@code null} for none
277279
*/
278280
public java.lang.String getDefinitionBody() {
@@ -281,13 +283,14 @@ public java.lang.String getDefinitionBody() {
281283

282284
/**
283285
* Required. The body of the routine. For functions, this is the expression in the AS clause. If
284-
* language=SQL, it is the substring inside (but excluding) the parentheses. For example, for the
285-
* function created with the following statement: `CREATE FUNCTION JoinLines(x string, y string)
286-
* as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not replaced with
287-
* linebreak). If language=JAVASCRIPT, it is the evaluated string in the AS clause. For example,
288-
* for the function created with the following statement: `CREATE FUNCTION f() RETURNS STRING
289-
* LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n` Note that both \n are
290-
* replaced with linebreaks.
286+
* `language = "SQL"`, it is the substring inside (but excluding) the parentheses. For example,
287+
* for the function created with the following statement: `CREATE FUNCTION JoinLines(x string, y
288+
* string) as (concat(x, "\n", y))` The definition_body is `concat(x, "\n", y)` (\n is not
289+
* replaced with linebreak). If `language="JAVASCRIPT"`, it is the evaluated string in the AS
290+
* clause. For example, for the function created with the following statement: `CREATE FUNCTION
291+
* f() RETURNS STRING LANGUAGE js AS 'return "\n";\n'` The definition_body is `return "\n";\n`
292+
* Note that both \n are replaced with linebreaks. If `definition_body` references another
293+
* routine, then that routine must be fully qualified with its project ID.
291294
* @param definitionBody definitionBody or {@code null} for none
292295
*/
293296
public Routine setDefinitionBody(java.lang.String definitionBody) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public final class TableFieldSchema extends com.google.api.client.json.GenericJs
4646
private java.lang.String collation;
4747

4848
/**
49-
* Optional. Data policy options, will replace the data_policies.
49+
* Optional. Data policies attached to this field, used for field-level access control.
5050
* The value may be {@code null}.
5151
*/
5252
@com.google.api.client.util.Key
@@ -214,15 +214,15 @@ public TableFieldSchema setCollation(java.lang.String collation) {
214214
}
215215

216216
/**
217-
* Optional. Data policy options, will replace the data_policies.
217+
* Optional. Data policies attached to this field, used for field-level access control.
218218
* @return value or {@code null} for none
219219
*/
220220
public java.util.List<DataPolicyOption> getDataPolicies() {
221221
return dataPolicies;
222222
}
223223

224224
/**
225-
* Optional. Data policy options, will replace the data_policies.
225+
* Optional. Data policies attached to this field, used for field-level access control.
226226
* @param dataPolicies dataPolicies or {@code null} for none
227227
*/
228228
public TableFieldSchema setDataPolicies(java.util.List<DataPolicyOption> dataPolicies) {

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

0 commit comments

Comments
 (0)