Skip to content

Commit d06cabd

Browse files
1 parent 66b21f6 commit d06cabd

File tree

7 files changed

+60
-15
lines changed

7 files changed

+60
-15
lines changed

clients/google-api-services-firebaseml/v1/2.0.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<windowtitle>Firebase ML API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.3/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.37.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

clients/google-api-services-firebaseml/v1beta2/2.0.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<windowtitle>Firebase ML API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.3/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.37.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

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

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

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,21 @@ public final class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetad
7373
private java.util.List<GoogleCloudAiplatformV1beta1ModalityTokenCount> promptTokensDetails;
7474

7575
/**
76-
* Total token count for prompt and response candidates.
76+
* Output only. Number of tokens present in tool-use prompt(s).
77+
* The value may be {@code null}.
78+
*/
79+
@com.google.api.client.util.Key
80+
private java.lang.Integer toolUsePromptTokenCount;
81+
82+
/**
83+
* Output only. List of modalities that were processed for tool-use request inputs.
84+
* The value may be {@code null}.
85+
*/
86+
@com.google.api.client.util.Key
87+
private java.util.List<GoogleCloudAiplatformV1beta1ModalityTokenCount> toolUsePromptTokensDetails;
88+
89+
/**
90+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
7791
* The value may be {@code null}.
7892
*/
7993
@com.google.api.client.util.Key
@@ -184,15 +198,49 @@ public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setPromp
184198
}
185199

186200
/**
187-
* Total token count for prompt and response candidates.
201+
* Output only. Number of tokens present in tool-use prompt(s).
202+
* @return value or {@code null} for none
203+
*/
204+
public java.lang.Integer getToolUsePromptTokenCount() {
205+
return toolUsePromptTokenCount;
206+
}
207+
208+
/**
209+
* Output only. Number of tokens present in tool-use prompt(s).
210+
* @param toolUsePromptTokenCount toolUsePromptTokenCount or {@code null} for none
211+
*/
212+
public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setToolUsePromptTokenCount(java.lang.Integer toolUsePromptTokenCount) {
213+
this.toolUsePromptTokenCount = toolUsePromptTokenCount;
214+
return this;
215+
}
216+
217+
/**
218+
* Output only. List of modalities that were processed for tool-use request inputs.
219+
* @return value or {@code null} for none
220+
*/
221+
public java.util.List<GoogleCloudAiplatformV1beta1ModalityTokenCount> getToolUsePromptTokensDetails() {
222+
return toolUsePromptTokensDetails;
223+
}
224+
225+
/**
226+
* Output only. List of modalities that were processed for tool-use request inputs.
227+
* @param toolUsePromptTokensDetails toolUsePromptTokensDetails or {@code null} for none
228+
*/
229+
public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setToolUsePromptTokensDetails(java.util.List<GoogleCloudAiplatformV1beta1ModalityTokenCount> toolUsePromptTokensDetails) {
230+
this.toolUsePromptTokensDetails = toolUsePromptTokensDetails;
231+
return this;
232+
}
233+
234+
/**
235+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
188236
* @return value or {@code null} for none
189237
*/
190238
public java.lang.Integer getTotalTokenCount() {
191239
return totalTokenCount;
192240
}
193241

194242
/**
195-
* Total token count for prompt and response candidates.
243+
* Total token count for prompt, response candidates, and tool-use prompts (if present).
196244
* @param totalTokenCount totalTokenCount or {@code null} for none
197245
*/
198246
public GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata setTotalTokenCount(java.lang.Integer totalTokenCount) {

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
3434

3535
/**
3636
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
37-
* This field is only used by the Gemini Developer API services.
3837
* The value may be {@code null}.
3938
*/
4039
@com.google.api.client.util.Key
@@ -83,7 +82,6 @@ public final class GoogleCloudAiplatformV1beta1Tool extends com.google.api.clien
8382

8483
/**
8584
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
86-
* This field is only used by the Gemini Developer API services.
8785
* @return value or {@code null} for none
8886
*/
8987
public GoogleCloudAiplatformV1beta1ToolCodeExecution getCodeExecution() {
@@ -92,7 +90,6 @@ public GoogleCloudAiplatformV1beta1ToolCodeExecution getCodeExecution() {
9290

9391
/**
9492
* Optional. CodeExecution tool type. Enables the model to execute code as part of generation.
95-
* This field is only used by the Gemini Developer API services.
9693
* @param codeExecution codeExecution or {@code null} for none
9794
*/
9895
public GoogleCloudAiplatformV1beta1Tool setCodeExecution(GoogleCloudAiplatformV1beta1ToolCodeExecution codeExecution) {

clients/google-api-services-firebaseml/v2beta/2.0.0/pom.xml

Lines changed: 3 additions & 3 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-rev20250203-2.0.0</version>
12-
<name>Firebase ML API v2beta-rev20250203-2.0.0</name>
11+
<version>v2beta-rev20250212-2.0.0</version>
12+
<name>Firebase ML API v2beta-rev20250212-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>
@@ -90,7 +90,7 @@
9090
<windowtitle>Firebase ML API ${project.version}</windowtitle>
9191
<links>
9292
<link>http://docs.oracle.com/javase/7/docs/api</link>
93-
<link>https://googleapis.dev/java/google-http-client/1.45.3/</link>
93+
<link>https://googleapis.dev/java/google-http-client/1.46.1/</link>
9494
<link>https://googleapis.dev/java/google-oauth-client/1.37.0/</link>
9595
<link>https://googleapis.dev/java/google-api-client/2.7.2/</link>
9696
</links>

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

0 commit comments

Comments
 (0)