@maxim_mazurok/gapi.client.firebaseml-v2beta 0.0.20240607 → 0.0.20240611

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 +108 -108
  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: 20240607
12
+ // Revision: 20240611
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -28,29 +28,37 @@ declare namespace gapi.client {
28
28
  ): void;
29
29
 
30
30
  namespace firebaseml {
31
- interface Blob {
31
+ interface Date {
32
+ /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
33
+ day?: number;
34
+ /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
35
+ month?: number;
36
+ /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
37
+ year?: number;
38
+ }
39
+ interface GoogleCloudAiplatformV1beta1Blob {
32
40
  /** Required. Raw bytes. */
33
41
  data?: string;
34
42
  /** Required. The IANA standard MIME type of the source data. */
35
43
  mimeType?: string;
36
44
  }
37
- interface Candidate {
45
+ interface GoogleCloudAiplatformV1beta1Candidate {
38
46
  /** Output only. Source attribution of the generated content. */
39
- citationMetadata?: CitationMetadata;
47
+ citationMetadata?: GoogleCloudAiplatformV1beta1CitationMetadata;
40
48
  /** Output only. Content parts of the candidate. */
41
- content?: Content;
49
+ content?: GoogleCloudAiplatformV1beta1Content;
42
50
  /** Output only. Describes the reason the mode stopped generating tokens in more detail. This is only filled when `finish_reason` is set. */
43
51
  finishMessage?: string;
44
52
  /** Output only. The reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens. */
45
53
  finishReason?: string;
46
54
  /** Output only. Metadata specifies sources used to ground generated content. */
47
- groundingMetadata?: GroundingMetadata;
55
+ groundingMetadata?: GoogleCloudAiplatformV1beta1GroundingMetadata;
48
56
  /** Output only. Index of the candidate. */
49
57
  index?: number;
50
58
  /** Output only. List of ratings for the safety of a response candidate. There is at most one rating per category. */
51
- safetyRatings?: SafetyRating[];
59
+ safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
52
60
  }
53
- interface Citation {
61
+ interface GoogleCloudAiplatformV1beta1Citation {
54
62
  /** Output only. End index into the content. */
55
63
  endIndex?: number;
56
64
  /** Output only. License of the attribution. */
@@ -64,97 +72,104 @@ declare namespace gapi.client {
64
72
  /** Output only. Url reference of the attribution. */
65
73
  uri?: string;
66
74
  }
67
- interface CitationMetadata {
75
+ interface GoogleCloudAiplatformV1beta1CitationMetadata {
68
76
  /** Output only. List of citations. */
69
- citations?: Citation[];
77
+ citations?: GoogleCloudAiplatformV1beta1Citation[];
70
78
  }
71
- interface Content {
79
+ interface GoogleCloudAiplatformV1beta1Content {
72
80
  /** Required. Ordered `Parts` that constitute a single message. Parts may have different IANA MIME types. */
73
- parts?: Part[];
81
+ parts?: GoogleCloudAiplatformV1beta1Part[];
74
82
  /** Optional. The producer of the content. Must be either 'user' or 'model'. Useful to set for multi-turn conversations, otherwise can be left blank or unset. */
75
83
  role?: string;
76
84
  }
77
- interface CountTokensRequest {
85
+ interface GoogleCloudAiplatformV1beta1CountTokensRequest {
78
86
  /** Required. Input content. */
79
- contents?: Content[];
87
+ contents?: GoogleCloudAiplatformV1beta1Content[];
80
88
  /** Required. The instances that are the input to token counting call. Schema is identical to the prediction schema of the underlying model. */
81
89
  instances?: any[];
82
90
  /** Required. The name of the publisher model requested to serve the prediction. Format: `projects/{project}/locations/{location}/publishers/*‍/models/*` */
83
91
  model?: string;
84
92
  }
85
- interface CountTokensResponse {
93
+ interface GoogleCloudAiplatformV1beta1CountTokensResponse {
86
94
  /** The total number of billable characters counted across all instances from the request. */
87
95
  totalBillableCharacters?: number;
88
96
  /** The total number of tokens counted across all instances from the request. */
89
97
  totalTokens?: number;
90
98
  }
91
- interface Date {
92
- /** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
93
- day?: number;
94
- /** Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. */
95
- month?: number;
96
- /** Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. */
97
- year?: number;
98
- }
99
- interface FileData {
99
+ interface GoogleCloudAiplatformV1beta1FileData {
100
100
  /** Required. URI. */
101
101
  fileUri?: string;
102
102
  /** Required. The IANA standard MIME type of the source data. */
103
103
  mimeType?: string;
104
104
  }
105
- interface FunctionCall {
105
+ interface GoogleCloudAiplatformV1beta1FunctionCall {
106
106
  /** Optional. Required. The function parameters and values in JSON object format. See [FunctionDeclaration.parameters] for parameter details. */
107
107
  args?: {[P in string]: any};
108
108
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name]. */
109
109
  name?: string;
110
110
  }
111
- interface FunctionCallingConfig {
111
+ interface GoogleCloudAiplatformV1beta1FunctionCallingConfig {
112
112
  /** Optional. Function names to call. Only set when the Mode is ANY. Function names should match [FunctionDeclaration.name]. With mode set to ANY, model will predict a function call from the set of function names provided. */
113
113
  allowedFunctionNames?: string[];
114
114
  /** Optional. Function calling mode. */
115
115
  mode?: string;
116
116
  }
117
- interface FunctionDeclaration {
117
+ interface GoogleCloudAiplatformV1beta1FunctionDeclaration {
118
118
  /** Optional. Description and purpose of the function. Model uses it to decide how and whether to call the function. */
119
119
  description?: string;
120
120
  /** Required. The name of the function to call. Must start with a letter or an underscore. Must be a-z, A-Z, 0-9, or contain underscores, dots and dashes, with a maximum length of 64. */
121
121
  name?: string;
122
122
  /** Optional. Describes the parameters to this function in JSON Schema Object format. Reflects the Open API 3.03 Parameter Object. string Key: the name of the parameter. Parameter names are case sensitive. Schema Value: the Schema defining the type used for the parameter. For function with no parameters, this can be left unset. Parameter names must start with a letter or an underscore and must only contain chars a-z, A-Z, 0-9, or underscores with a maximum length of 64. Example with 1 required and 1 optional parameter: type: OBJECT properties: param1: type: STRING param2: type: INTEGER required: - param1 */
123
- parameters?: Schema;
123
+ parameters?: GoogleCloudAiplatformV1beta1Schema;
124
124
  /** Optional. Describes the output from this function in JSON Schema format. Reflects the Open API 3.03 Response Object. The Schema defines the type used for the response value of the function. */
125
- response?: Schema;
125
+ response?: GoogleCloudAiplatformV1beta1Schema;
126
126
  }
127
- interface FunctionResponse {
127
+ interface GoogleCloudAiplatformV1beta1FunctionResponse {
128
128
  /** Required. The name of the function to call. Matches [FunctionDeclaration.name] and [FunctionCall.name]. */
129
129
  name?: string;
130
130
  /** Required. The function response in JSON object format. */
131
131
  response?: {[P in string]: any};
132
132
  }
133
- interface GenerateContentRequest {
133
+ interface GoogleCloudAiplatformV1beta1GenerateContentRequest {
134
134
  /** Optional. The name of the cached content used as context to serve the prediction. Note: only used in explicit caching, where users can have control over caching (e.g. what content to cache) and enjoy guaranteed cost savings. Format: `projects/{project}/locations/{location}/cachedContents/{cachedContent}` */
135
135
  cachedContent?: string;
136
136
  /** Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries, this is a repeated field that contains conversation history + latest request. */
137
- contents?: Content[];
137
+ contents?: GoogleCloudAiplatformV1beta1Content[];
138
138
  /** Optional. Generation config. */
139
- generationConfig?: GenerationConfig;
139
+ generationConfig?: GoogleCloudAiplatformV1beta1GenerationConfig;
140
140
  /** Optional. Per request settings for blocking unsafe content. Enforced on GenerateContentResponse.candidates. */
141
- safetySettings?: SafetySetting[];
141
+ safetySettings?: GoogleCloudAiplatformV1beta1SafetySetting[];
142
142
  /** Optional. The user provided system instructions for the model. Note: only text should be used in parts and content in each part will be in a separate paragraph. */
143
- systemInstruction?: Content;
143
+ systemInstruction?: GoogleCloudAiplatformV1beta1Content;
144
144
  /** Optional. Tool config. This config is shared for all tools provided in the request. */
145
- toolConfig?: ToolConfig;
145
+ toolConfig?: GoogleCloudAiplatformV1beta1ToolConfig;
146
146
  /** Optional. A list of `Tools` the model may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the model. */
147
- tools?: Tool[];
147
+ tools?: GoogleCloudAiplatformV1beta1Tool[];
148
148
  }
149
- interface GenerateContentResponse {
149
+ interface GoogleCloudAiplatformV1beta1GenerateContentResponse {
150
150
  /** Output only. Generated candidates. */
151
- candidates?: Candidate[];
151
+ candidates?: GoogleCloudAiplatformV1beta1Candidate[];
152
152
  /** Output only. Content filter results for a prompt sent in the request. Note: Sent only in the first stream chunk. Only happens when no candidates were generated due to content violations. */
153
- promptFeedback?: PromptFeedback;
153
+ promptFeedback?: GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback;
154
154
  /** Usage metadata about the response(s). */
155
- usageMetadata?: UsageMetadata;
155
+ usageMetadata?: GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata;
156
+ }
157
+ interface GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback {
158
+ /** Output only. Blocked reason. */
159
+ blockReason?: string;
160
+ /** Output only. A readable block reason message. */
161
+ blockReasonMessage?: string;
162
+ /** Output only. Safety ratings. */
163
+ safetyRatings?: GoogleCloudAiplatformV1beta1SafetyRating[];
156
164
  }
157
- interface GenerationConfig {
165
+ interface GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata {
166
+ /** Number of tokens in the response(s). */
167
+ candidatesTokenCount?: number;
168
+ /** Number of tokens in the request. */
169
+ promptTokenCount?: number;
170
+ totalTokenCount?: number;
171
+ }
172
+ interface GoogleCloudAiplatformV1beta1GenerationConfig {
158
173
  /** Optional. Number of candidates to generate. */
159
174
  candidateCount?: number;
160
175
  /** Optional. Frequency penalties. */
@@ -166,7 +181,7 @@ declare namespace gapi.client {
166
181
  /** Optional. Output response mimetype of the generated candidate text. Supported mimetype: - `text/plain`: (default) Text output. - `application/json`: JSON response in the candidates. The model needs to be prompted to output the appropriate response type, otherwise the behavior is undefined. This is a preview feature. */
167
182
  responseMimeType?: string;
168
183
  /** Optional. The `Schema` object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. Represents a select subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#schema). If set, a compatible response_mime_type must also be set. Compatible mimetypes: `application/json`: Schema for JSON response. */
169
- responseSchema?: Schema;
184
+ responseSchema?: GoogleCloudAiplatformV1beta1Schema;
170
185
  /** Optional. Stop sequences. */
171
186
  stopSequences?: string[];
172
187
  /** Optional. Controls the randomness of predictions. */
@@ -176,57 +191,38 @@ declare namespace gapi.client {
176
191
  /** Optional. If specified, nucleus sampling will be used. */
177
192
  topP?: number;
178
193
  }
179
- interface GoogleSearchRetrieval {}
180
- interface GroundingMetadata {
194
+ interface GoogleCloudAiplatformV1beta1GoogleSearchRetrieval {}
195
+ interface GoogleCloudAiplatformV1beta1GroundingMetadata {
181
196
  /** Optional. Queries executed by the retrieval tools. */
182
197
  retrievalQueries?: string[];
183
198
  /** Optional. Google search entry for the following-up web searches. */
184
- searchEntryPoint?: SearchEntryPoint;
199
+ searchEntryPoint?: GoogleCloudAiplatformV1beta1SearchEntryPoint;
185
200
  /** Optional. Web search queries for the following-up web search. */
186
201
  webSearchQueries?: string[];
187
202
  }
188
- interface ModelOperationMetadata {
189
- basicOperationStatus?: string;
190
- /** The name of the model we are creating/updating The name must have the form `projects/{project_id}/models/{model_id}` */
191
- name?: string;
192
- }
193
- interface Part {
203
+ interface GoogleCloudAiplatformV1beta1Part {
194
204
  /** Optional. URI based data. */
195
- fileData?: FileData;
205
+ fileData?: GoogleCloudAiplatformV1beta1FileData;
196
206
  /** Optional. A predicted [FunctionCall] returned from the model that contains a string representing the [FunctionDeclaration.name] with the parameters and their values. */
197
- functionCall?: FunctionCall;
207
+ functionCall?: GoogleCloudAiplatformV1beta1FunctionCall;
198
208
  /** Optional. The result output of a [FunctionCall] that contains a string representing the [FunctionDeclaration.name] and a structured JSON object containing any output from the function call. It is used as context to the model. */
199
- functionResponse?: FunctionResponse;
209
+ functionResponse?: GoogleCloudAiplatformV1beta1FunctionResponse;
200
210
  /** Optional. Inlined bytes data. */
201
- inlineData?: Blob;
211
+ inlineData?: GoogleCloudAiplatformV1beta1Blob;
202
212
  /** Optional. Text part (can be code). */
203
213
  text?: string;
204
214
  /** Optional. Video metadata. The metadata should only be specified while the video data is presented in inline_data or file_data. */
205
- videoMetadata?: VideoMetadata;
215
+ videoMetadata?: GoogleCloudAiplatformV1beta1VideoMetadata;
206
216
  }
207
- interface PromptFeedback {
208
- /** Output only. Blocked reason. */
209
- blockReason?: string;
210
- /** Output only. A readable block reason message. */
211
- blockReasonMessage?: string;
212
- /** Output only. Safety ratings. */
213
- safetyRatings?: SafetyRating[];
214
- }
215
- interface RagResource {
216
- /** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
217
- ragCorpus?: string;
218
- /** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
219
- ragFileIds?: string[];
220
- }
221
- interface Retrieval {
217
+ interface GoogleCloudAiplatformV1beta1Retrieval {
222
218
  /** Optional. Disable using the result from this tool in detecting grounding attribution. This does not affect how the result is given to the model for generation. */
223
219
  disableAttribution?: boolean;
224
220
  /** Set to use data source powered by Vertex AI Search. */
225
- vertexAiSearch?: VertexAISearch;
221
+ vertexAiSearch?: GoogleCloudAiplatformV1beta1VertexAISearch;
226
222
  /** Set to use data source powered by Vertex RAG store. User data is uploaded via the VertexRagDataService. */
227
- vertexRagStore?: VertexRagStore;
223
+ vertexRagStore?: GoogleCloudAiplatformV1beta1VertexRagStore;
228
224
  }
229
- interface SafetyRating {
225
+ interface GoogleCloudAiplatformV1beta1SafetyRating {
230
226
  /** Output only. Indicates whether the content was filtered out because of this rating. */
231
227
  blocked?: boolean;
232
228
  /** Output only. Harm category. */
@@ -240,7 +236,7 @@ declare namespace gapi.client {
240
236
  /** Output only. Harm severity score. */
241
237
  severityScore?: number;
242
238
  }
243
- interface SafetySetting {
239
+ interface GoogleCloudAiplatformV1beta1SafetySetting {
244
240
  /** Required. Harm category. */
245
241
  category?: string;
246
242
  /** Optional. Specify if the threshold is used for probability or severity score. If not specified, the threshold is used for probability score. */
@@ -248,7 +244,7 @@ declare namespace gapi.client {
248
244
  /** Required. The harm block threshold. */
249
245
  threshold?: string;
250
246
  }
251
- interface Schema {
247
+ interface GoogleCloudAiplatformV1beta1Schema {
252
248
  /** Optional. Default value of the data. */
253
249
  default?: any;
254
250
  /** Optional. The description of the data. */
@@ -260,7 +256,7 @@ declare namespace gapi.client {
260
256
  /** Optional. The format of the data. Supported formats: for NUMBER type: "float", "double" for INTEGER type: "int32", "int64" for STRING type: "email", "byte", etc */
261
257
  format?: string;
262
258
  /** Optional. SCHEMA FIELDS FOR TYPE ARRAY Schema of the elements of Type.ARRAY. */
263
- items?: Schema;
259
+ items?: GoogleCloudAiplatformV1beta1Schema;
264
260
  /** Optional. Maximum value of the Type.INTEGER and Type.NUMBER */
265
261
  maximum?: number;
266
262
  /** Optional. Maximum number of the elements for Type.ARRAY. */
@@ -282,7 +278,7 @@ declare namespace gapi.client {
282
278
  /** Optional. Pattern of the Type.STRING to restrict a string to a regular expression. */
283
279
  pattern?: string;
284
280
  /** Optional. SCHEMA FIELDS FOR TYPE OBJECT Properties of Type.OBJECT. */
285
- properties?: {[P in string]: Schema};
281
+ properties?: {[P in string]: GoogleCloudAiplatformV1beta1Schema};
286
282
  /** Optional. Required properties of Type.OBJECT. */
287
283
  required?: string[];
288
284
  /** Optional. The title of the Schema. */
@@ -290,51 +286,55 @@ declare namespace gapi.client {
290
286
  /** Optional. The type of the data. */
291
287
  type?: string;
292
288
  }
293
- interface SearchEntryPoint {
289
+ interface GoogleCloudAiplatformV1beta1SearchEntryPoint {
294
290
  /** Optional. Web content snippet that can be embedded in a web page or an app webview. */
295
291
  renderedContent?: string;
296
292
  /** Optional. Base64 encoded JSON representing array of tuple. */
297
293
  sdkBlob?: string;
298
294
  }
299
- interface Tool {
295
+ interface GoogleCloudAiplatformV1beta1Tool {
300
296
  /** 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 FunctionCall in the response. User should provide a FunctionResponse for each function call in the next turn. Based on the function responses, Model will generate the final response back to the user. Maximum 64 function declarations can be provided. */
301
- functionDeclarations?: FunctionDeclaration[];
297
+ functionDeclarations?: GoogleCloudAiplatformV1beta1FunctionDeclaration[];
302
298
  /** Optional. GoogleSearchRetrieval tool type. Specialized retrieval tool that is powered by Google search. */
303
299
  googleSearchRetrieval?: any;
304
300
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. */
305
- retrieval?: Retrieval;
301
+ retrieval?: GoogleCloudAiplatformV1beta1Retrieval;
306
302
  }
307
- interface ToolConfig {
303
+ interface GoogleCloudAiplatformV1beta1ToolConfig {
308
304
  /** Optional. Function calling config. */
309
- functionCallingConfig?: FunctionCallingConfig;
310
- }
311
- interface UsageMetadata {
312
- /** Number of tokens in the response(s). */
313
- candidatesTokenCount?: number;
314
- /** Number of tokens in the request. */
315
- promptTokenCount?: number;
316
- totalTokenCount?: number;
305
+ functionCallingConfig?: GoogleCloudAiplatformV1beta1FunctionCallingConfig;
317
306
  }
318
- interface VertexAISearch {
307
+ interface GoogleCloudAiplatformV1beta1VertexAISearch {
319
308
  /** Required. Fully-qualified Vertex AI Search's datastore resource ID. Format: `projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}` */
320
309
  datastore?: string;
321
310
  }
322
- interface VertexRagStore {
311
+ interface GoogleCloudAiplatformV1beta1VertexRagStore {
323
312
  /** Optional. Deprecated. Please use rag_resources instead. */
324
313
  ragCorpora?: string[];
325
314
  /** Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support. */
326
- ragResources?: RagResource[];
315
+ ragResources?: GoogleCloudAiplatformV1beta1VertexRagStoreRagResource[];
327
316
  /** Optional. Number of top k results to return from the selected corpora. */
328
317
  similarityTopK?: number;
329
318
  /** Optional. Only return results with vector distance smaller than the threshold. */
330
319
  vectorDistanceThreshold?: number;
331
320
  }
332
- interface VideoMetadata {
321
+ interface GoogleCloudAiplatformV1beta1VertexRagStoreRagResource {
322
+ /** Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` */
323
+ ragCorpus?: string;
324
+ /** Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. */
325
+ ragFileIds?: string[];
326
+ }
327
+ interface GoogleCloudAiplatformV1beta1VideoMetadata {
333
328
  /** Optional. The end offset of the video. */
334
329
  endOffset?: string;
335
330
  /** Optional. The start offset of the video. */
336
331
  startOffset?: string;
337
332
  }
333
+ interface ModelOperationMetadata {
334
+ basicOperationStatus?: string;
335
+ /** The name of the model we are creating/updating The name must have the form `projects/{project_id}/models/{model_id}` */
336
+ name?: string;
337
+ }
338
338
  interface ModelsResource {
339
339
  /** Perform a token counting. */
340
340
  countTokens(request: {
@@ -363,8 +363,8 @@ declare namespace gapi.client {
363
363
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
364
364
  uploadType?: string;
365
365
  /** Request body */
366
- resource: CountTokensRequest;
367
- }): Request<CountTokensResponse>;
366
+ resource: GoogleCloudAiplatformV1beta1CountTokensRequest;
367
+ }): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
368
368
  countTokens(
369
369
  request: {
370
370
  /** V1 error format. */
@@ -392,8 +392,8 @@ declare namespace gapi.client {
392
392
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
393
393
  uploadType?: string;
394
394
  },
395
- body: CountTokensRequest
396
- ): Request<CountTokensResponse>;
395
+ body: GoogleCloudAiplatformV1beta1CountTokensRequest
396
+ ): Request<GoogleCloudAiplatformV1beta1CountTokensResponse>;
397
397
  /** Generate content with multimodal inputs. */
398
398
  generateContent(request: {
399
399
  /** V1 error format. */
@@ -421,8 +421,8 @@ declare namespace gapi.client {
421
421
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
422
422
  uploadType?: string;
423
423
  /** Request body */
424
- resource: GenerateContentRequest;
425
- }): Request<GenerateContentResponse>;
424
+ resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
425
+ }): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
426
426
  generateContent(
427
427
  request: {
428
428
  /** V1 error format. */
@@ -450,8 +450,8 @@ declare namespace gapi.client {
450
450
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
451
451
  uploadType?: string;
452
452
  },
453
- body: GenerateContentRequest
454
- ): Request<GenerateContentResponse>;
453
+ body: GoogleCloudAiplatformV1beta1GenerateContentRequest
454
+ ): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
455
455
  /** Generate content with multimodal inputs with streaming support. */
456
456
  streamGenerateContent(request: {
457
457
  /** V1 error format. */
@@ -479,8 +479,8 @@ declare namespace gapi.client {
479
479
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
480
480
  uploadType?: string;
481
481
  /** Request body */
482
- resource: GenerateContentRequest;
483
- }): Request<GenerateContentResponse>;
482
+ resource: GoogleCloudAiplatformV1beta1GenerateContentRequest;
483
+ }): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
484
484
  streamGenerateContent(
485
485
  request: {
486
486
  /** V1 error format. */
@@ -508,8 +508,8 @@ declare namespace gapi.client {
508
508
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
509
509
  uploadType?: string;
510
510
  },
511
- body: GenerateContentRequest
512
- ): Request<GenerateContentResponse>;
511
+ body: GoogleCloudAiplatformV1beta1GenerateContentRequest
512
+ ): Request<GoogleCloudAiplatformV1beta1GenerateContentResponse>;
513
513
  }
514
514
  interface PublishersResource {
515
515
  models: ModelsResource;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.firebaseml-v2beta",
3
- "version": "0.0.20240607",
3
+ "version": "0.0.20240611",
4
4
  "description": "TypeScript typings for Firebase ML API v2beta",
5
5
  "repository": {
6
6
  "type": "git",