Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20260517-2.0.0</version>
<version>v2beta-rev20260524-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260517-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260524-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1EnterpriseWebSearch enterpriseWebSearch;

/**
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
* be grounded on Exa.ai and presented to the model for response generation
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch;

/**
* Optional. Function tool type. One or more function declarations to be passed to the model along
* with the current user query. Model may decide to call a subset of these functions by populating
Expand Down Expand Up @@ -173,6 +181,25 @@ public GoogleCloudAiplatformV1beta1Tool setEnterpriseWebSearch(GoogleCloudAiplat
return this;
}

/**
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
* be grounded on Exa.ai and presented to the model for response generation
* @return value or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1ToolExaAiSearch getExaAiSearch() {
return exaAiSearch;
}

/**
* Optional. Uses Exa.ai to search for information to answer user queries. The search results will
* be grounded on Exa.ai and presented to the model for response generation
* @param exaAiSearch exaAiSearch or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1Tool setExaAiSearch(GoogleCloudAiplatformV1beta1ToolExaAiSearch exaAiSearch) {
this.exaAiSearch = exaAiSearch;
return this;
}

/**
* Optional. Function tool type. One or more function declarations to be passed to the model along
* with the current user query. Model may decide to call a subset of these functions by populating
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/

package com.google.api.services.firebaseml.v2beta.model;

/**
* ExaAiSearch tool type. A tool that uses the Exa.ai search engine for grounding.
*
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Firebase ML API. For a detailed explanation see:
* <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>
* </p>
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudAiplatformV1beta1ToolExaAiSearch extends com.google.api.client.json.GenericJson {

/**
* Required. The API key for ExaAiSearch.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String apiKey;

/**
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.Map<String, java.lang.Object> customConfigs;

/**
* Required. The API key for ExaAiSearch.
* @return value or {@code null} for none
*/
public java.lang.String getApiKey() {
return apiKey;
}

/**
* Required. The API key for ExaAiSearch.
* @param apiKey apiKey or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1ToolExaAiSearch setApiKey(java.lang.String apiKey) {
this.apiKey = apiKey;
return this;
}

/**
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
* @return value or {@code null} for none
*/
public java.util.Map<String, java.lang.Object> getCustomConfigs() {
return customConfigs;
}

/**
* Optional. This field can be used to pass any parameter from the Exa.ai Search API.
* @param customConfigs customConfigs or {@code null} for none
*/
public GoogleCloudAiplatformV1beta1ToolExaAiSearch setCustomConfigs(java.util.Map<String, java.lang.Object> customConfigs) {
this.customConfigs = customConfigs;
return this;
}

@Override
public GoogleCloudAiplatformV1beta1ToolExaAiSearch set(String fieldName, Object value) {
return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) super.set(fieldName, value);
}

@Override
public GoogleCloudAiplatformV1beta1ToolExaAiSearch clone() {
return (GoogleCloudAiplatformV1beta1ToolExaAiSearch) super.clone();
}

}
4 changes: 2 additions & 2 deletions clients/google-api-services-firebaseml/v2beta/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20260517-2.0.0</version>
<name>Firebase ML API v2beta-rev20260517-2.0.0</name>
<version>v2beta-rev20260524-2.0.0</version>
<name>Firebase ML API v2beta-rev20260524-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-firebaseml/v2beta/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-firebaseml</artifactId>
<version>v2beta-rev20260517-2.0.0</version>
<version>v2beta-rev20260524-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260517-2.0.0'
implementation 'com.google.apis:google-api-services-firebaseml:v2beta-rev20260524-2.0.0'
}
```

Expand Down