@maxim_mazurok/gapi.client.firebaseml-v2beta 0.0.20250121 → 0.0.20250122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +15 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://firebaseml.googleapis.com/$discovery/rest?version=v2beta
12
- // Revision: 20250121
12
+ // Revision: 20250122
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -109,6 +109,8 @@ declare namespace gapi.client {
109
109
  tools?: GoogleCloudAiplatformV1beta1Tool[];
110
110
  }
111
111
  interface GoogleCloudAiplatformV1beta1CountTokensResponse {
112
+ /** Output only. List of modalities that were processed in the request input. */
113
+ promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
112
114
  /** The total number of billable characters counted across all instances from the request. */
113
115
  totalBillableCharacters?: number;
114
116
  /** The total number of tokens counted across all instances from the request. */
@@ -205,10 +207,16 @@ declare namespace gapi.client {
205
207
  interface GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
206
208
  /** Output only. Number of tokens in the cached part in the input (the cached content). */
207
209
  cachedContentTokenCount?: number;
210
+ /** Output only. List of modalities of the cached content in the request input. */
211
+ cacheTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
208
212
  /** Number of tokens in the response(s). */
209
213
  candidatesTokenCount?: number;
214
+ /** Output only. List of modalities that were returned in the response. */
215
+ candidatesTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
210
216
  /** Number of tokens in the request. When `cached_content` is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content. */
211
217
  promptTokenCount?: number;
218
+ /** Output only. List of modalities that were processed in the request input. */
219
+ promptTokensDetails?: GoogleCloudAiplatformV1beta1ModalityTokenCount[];
212
220
  /** Total token count for prompt and response candidates. */
213
221
  totalTokenCount?: number;
214
222
  }
@@ -334,6 +342,12 @@ declare namespace gapi.client {
334
342
  /** Sorted by log probability in descending order. */
335
343
  candidates?: GoogleCloudAiplatformV1beta1LogprobsResultCandidate[];
336
344
  }
345
+ interface GoogleCloudAiplatformV1beta1ModalityTokenCount {
346
+ /** The modality associated with this token count. */
347
+ modality?: string;
348
+ /** Number of tokens. */
349
+ tokenCount?: number;
350
+ }
337
351
  interface GoogleCloudAiplatformV1beta1Part {
338
352
  /** Optional. Result of executing the [ExecutableCode]. */
339
353
  codeExecutionResult?: GoogleCloudAiplatformV1beta1CodeExecutionResult;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseml-v2beta",
3
- "version": "0.0.20250121",
3
+ "version": "0.0.20250122",
4
4
  "description": "TypeScript typings for Firebase ML API v2beta",
5
5
  "repository": {
6
6
  "type": "git",