Skip to content

Commit da567ed

Browse files
1 parent a822387 commit da567ed

6 files changed

Lines changed: 171 additions & 6 deletions

File tree

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

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

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,20 @@
2929
@SuppressWarnings("javadoc")
3030
public final class GoogleCloudAiplatformV1beta1RagChunk extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* The ID of the chunk.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String chunkId;
38+
39+
/**
40+
* The ID of the file that the chunk belongs to.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.lang.String fileId;
45+
3246
/**
3347
* If populated, represents where the chunk starts and ends in the document.
3448
* The value may be {@code null}.
@@ -43,6 +57,40 @@ public final class GoogleCloudAiplatformV1beta1RagChunk extends com.google.api.c
4357
@com.google.api.client.util.Key
4458
private java.lang.String text;
4559

60+
/**
61+
* The ID of the chunk.
62+
* @return value or {@code null} for none
63+
*/
64+
public java.lang.String getChunkId() {
65+
return chunkId;
66+
}
67+
68+
/**
69+
* The ID of the chunk.
70+
* @param chunkId chunkId or {@code null} for none
71+
*/
72+
public GoogleCloudAiplatformV1beta1RagChunk setChunkId(java.lang.String chunkId) {
73+
this.chunkId = chunkId;
74+
return this;
75+
}
76+
77+
/**
78+
* The ID of the file that the chunk belongs to.
79+
* @return value or {@code null} for none
80+
*/
81+
public java.lang.String getFileId() {
82+
return fileId;
83+
}
84+
85+
/**
86+
* The ID of the file that the chunk belongs to.
87+
* @param fileId fileId or {@code null} for none
88+
*/
89+
public GoogleCloudAiplatformV1beta1RagChunk setFileId(java.lang.String fileId) {
90+
this.fileId = fileId;
91+
return this;
92+
}
93+
4694
/**
4795
* If populated, represents where the chunk starts and ends in the document.
4896
* @return value or {@code null} for none

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
@@ -55,6 +55,14 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
5555
@com.google.api.client.util.Key
5656
private GoogleCloudAiplatformV1beta1EnterpriseWebSearch enterpriseWebSearch;
5757

58+
/**
59+
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
60+
* be grounded on Exa.ai and presented to the model for response generation.
61+
* The value may be {@code null}.
62+
*/
63+
@com.google.api.client.util.Key
64+
private GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch;
65+
5866
/**
5967
* Optional. Function tool type. One or more function declarations to be passed to the model along
6068
* with the current user query. Model may decide to call a subset of these functions by populating
@@ -173,6 +181,25 @@ public GoogleCloudAiplatformV1beta1Tool setEnterpriseWebSearch(GoogleCloudAiplat
173181
return this;
174182
}
175183

184+
/**
185+
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
186+
* be grounded on Exa.ai and presented to the model for response generation.
187+
* @return value or {@code null} for none
188+
*/
189+
public GoogleCloudAiplatformV1beta1ToolExaAiSearch getExaAiSearch() {
190+
return exaAiSearch;
191+
}
192+
193+
/**
194+
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
195+
* be grounded on Exa.ai and presented to the model for response generation.
196+
* @param exaAiSearch exaAiSearch or {@code null} for none
197+
*/
198+
public GoogleCloudAiplatformV1beta1Tool setExaAiSearch(GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch) {
199+
this.exaAiSearch = exaAiSearch;
200+
return this;
201+
}
202+
176203
/**
177204
* Optional. Function tool type. One or more function declarations to be passed to the model along
178205
* with the current user query. Model may decide to call a subset of these functions by populating
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
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+
* ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.
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 GoogleCloudAiplatformV1beta1ToolExaAiSearch extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The API key for ExaAiSearch.
34+
* The value may be {@code null}.
35+
*/
36+
@com.google.api.client.util.Key
37+
private java.lang.String apiKey;
38+
39+
/**
40+
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
41+
* The value may be {@code null}.
42+
*/
43+
@com.google.api.client.util.Key
44+
private java.util.Map<String, java.lang.Object> customConfigs;
45+
46+
/**
47+
* Required. The API key for ExaAiSearch.
48+
* @return value or {@code null} for none
49+
*/
50+
public java.lang.String getApiKey() {
51+
return apiKey;
52+
}
53+
54+
/**
55+
* Required. The API key for ExaAiSearch.
56+
* @param apiKey apiKey or {@code null} for none
57+
*/
58+
public GoogleCloudAiplatformV1beta1ToolExaAiSearch setApiKey(java.lang.String apiKey) {
59+
this.apiKey = apiKey;
60+
return this;
61+
}
62+
63+
/**
64+
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
65+
* @return value or {@code null} for none
66+
*/
67+
public java.util.Map<String, java.lang.Object> getCustomConfigs() {
68+
return customConfigs;
69+
}
70+
71+
/**
72+
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
73+
* @param customConfigs customConfigs or {@code null} for none
74+
*/
75+
public GoogleCloudAiplatformV1beta1ToolExaAiSearch setCustomConfigs(java.util.Map<String, java.lang.Object> customConfigs) {
76+
this.customConfigs = customConfigs;
77+
return this;
78+
}
79+
80+
@Override
81+
public GoogleCloudAiplatformV1beta1ToolExaAiSearch set(String fieldName, Object value) {
82+
return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) super.set(fieldName, value);
83+
}
84+
85+
@Override
86+
public GoogleCloudAiplatformV1beta1ToolExaAiSearch clone() {
87+
return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) super.clone();
88+
}
89+
90+
}

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-rev20260322-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20260322-2.0.0</name>
11+
<version>v2beta-rev20260407-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20260407-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-rev20260322-2.0.0</version>
25+
<version>v2beta-rev20260407-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-rev20260322-2.0.0'
38+
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260407-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)