Skip to content

Commit 2dc8568

Browse files
1 parent a6147bc commit 2dc8568

File tree

7 files changed

+84
-15
lines changed

7 files changed

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

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@
3030
public final class GoogleCloudAiplatformV1beta1GroundingSupport extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This
34-
* list must have the same size as the grounding_chunk_indices.
33+
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For
34+
* Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For
35+
* Gemini 2.5 and after, this list will be empty and should be ignored.
3536
* The value may be {@code null}.
3637
*/
3738
@com.google.api.client.util.Key
@@ -54,17 +55,19 @@ public final class GoogleCloudAiplatformV1beta1GroundingSupport extends com.goog
5455
private GoogleCloudAiplatformV1beta1Segment segment;
5556

5657
/**
57-
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This
58-
* list must have the same size as the grounding_chunk_indices.
58+
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For
59+
* Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For
60+
* Gemini 2.5 and after, this list will be empty and should be ignored.
5961
* @return value or {@code null} for none
6062
*/
6163
public java.util.List<java.lang.Float> getConfidenceScores() {
6264
return confidenceScores;
6365
}
6466

6567
/**
66-
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. This
67-
* list must have the same size as the grounding_chunk_indices.
68+
* Confidence score of the support references. Ranges from 0 to 1. 1 is the most confident. For
69+
* Gemini 2.0 and before, this list must have the same size as the grounding_chunk_indices. For
70+
* Gemini 2.5 and after, this list will be empty and should be ignored.
6871
* @param confidenceScores confidenceScores or {@code null} for none
6972
*/
7073
public GoogleCloudAiplatformV1beta1GroundingSupport setConfidenceScores(java.util.List<java.lang.Float> confidenceScores) {

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public final class GoogleCloudAiplatformV1beta1Part extends com.google.api.clien
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
@@ -232,15 +232,15 @@ public GoogleCloudAiplatformV1beta1Part setText(java.lang.String text) {
232232
}
233233

234234
/**
235-
* Output only. Indicates if the part is thought from the model.
235+
* Optional. Indicates if the part is thought from the model.
236236
* @return value or {@code null} for none
237237
*/
238238
public java.lang.Boolean getThought() {
239239
return thought;
240240
}
241241

242242
/**
243-
* Output only. Indicates if the part is thought from the model.
243+
* Optional. Indicates if the part is thought from the model.
244244
* @param thought thought or {@code null} for none
245245
*/
246246
public GoogleCloudAiplatformV1beta1Part setThought(java.lang.Boolean thought) {

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
9696
@com.google.api.client.util.Key
9797
private GoogleCloudAiplatformV1beta1Retrieval retrieval;
9898

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 GoogleCloudAiplatformV1beta1UrlContext urlContext;
105+
99106
/**
100107
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
101108
* @return value or {@code null} for none
@@ -233,6 +240,23 @@ public GoogleCloudAiplatformV1beta1Tool setRetrieval(GoogleCloudAiplatformV1beta
233240
return this;
234241
}
235242

243+
/**
244+
* Optional. Tool to support URL context retrieval.
245+
* @return value or {@code null} for none
246+
*/
247+
public GoogleCloudAiplatformV1beta1UrlContext 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 GoogleCloudAiplatformV1beta1Tool setUrlContext(GoogleCloudAiplatformV1beta1UrlContext urlContext) {
256+
this.urlContext = urlContext;
257+
return this;
258+
}
259+
236260
@Override
237261
public GoogleCloudAiplatformV1beta1Tool set(String fieldName, Object value) {
238262
return (GoogleCloudAiplatformV1beta1Tool) super.set(fieldName, value);
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.firebaseml.v2beta.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 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 GoogleCloudAiplatformV1beta1UrlContext extends com.google.api.client.json.GenericJson {
31+
32+
@Override
33+
public GoogleCloudAiplatformV1beta1UrlContext set(String fieldName, Object value) {
34+
return (GoogleCloudAiplatformV1beta1UrlContext) super.set(fieldName, value);
35+
}
36+
37+
@Override
38+
public GoogleCloudAiplatformV1beta1UrlContext clone() {
39+
return (GoogleCloudAiplatformV1beta1UrlContext) super.clone();
40+
}
41+
42+
}

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

0 commit comments

Comments
 (0)