Skip to content

Commit 8f9c442

Browse files
1 parent 9de5345 commit 8f9c442

16 files changed

+1111
-18
lines changed

clients/google-api-services-aiplatform/v1/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-aiplatform</artifactId>
25-
<version>v1-rev20250529-2.0.0</version>
25+
<version>v1-rev20250602-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-aiplatform:v1-rev20250529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250602-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Part.java

Lines changed: 55 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,19 @@ public final class GoogleCloudAiplatformV1Part extends com.google.api.client.jso
8585
private java.lang.String text;
8686

8787
/**
88-
* Output only. Indicates if the part is thought from the model.
88+
* Optional. Indicates if the part is thought from the model.
8989
* The value may be {@code null}.
9090
*/
9191
@com.google.api.client.util.Key
9292
private java.lang.Boolean thought;
9393

94+
/**
95+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests.
96+
* The value may be {@code null}.
97+
*/
98+
@com.google.api.client.util.Key
99+
private java.lang.String thoughtSignature;
100+
94101
/**
95102
* Optional. Video metadata. The metadata should only be specified while the video data is
96103
* presented in inline_data or file_data.
@@ -225,22 +232,67 @@ public GoogleCloudAiplatformV1Part setText(java.lang.String text) {
225232
}
226233

227234
/**
228-
* Output only. Indicates if the part is thought from the model.
235+
* Optional. Indicates if the part is thought from the model.
229236
* @return value or {@code null} for none
230237
*/
231238
public java.lang.Boolean getThought() {
232239
return thought;
233240
}
234241

235242
/**
236-
* Output only. Indicates if the part is thought from the model.
243+
* Optional. Indicates if the part is thought from the model.
237244
* @param thought thought or {@code null} for none
238245
*/
239246
public GoogleCloudAiplatformV1Part setThought(java.lang.Boolean thought) {
240247
this.thought = thought;
241248
return this;
242249
}
243250

