Skip to content

Commit eb240f6

Browse files
1 parent d6f044b commit eb240f6

File tree

7 files changed

+184
-6
lines changed

7 files changed

+184
-6
lines changed

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
25-
<version>v2beta-rev20250521-2.0.0</version>
25+
<version>v2beta-rev20250525-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-firebaseml:v2beta-rev20250521-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250525-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1Part.java

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,13 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien
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.
@@ -241,6 +248,51 @@ public GoogleCloudAiplatformV1beta1Part setThought(java.lang.Boolean 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 GoogleCloudAiplatformV1beta1Part 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 GoogleCloudAiplatformV1beta1Part 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-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1Tool.java

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
3939
@com.google.api.client.util.Key
4040
private GoogleCloudAiplatformV1beta1ToolCodeExecution 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 GoogleCloudAiplatformV1beta1ToolComputerUse computerUse;
49+
4250
/**
4351
* Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4
4452
* compliance.
@@ -105,6 +113,25 @@ public GoogleCloudAiplatformV1beta1Tool setCodeExecution(GoogleCloudAiplatformV1
105113
return this;
106114
}
107115

116+
/**
117+
* Optional. Tool to support the model interacting directly with the computer. If enabled, it
118+
* automatically populates computer-use specific Function Declarations.
119+
* @return value or {@code null} for none
120+
*/
121+
public GoogleCloudAiplatformV1beta1ToolComputerUse getComputerUse() {
122+
return computerUse;
123+
}
124+
125+
/**
126+
* Optional. Tool to support the model interacting directly with the computer. If enabled, it
127+
* automatically populates computer-use specific Function Declarations.
128+
* @param computerUse computerUse or {@code null} for none
129+
*/
130+
public GoogleCloudAiplatformV1beta1Tool setComputerUse(GoogleCloudAiplatformV1beta1ToolComputerUse computerUse) {
131+
this.computerUse = computerUse;
132+
return this;
133+
}
134+
108135
/**
109136
* Optional. Tool to support searching public web data, powered by Vertex AI Search and Sec4
110137
* compliance.
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.firebaseml.v2beta.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 Firebase ML 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 GoogleCloudAiplatformV1beta1ToolComputerUse 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 GoogleCloudAiplatformV1beta1ToolComputerUse setEnvironment(java.lang.String environment) {
52+
this.environment = environment;
53+
return this;
54+
}
55+
56+
@Override
57+
public GoogleCloudAiplatformV1beta1ToolComputerUse set(String fieldName, Object value) {
58+
return (GoogleCloudAiplatformV1beta1ToolComputerUse) super.set(fieldName, value);
59+
}
60+
61+
@Override
62+
public GoogleCloudAiplatformV1beta1ToolComputerUse clone() {
63+
return (GoogleCloudAiplatformV1beta1ToolComputerUse) super.clone();
64+
}
65+
66+
}

clients/google-api-services-firebaseml/v2beta/2.0.0/com/google/api/services/firebaseml/v2beta/model/GoogleCloudAiplatformV1beta1VertexRagStore.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,16 @@ public final class GoogleCloudAiplatformV1beta1VertexRagStore extends com.google
5959
@com.google.api.client.util.Key
6060
private java.lang.Integer similarityTopK;
6161

62+
/**
63+
* Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live
64+
* API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize
65+
* the interactions between the client and Gemini, and retrieve context when needed to augment the
66+
* response generation for users' ongoing and future interactions.
67+
* The value may be {@code null}.
68+
*/
69+
@com.google.api.client.util.Key
70+
private java.lang.Boolean storeContext;
71+
6272
/**
6373
* Optional. Only return results with vector distance smaller than the threshold.
6474
* The value may be {@code null}.
@@ -138,6 +148,29 @@ public GoogleCloudAiplatformV1beta1VertexRagStore setSimilarityTopK(java.lang.In
138148
return this;
139149
}
140150

151+
/**
152+
* Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live
153+
* API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize
154+
* the interactions between the client and Gemini, and retrieve context when needed to augment the
155+
* response generation for users' ongoing and future interactions.
156+
* @return value or {@code null} for none
157+
*/
158+
public java.lang.Boolean getStoreContext() {
159+
return storeContext;
160+
}
161+
162+
/**
163+
* Optional. Currently only supported for Gemini Multimodal Live API. In Gemini Multimodal Live
164+
* API, if `store_context` bool is specified, Gemini will leverage it to automatically memorize
165+
* the interactions between the client and Gemini, and retrieve context when needed to augment the
166+
* response generation for users' ongoing and future interactions.
167+
* @param storeContext storeContext or {@code null} for none
168+
*/
169+
public GoogleCloudAiplatformV1beta1VertexRagStore setStoreContext(java.lang.Boolean storeContext) {
170+
this.storeContext = storeContext;
171+
return this;
172+
}
173+
141174
/**
142175
* Optional. Only return results with vector distance smaller than the threshold.
143176
* @return value or {@code null} for none

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
11-
<version>v2beta-rev20250521-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20250521-2.0.0</name>
11+
<version>v2beta-rev20250525-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20250525-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-firebaseml/v2beta/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-firebaseml</artifactId>
25-
<version>v2beta-rev20250521-2.0.0</version>
25+
<version>v2beta-rev20250525-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-firebaseml:v2beta-rev20250521-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20250525-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)