Skip to content

Commit d296170

Browse files
1 parent 9d68724 commit d296170

File tree

11 files changed

+494
-26
lines changed

11 files changed

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

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

Lines changed: 151 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5513,6 +5513,157 @@ public SetIamPolicy set(String parameterName, Object value) {
55135513
return (SetIamPolicy) super.set(parameterName, value);
55145514
}
55155515
}
5516+
/**
5517+
* Returns permissions that a caller has on the specified resource. If the resource does not exist,
5518+
* this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
5519+
* designed to be used for building permission-aware UIs and command-line tools, not for
5520+
* authorization checking. This operation may "fail open" without warning.
5521+
*
5522+
* Create a request for the method "routines.testIamPermissions".
5523+
*
5524+
* This request holds the parameters needed by the bigquery server. After setting any optional
5525+
* parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote operation.
5526+
*
5527+
* @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
5528+
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
5529+
* this field.
5530+
* @param content the {@link com.google.api.services.bigquery.model.TestIamPermissionsRequest}
5531+
* @return the request
5532+
*/
5533+
public TestIamPermissions testIamPermissions(java.lang.String resource, com.google.api.services.bigquery.model.TestIamPermissionsRequest content) throws java.io.IOException {
5534+
TestIamPermissions result = new TestIamPermissions(resource, content);
5535+
initialize(result);
5536+
return result;
5537+
}
5538+
5539+
public class TestIamPermissions extends BigqueryRequest<com.google.api.services.bigquery.model.TestIamPermissionsResponse> {
5540+
5541+
private static final String REST_PATH = "{+resource}:testIamPermissions";
5542+
5543+
private final java.util.regex.Pattern RESOURCE_PATTERN =
5544+
java.util.regex.Pattern.compile("^projects/[^/]+/datasets/[^/]+/routines/[^/]+$");
5545+
5546+
/**
5547+
* Returns permissions that a caller has on the specified resource. If the resource does not
5548+
* exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This
5549+
* operation is designed to be used for building permission-aware UIs and command-line tools, not
5550+
* for authorization checking. This operation may "fail open" without warning.
5551+
*
5552+
* Create a request for the method "routines.testIamPermissions".
5553+
*
5554+
* This request holds the parameters needed by the the bigquery server. After setting any
5555+
* optional parameters, call the {@link TestIamPermissions#execute()} method to invoke the remote
5556+
* operation. <p> {@link TestIamPermissions#initialize(com.google.api.client.googleapis.services.A
5557+
* bstractGoogleClientRequest)} must be called to initialize this instance immediately after
5558+
* invoking the constructor. </p>
5559+
*
5560+
* @param resource REQUIRED: The resource for which the policy detail is being requested. See [Resource
5561+
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
5562+
* this field.
5563+
* @param content the {@link com.google.api.services.bigquery.model.TestIamPermissionsRequest}
5564+
* @since 1.13
5565+
*/
5566+
protected TestIamPermissions(java.lang.String resource, com.google.api.services.bigquery.model.TestIamPermissionsRequest content) {
5567+
super(Bigquery.this, "POST", REST_PATH, content, com.google.api.services.bigquery.model.TestIamPermissionsResponse.class);
5568+
this.resource = com.google.api.client.util.Preconditions.checkNotNull(resource, "Required parameter resource must be specified.");
5569+
if (!getSuppressPatternChecks()) {
5570+
com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
5571+
"Parameter resource must conform to the pattern " +
5572+
"^projects/[^/]+/datasets/[^/]+/routines/[^/]+$");
5573+
}
5574+
}
5575+
5576+
@Override
5577+
public TestIamPermissions set$Xgafv(java.lang.String $Xgafv) {
5578+
return (TestIamPermissions) super.set$Xgafv($Xgafv);
5579+
}
5580+
5581+
@Override
5582+
public TestIamPermissions setAccessToken(java.lang.String accessToken) {
5583+
return (TestIamPermissions) super.setAccessToken(accessToken);
5584+
}
5585+
5586+
@Override
5587+
public TestIamPermissions setAlt(java.lang.String alt) {
5588+
return (TestIamPermissions) super.setAlt(alt);
5589+
}
5590+
5591+
@Override
5592+
public TestIamPermissions setCallback(java.lang.String callback) {
5593+
return (TestIamPermissions) super.setCallback(callback);
5594+
}
5595+
5596+
@Override
5597+
public TestIamPermissions setFields(java.lang.String fields) {
5598+
return (TestIamPermissions) super.setFields(fields);
5599+
}
5600+
5601+
@Override
5602+
public TestIamPermissions setKey(java.lang.String key) {
5603+
return (TestIamPermissions) super.setKey(key);
5604+
}
5605+
5606+
@Override
5607+
public TestIamPermissions setOauthToken(java.lang.String oauthToken) {
5608+
return (TestIamPermissions) super.setOauthToken(oauthToken);
5609+
}
5610+
5611+
@Override
5612+
public TestIamPermissions setPrettyPrint(java.lang.Boolean prettyPrint) {
5613+
return (TestIamPermissions) super.setPrettyPrint(prettyPrint);
5614+
}
5615+
5616+
@Override
5617+
public TestIamPermissions setQuotaUser(java.lang.String quotaUser) {
5618+
return (TestIamPermissions) super.setQuotaUser(quotaUser);
5619+
}
5620+
5621+
@Override
5622+
public TestIamPermissions setUploadType(java.lang.String uploadType) {
5623+
return (TestIamPermissions) super.setUploadType(uploadType);
5624+
}
5625+
5626+
@Override
5627+
public TestIamPermissions setUploadProtocol(java.lang.String uploadProtocol) {
5628+
return (TestIamPermissions) super.setUploadProtocol(uploadProtocol);
5629+
}
5630+
5631+
/**
5632+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource
5633+
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
5634+
* this field.
5635+
*/
5636+
@com.google.api.client.util.Key
5637+
private java.lang.String resource;
5638+
5639+
/** REQUIRED: The resource for which the policy detail is being requested. See [Resource
5640+
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
5641+
field.
5642+
*/
5643+
public java.lang.String getResource() {
5644+
return resource;
5645+
}
5646+
5647+
/**
5648+
* REQUIRED: The resource for which the policy detail is being requested. See [Resource
5649+
* names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
5650+
* this field.
5651+
*/
5652+
public TestIamPermissions setResource(java.lang.String resource) {
5653+
if (!getSuppressPatternChecks()) {
5654+
com.google.api.client.util.Preconditions.checkArgument(RESOURCE_PATTERN.matcher(resource).matches(),
5655+
"Parameter resource must conform to the pattern " +
5656+
"^projects/[^/]+/datasets/[^/]+/routines/[^/]+$");
5657+
}
5658+
this.resource = resource;
5659+
return this;
5660+
}
5661+
5662+
@Override
5663+
public TestIamPermissions set(String parameterName, Object value) {
5664+
return (TestIamPermissions) super.set(parameterName, value);
5665+
}
5666+
}
55165667
/**
55175668
* Updates information in an existing routine. The update method replaces the entire Routine
55185669
* resource.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
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+
* Options for the runtime of the external system.
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 ExternalRuntimeOptions extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Optional. Amount of CPU provisioned for the container instance. If not specified, the default
34+
* value is 0.33 vCPUs.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.Double containerCpu;
39+
40+
/**
41+
* Optional. Amount of memory provisioned for the container instance. Format: {number}{unit} where
42+
* unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is
43+
* 512Mi.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String containerMemory;
48+
49+
/**
50+
* Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0,
51+
* BigQuery dynamically decides the number of rows in a batch.
52+
* The value may be {@code null}.
53+
*/
54+
@com.google.api.client.util.Key @com.google.api.client.json.JsonString
55+
private java.lang.Long maxBatchingRows;
56+
57+
/**
58+
* Optional. Fully qualified name of the connection whose service account will be used to execute
59+
* the code in the container. Format:
60+
* ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private java.lang.String runtimeConnection;
65+
66+
/**
67+
* Optional. Language runtime version (e.g. python-3.11).
68+
* The value may be {@code null}.
69+
*/
70+
@com.google.api.client.util.Key
71+
private java.lang.String runtimeVersion;
72+
73+
/**
74+
* Optional. Amount of CPU provisioned for the container instance. If not specified, the default
75+
* value is 0.33 vCPUs.
76+
* @return value or {@code null} for none
77+
*/
78+
public java.lang.Double getContainerCpu() {
79+
return containerCpu;
80+
}
81+
82+
/**
83+
* Optional. Amount of CPU provisioned for the container instance. If not specified, the default
84+
* value is 0.33 vCPUs.
85+
* @param containerCpu containerCpu or {@code null} for none
86+
*/
87+
public ExternalRuntimeOptions setContainerCpu(java.lang.Double containerCpu) {
88+
this.containerCpu = containerCpu;
89+
return this;
90+
}
91+
92+
/**
93+
* Optional. Amount of memory provisioned for the container instance. Format: {number}{unit} where
94+
* unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is
95+
* 512Mi.
96+
* @return value or {@code null} for none
97+
*/
98+
public java.lang.String getContainerMemory() {
99+
return containerMemory;
100+
}
101+
102+
/**
103+
* Optional. Amount of memory provisioned for the container instance. Format: {number}{unit} where
104+
* unit is one of "M", "G", "Mi" and "Gi" (e.g. 1G, 512Mi). If not specified, the default value is
105+
* 512Mi.
106+
* @param containerMemory containerMemory or {@code null} for none
107+
*/
108+
public ExternalRuntimeOptions setContainerMemory(java.lang.String containerMemory) {
109+
this.containerMemory = containerMemory;
110+
return this;
111+
}
112+
113+
/**
114+
* Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0,
115+
* BigQuery dynamically decides the number of rows in a batch.
116+
* @return value or {@code null} for none
117+
*/
118+
public java.lang.Long getMaxBatchingRows() {
119+
return maxBatchingRows;
120+
}
121+
122+
/**
123+
* Optional. Maximum number of rows in each batch sent to the external runtime. If absent or if 0,
124+
* BigQuery dynamically decides the number of rows in a batch.
125+
* @param maxBatchingRows maxBatchingRows or {@code null} for none
126+
*/
127+
public ExternalRuntimeOptions setMaxBatchingRows(java.lang.Long maxBatchingRows) {
128+
this.maxBatchingRows = maxBatchingRows;
129+
return this;
130+
}
131+
132+
/**
133+
* Optional. Fully qualified name of the connection whose service account will be used to execute
134+
* the code in the container. Format:
135+
* ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
136+
* @return value or {@code null} for none
137+
*/
138+
public java.lang.String getRuntimeConnection() {
139+
return runtimeConnection;
140+
}
141+
142+
/**
143+
* Optional. Fully qualified name of the connection whose service account will be used to execute
144+
* the code in the container. Format:
145+
* ```"projects/{project_id}/locations/{location_id}/connections/{connection_id}"```
146+
* @param runtimeConnection runtimeConnection or {@code null} for none
147+
*/
148+
public ExternalRuntimeOptions setRuntimeConnection(java.lang.String runtimeConnection) {
149+
this.runtimeConnection = runtimeConnection;
150+
return this;
151+
}
152+
153+
/**
154+
* Optional. Language runtime version (e.g. python-3.11).
155+
* @return value or {@code null} for none
156+
*/
157+
public java.lang.String getRuntimeVersion() {
158+
return runtimeVersion;
159+
}
160+
161+
/**
162+
* Optional. Language runtime version (e.g. python-3.11).
163+
* @param runtimeVersion runtimeVersion or {@code null} for none
164+
*/
165+
public ExternalRuntimeOptions setRuntimeVersion(java.lang.String runtimeVersion) {
166+
this.runtimeVersion = runtimeVersion;
167+
return this;
168+
}
169+
170+
@Override
171+
public ExternalRuntimeOptions set(String fieldName, Object value) {
172+
return (ExternalRuntimeOptions) super.set(fieldName, value);
173+
}
174+
175+
@Override
176+
public ExternalRuntimeOptions clone() {
177+
return (ExternalRuntimeOptions) super.clone();
178+
}
179+
180+
}

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public final class Job extends com.google.api.client.json.GenericJson {
5252

5353
/**
5454
* Output only. The reason why a Job was created.
55-
* [Preview](https://cloud.google.com/products/#product-launch-stages)
5655
* The value may be {@code null}.
5756
*/
5857
@com.google.api.client.util.Key
@@ -163,7 +162,6 @@ public Job setId(java.lang.String id) {
163162

164163
/**
165164
* Output only. The reason why a Job was created.
166-
* [Preview](https://cloud.google.com/products/#product-launch-stages)
167165
* @return value or {@code null} for none
168166
*/
169167
public JobCreationReason getJobCreationReason() {
@@ -172,7 +170,6 @@ public JobCreationReason getJobCreationReason() {
172170

173171
/**
174172
* Output only. The reason why a Job was created.
175-
* [Preview](https://cloud.google.com/products/#product-launch-stages)
176173
* @param jobCreationReason jobCreationReason or {@code null} for none
177174
*/
178175
public Job setJobCreationReason(JobCreationReason jobCreationReason) {

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
* [`jobs.query`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/query) method when
2222
* used with `JOB_CREATION_OPTIONAL` Job creation mode. For
2323
* [`jobs.insert`](https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs/insert) method
24-
* calls it will always be `REQUESTED`. [Preview](https://cloud.google.com/products/#product-launch-
25-
* stages)
24+
* calls it will always be `REQUESTED`.
2625
*
2726
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2827
* transmitted over HTTP when working with the BigQuery API. For a detailed explanation see:

0 commit comments

Comments
 (0)