251+
/**
252+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests.
253+
* @see #decodeThoughtSignature()
254+
* @return value or {@code null} for none
255+
*/
256+
public java.lang.String getThoughtSignature() {
257+
return thoughtSignature;
258+
}
259+
260+
/**
261+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests.
262+
* @see #getThoughtSignature()
263+
* @return Base64 decoded value or {@code null} for none
264+
*
265+
* @since 1.14
266+
*/
267+
public byte[] decodeThoughtSignature() {
268+
return com.google.api.client.util.Base64.decodeBase64(thoughtSignature);
269+
}
270+
271+
/**
272+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests.
273+
* @see #encodeThoughtSignature()
274+
* @param thoughtSignature thoughtSignature or {@code null} for none
275+
*/
276+
public GoogleCloudAiplatformV1Part setThoughtSignature(java.lang.String thoughtSignature) {
277+
this.thoughtSignature = thoughtSignature;
278+
return this;
279+
}
280+
281+
/**
282+
* Optional. An opaque signature for the thought so it can be reused in subsequent requests.
283+
* @see #setThoughtSignature()
284+
*
285+
* <p>
286+
* The value is encoded Base64 or {@code null} for none.
287+
* </p>
288+
*
289+
* @since 1.14
290+
*/
291+
public GoogleCloudAiplatformV1Part encodeThoughtSignature(byte[] thoughtSignature) {
292+
this.thoughtSignature = com.google.api.client.util.Base64.encodeBase64URLSafeString(thoughtSignature);
293+
return this;
294+
}
295+
244296
/**
245297
* Optional. Video metadata. The metadata should only be specified while the video data is
246298
* presented in inline_data or file_data.

clients/google-api-services-aiplatform/v1/2.0.0/com/google/api/services/aiplatform/v1/model/GoogleCloudAiplatformV1Tool.java

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ public final class GoogleCloudAiplatformV1Tool extends com.google.api.client.jso
3939
@com.google.api.client.util.Key
4040
private GoogleCloudAiplatformV1ToolCodeExecution codeExecution;
4141

42+
/**
43+
* Optional. Tool to support the model interacting directly with the computer. If enabled, it
44+
* automatically populates computer-use specific Function Declarations.
45+
* The value may be {@code null}.
46+
*/
47+
@com.google.api.client.util.Key
48+
private GoogleCloudAiplatformV1ToolComputerUse computerUse;
49+
4250
/**
4351
* Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4
4452
* compliance.
@@ -88,6 +96,13 @@ public final class GoogleCloudAiplatformV1Tool extends com.google.api.client.jso
8896
@com.google.api.client.util.Key
8997
private GoogleCloudAiplatformV1Retrieval retrieval;
9098

99+
/**
100+
* Optional. Tool to support URL context retrieval.
101+
* The value may be {@code null}.
102+
*/
103+
@com.google.api.client.util.Key
104+
private GoogleCloudAiplatformV1UrlContext urlContext;
105+
91106
/**
92107
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
93108
* @return value or {@code null} for none
@@ -105,6 +120,25 @@ public GoogleCloudAiplatformV1Tool setCodeExecution(GoogleCloudAiplatformV1ToolC
105120
return this;
106121
}
107122

123+
/**
124+
* Optional. Tool to support the model interacting directly with the computer. If enabled, it
125+
* automatically populates computer-use specific Function Declarations.
126+
* @return value or {@code null} for none
127+
*/
128+
public GoogleCloudAiplatformV1ToolComputerUse getComputerUse() {
129+
return computerUse;
130+
}
131+
132+
/**
133+
* Optional. Tool to support the model interacting directly with the computer. If enabled, it
134+
* automatically populates computer-use specific Function Declarations.
135+
* @param computerUse computerUse or {@code null} for none
136+
*/
137+
public GoogleCloudAiplatformV1Tool setComputerUse(GoogleCloudAiplatformV1ToolComputerUse computerUse) {
138+
this.computerUse = computerUse;
139+
return this;
140+
}
141+
108142
/**
109143
* Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4
110144
* compliance.
@@ -206,6 +240,23 @@ public GoogleCloudAiplatformV1Tool setRetrieval(GoogleCloudAiplatformV1Retrieval
206240
return this;
207241
}
208242

243+
/**
244+
* Optional. Tool to support URL context retrieval.
245+
* @return value or {@code null} for none
246+
*/
247+
public GoogleCloudAiplatformV1UrlContext getUrlContext() {
248+
return urlContext;
249+
}
250+
251+
/**
252+
* Optional. Tool to support URL context retrieval.
253+
* @param urlContext urlContext or {@code null} for none
254+
*/
255+
public GoogleCloudAiplatformV1Tool setUrlContext(GoogleCloudAiplatformV1UrlContext urlContext) {
256+
this.urlContext = urlContext;
257+
return this;
258+
}
259+
209260
@Override
210261
public GoogleCloudAiplatformV1Tool set(String fieldName, Object value) {
211262
return (GoogleCloudAiplatformV1Tool) super.set(fieldName, value);
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.aiplatform.v1.model;
18+
19+
/**
20+
* Tool to support computer use.
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 Vertex AI 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 GoogleCloudAiplatformV1ToolComputerUse extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The environment being operated.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String environment;
38+
39+
/**
40+
* Required. The environment being operated.
41+
* @return value or {@code null} for none
42+
*/
43+
public java.lang.String getEnvironment() {
44+
return environment;
45+
}
46+
47+
/**
48+
* Required. The environment being operated.
49+
* @param environment environment or {@code null} for none
50+
*/
51+
public GoogleCloudAiplatformV1ToolComputerUse setEnvironment(java.lang.String environment) {
52+
this.environment = environment;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1ToolComputerUse set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1ToolComputerUse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1ToolComputerUse clone() {
63+
return (GoogleCloudAiplatformV1ToolComputerUse) super.clone();
64+
}
65+
66+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.aiplatform.v1.model;
18+
19+
/**
20+
* Tool to support URL context.
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 Vertex AI 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 GoogleCloudAiplatformV1UrlContext extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleCloudAiplatformV1UrlContext set(String fieldName, Object value) {
34+
return (GoogleCloudAiplatformV1UrlContext) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleCloudAiplatformV1UrlContext clone() {
39+
return (GoogleCloudAiplatformV1UrlContext) super.clone();
40+
}
41+
42+
}

clients/google-api-services-aiplatform/v1/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-aiplatform</artifactId>
11-
<version>v1-rev20250529-2.0.0</version>
12-
<name>Vertex AI API v1-rev20250529-2.0.0</name>
11+
<version>v1-rev20250602-2.0.0</version>
12+
<name>Vertex AI API v1-rev20250602-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-aiplatform/v1/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-aiplatform</artifactId>
25-
<version>v1-rev20250529-2.0.0</version>
25+
<version>v1-rev20250602-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-aiplatform:v1-rev20250529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1-rev20250602-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-aiplatform/v1beta1/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-aiplatform</artifactId>
25-
<version>v1beta1-rev20250529-2.0.0</version>
25+
<version>v1beta1-rev20250602-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-aiplatform:v1beta1-rev20250529-2.0.0'
38+
implementation 'com.google.apis:google-api-services-aiplatform:v1beta1-rev20250602-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)