@google/genai 2.9.0-rc.0 → 2.9.0

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.
package/dist/web/web.d.ts CHANGED
@@ -65,8 +65,6 @@ export declare enum AdapterSize {
65
65
 
66
66
  declare type Agent$ = Agent;
67
67
 
68
- declare type Agent$2 = Agent;
69
-
70
68
  /**
71
69
  * An agent definition for the CreateAgent API.
72
70
  *
@@ -110,31 +108,21 @@ declare type Agent = {
110
108
 
111
109
  declare type AgentCreateParams$ = CreateAgentParams;
112
110
 
113
- declare type AgentCreateParams$2 = Agent;
114
-
115
111
  declare type AgentDeleteParams$ = DeleteAgentParams;
116
112
 
117
113
  declare type AgentDeleteResponse$ = Empty;
118
114
 
119
- declare type AgentDeleteResponse$2 = Empty;
120
-
121
115
  declare type AgentGetParams$ = GetAgentParams;
122
116
 
123
117
  declare type AgentListParams$ = ListAgentsParams;
124
118
 
125
- declare type AgentListParams$2 = ListAgentsParams;
126
-
127
119
  declare type AgentListResponse$ = AgentListResponse;
128
120
 
129
- declare type AgentListResponse$2 = AgentListResponse;
130
-
131
121
  declare type AgentListResponse = {
132
122
  agents?: Array<Agent> | undefined;
133
123
  next_page_token?: string | undefined;
134
124
  };
135
125
 
136
- declare type AgentOption$ = AgentOption;
137
-
138
126
  /**
139
127
  * @license
140
128
  * Copyright 2026 Google LLC
@@ -145,7 +133,7 @@ declare type AgentOption$ = AgentOption;
145
133
  /**
146
134
  * The agent to interact with.
147
135
  */
148
- declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | (string & {});
136
+ declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | "antigravity-preview-05-2026" | (string & {});
149
137
 
150
138
  export declare namespace Agents {
151
139
  export type Agent = Agent$;
@@ -261,6 +249,10 @@ declare type AllowedTools = {
261
249
  tools?: Array<string> | undefined;
262
250
  };
263
251
 
252
+ declare type Allowlist$ = Allowlist;
253
+
254
+ declare type Allowlist$2 = AllowlistEntry;
255
+
264
256
  /**
265
257
  * Outbound networking configuration for the sandbox. When specified, restricts which external domains the sandbox can reach. Omit entirely to allow all outbound traffic with no header injection.
266
258
  */
@@ -271,8 +263,6 @@ declare type Allowlist = {
271
263
  allowlist?: Array<AllowlistEntry> | undefined;
272
264
  };
273
265
 
274
- declare type AllowlistEntry$ = AllowlistEntry;
275
-
276
266
  /**
277
267
  * @license
278
268
  * Copyright 2026 Google LLC
@@ -500,7 +490,13 @@ export declare enum ApiSpec {
500
490
  ELASTIC_SEARCH = "ELASTIC_SEARCH"
501
491
  }
502
492
 
503
- declare type Arguments$ = Arguments;
493
+ declare type Arguments$ = CodeExecutionCallArguments;
494
+
495
+ declare type Arguments$2 = GoogleMapsCallArguments;
496
+
497
+ declare type Arguments$3 = GoogleSearchCallArguments;
498
+
499
+ declare type Arguments$4 = Arguments;
504
500
 
505
501
  /**
506
502
  * @license
@@ -533,6 +529,8 @@ declare type ArgumentsDelta = {
533
529
  arguments?: string | undefined;
534
530
  };
535
531
 
532
+ declare type Audio$ = AudioDelta;
533
+
536
534
  /** Representation of an audio chunk. */
537
535
  export declare interface AudioChunk {
538
536
  /** Raw bytes of audio data.
@@ -585,10 +583,6 @@ declare type AudioContent = {
585
583
  */
586
584
  declare type AudioContentMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | (string & {});
587
585
 
588
- declare type AudioContentParam$ = AudioContent;
589
-
590
- declare type AudioDelta$ = AudioDelta;
591
-
592
586
  declare type AudioDelta = {
593
587
  type: "audio";
594
588
  data?: string | undefined;
@@ -666,9 +660,14 @@ declare type AudioResponseFormatMimeType = "audio/mp3" | "audio/ogg_opus" | "aud
666
660
 
667
661
  /** The audio transcription configuration in Setup. */
668
662
  export declare interface AudioTranscriptionConfig {
669
- /** The language codes of the audio. BCP-47 language code. If not set, the transcription will be in the language detected by the model. If set, the server will use the language code specified in the model config as a hint for the language of the audio
670
- */
663
+ /** Deprecated: use LanguageAuto or LanguageHints instead. */
671
664
  languageCodes?: string[];
665
+ /** The model will detect the language automatically. Do not use together with LanguageHints. */
666
+ languageAuto?: LanguageAuto;
667
+ /** Specifies one or more languages in the audio. Do not use together with LanguageAuto. */
668
+ languageHints?: LanguageHints;
669
+ /** A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
670
+ adaptationPhrases?: string[];
672
671
  }
673
672
 
674
673
  /**
@@ -1214,6 +1213,8 @@ export declare interface CachedContentUsageMetadata {
1214
1213
  videoDurationSeconds?: number;
1215
1214
  }
1216
1215
 
1216
+ declare type CachedTokensByModality$ = ModalityTokens;
1217
+
1217
1218
  export declare class Caches extends BaseModule {
1218
1219
  private readonly apiClient;
1219
1220
  constructor(apiClient: ApiClient);
@@ -1356,6 +1357,19 @@ export declare interface CancelBatchJobParameters {
1356
1357
  config?: CancelBatchJobConfig;
1357
1358
  }
1358
1359
 
1360
+ declare type CancelInteractionByIdParams = Omit<CancelInteractionByIdRequest, "id">;
1361
+
1362
+ declare type CancelInteractionByIdRequest = {
1363
+ /**
1364
+ * The unique identifier of the interaction to cancel.
1365
+ */
1366
+ id: string;
1367
+ /**
1368
+ * Which version of the API to use.
1369
+ */
1370
+ api_version?: string | undefined;
1371
+ };
1372
+
1359
1373
  /** Optional parameters for tunings.cancel method. */
1360
1374
  export declare interface CancelTuningJobConfig {
1361
1375
  /** Used to override HTTP request options. */
@@ -1596,6 +1610,8 @@ declare type CodeExecution = {
1596
1610
  type: "code_execution";
1597
1611
  };
1598
1612
 
1613
+ declare type CodeExecutionCall$ = CodeExecutionCallDelta;
1614
+
1599
1615
  declare type CodeExecutionCallArguments$ = CodeExecutionCallArguments;
1600
1616
 
1601
1617
  /**
@@ -1612,8 +1628,6 @@ declare type CodeExecutionCallArguments = {
1612
1628
  code?: string | undefined;
1613
1629
  };
1614
1630
 
1615
- declare type CodeExecutionCallDelta$ = CodeExecutionCallDelta;
1616
-
1617
1631
  declare type CodeExecutionCallDelta = {
1618
1632
  type: "code_execution_call";
1619
1633
  /**
@@ -1636,7 +1650,7 @@ declare type CodeExecutionCallStep = {
1636
1650
  /**
1637
1651
  * The arguments to pass to the code execution.
1638
1652
  */
1639
- arguments?: CodeExecutionCallArguments | undefined;
1653
+ arguments: CodeExecutionCallArguments;
1640
1654
  /**
1641
1655
  * Required. A unique ID for this specific tool call.
1642
1656
  */
@@ -1647,6 +1661,8 @@ declare type CodeExecutionCallStep = {
1647
1661
  signature?: string | undefined;
1648
1662
  };
1649
1663
 
1664
+ declare type CodeExecutionResult$ = CodeExecutionResultDelta;
1665
+
1650
1666
  /** Result of executing the ExecutableCode. Generated only when the `CodeExecution` tool is used. */
1651
1667
  export declare interface CodeExecutionResult {
1652
1668
  /** Required. Outcome of the code execution. */
@@ -1657,8 +1673,6 @@ export declare interface CodeExecutionResult {
1657
1673
  id?: string;
1658
1674
  }
1659
1675
 
1660
- declare type CodeExecutionResultDelta$ = CodeExecutionResultDelta;
1661
-
1662
1676
  /**
1663
1677
  * @license
1664
1678
  * Copyright 2026 Google LLC
@@ -1691,9 +1705,9 @@ declare type CodeExecutionResultStep$ = CodeExecutionResultStep;
1691
1705
  declare type CodeExecutionResultStep = {
1692
1706
  type: "code_execution_result";
1693
1707
  /**
1694
- * The output of the code execution.
1708
+ * Required. The output of the code execution.
1695
1709
  */
1696
- result?: string | undefined;
1710
+ result: string;
1697
1711
  /**
1698
1712
  * Whether the code execution resulted in an error.
1699
1713
  */
@@ -1967,8 +1981,6 @@ export declare interface CountTokensResult {
1967
1981
  totalTokens?: number;
1968
1982
  }
1969
1983
 
1970
- declare type CreateAgentInteraction$ = CreateAgentInteraction;
1971
-
1972
1984
  /**
1973
1985
  * Parameters for creating agent interactions
1974
1986
  */
@@ -1997,10 +2009,6 @@ declare type CreateAgentInteraction = {
1997
2009
  * A list of tool declarations the model may call during interaction.
1998
2010
  */
1999
2011
  tools?: Array<Tool_2> | undefined;
2000
- /**
2001
- * Statistics on the interaction request's token usage.
2002
- */
2003
- usage?: Usage | undefined;
2004
2012
  /**
2005
2013
  * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2006
2014
  */
@@ -2050,10 +2058,14 @@ declare type CreateAgentInteractionEnvironment = Environment_2 | string;
2050
2058
 
2051
2059
  declare type CreateAgentInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateAgentInteraction;
2052
2060
 
2061
+ declare type CreateAgentInteractionParamsNonStreaming$ = CreateAgentInteraction;
2062
+
2053
2063
  declare type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParams & {
2054
2064
  stream?: false | undefined;
2055
2065
  };
2056
2066
 
2067
+ declare type CreateAgentInteractionParamsStreaming$ = CreateAgentInteraction;
2068
+
2057
2069
  declare type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParams & {
2058
2070
  stream: true;
2059
2071
  };
@@ -2355,8 +2367,6 @@ declare type CreateInteractionRequest = {
2355
2367
  */
2356
2368
  export declare function createModelContent(partOrString: PartListUnion | string): Content;
2357
2369
 
2358
- declare type CreateModelInteraction$ = CreateModelInteraction;
2359
-
2360
2370
  /**
2361
2371
  * Parameters for creating model interactions
2362
2372
  */
@@ -2385,10 +2395,6 @@ declare type CreateModelInteraction = {
2385
2395
  * A list of tool declarations the model may call during interaction.
2386
2396
  */
2387
2397
  tools?: Array<Tool_2> | undefined;
2388
- /**
2389
- * Statistics on the interaction request's token usage.
2390
- */
2391
- usage?: Usage | undefined;
2392
2398
  /**
2393
2399
  * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2394
2400
  */
@@ -2443,10 +2449,14 @@ declare type CreateModelInteractionEnvironment = Environment_2 | string;
2443
2449
 
2444
2450
  declare type CreateModelInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateModelInteraction;
2445
2451
 
2452
+ declare type CreateModelInteractionParamsNonStreaming$ = CreateModelInteraction;
2453
+
2446
2454
  declare type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParams & {
2447
2455
  stream?: false | undefined;
2448
2456
  };
2449
2457
 
2458
+ declare type CreateModelInteractionParamsStreaming$ = CreateModelInteraction;
2459
+
2450
2460
  declare type CreateModelInteractionParamsStreaming = CreateModelInteractionParams & {
2451
2461
  stream: true;
2452
2462
  };
@@ -2995,6 +3005,8 @@ export declare interface DistillationSpec {
2995
3005
  tuningMode?: TuningMode;
2996
3006
  }
2997
3007
 
3008
+ declare type Document$ = DocumentDelta;
3009
+
2998
3010
  /** A Document is a collection of Chunks. */
2999
3011
  declare interface Document_2 {
3000
3012
  /** Immutable. Identifier. The `Document` resource name. The ID (name excluding the "fileSearchStores/&#42;/documents/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/{file_search_store_id}/documents/my-awesome-doc-123a456b789c` */
@@ -3049,8 +3061,6 @@ declare type DocumentContent = {
3049
3061
  */
3050
3062
  declare type DocumentContentMimeType = "application/pdf" | "text/csv" | (string & {});
3051
3063
 
3052
- declare type DocumentDelta$ = DocumentDelta;
3053
-
3054
3064
  declare type DocumentDelta = {
3055
3065
  type: "document";
3056
3066
  data?: string | undefined;
@@ -3421,8 +3431,6 @@ export declare interface EmbeddingsBatchJobSource {
3421
3431
  inlinedRequests?: EmbedContentBatch;
3422
3432
  }
3423
3433
 
3424
- declare type Empty$ = Empty;
3425
-
3426
3434
  /**
3427
3435
  * @license
3428
3436
  * Copyright 2026 Google LLC
@@ -3535,13 +3543,13 @@ declare type Environment_2 = {
3535
3543
  */
3536
3544
  declare type EnvironmentEnum = "browser" | "mobile" | "desktop" | (string & {});
3537
3545
 
3538
- declare type EnvironmentNetworkEgressAllowlist$ = EnvironmentNetworkEgressAllowlist;
3539
-
3540
3546
  /**
3541
3547
  * Outbound networking configuration for the sandbox. Accepts an object with an 'allowlist' array to restrict traffic, or the string 'disabled' to turn off all network access. Omit entirely to allow all outbound traffic with no header injection.
3542
3548
  */
3543
3549
  declare type EnvironmentNetworkEgressAllowlist = Allowlist | Disabled;
3544
3550
 
3551
+ declare type Error$ = ErrorT;
3552
+
3545
3553
  declare type ErrorEvent$ = ErrorEvent_2;
3546
3554
 
3547
3555
  declare type ErrorEvent_2 = {
@@ -3560,8 +3568,6 @@ declare type ErrorEvent_2 = {
3560
3568
  metadata?: StreamMetadata | undefined;
3561
3569
  };
3562
3570
 
3563
- declare type ErrorT$ = ErrorT;
3564
-
3565
3571
  /**
3566
3572
  * @license
3567
3573
  * Copyright 2026 Google LLC
@@ -3613,8 +3619,6 @@ export declare interface EvaluationDataset {
3613
3619
  gcsSource?: GcsSource;
3614
3620
  }
3615
3621
 
3616
- declare type ExaAISearchConfig$ = ExaAISearchConfig;
3617
-
3618
3622
  /**
3619
3623
  * @license
3620
3624
  * Copyright 2026 Google LLC
@@ -3968,7 +3972,7 @@ declare type FileSearch_2 = {
3968
3972
  metadata_filter?: string | undefined;
3969
3973
  };
3970
3974
 
3971
- declare type FileSearchCallDelta$ = FileSearchCallDelta;
3975
+ declare type FileSearchCall$ = FileSearchCallDelta;
3972
3976
 
3973
3977
  /**
3974
3978
  * @license
@@ -4009,7 +4013,7 @@ declare type FileSearchCallStep = {
4009
4013
  signature?: string | undefined;
4010
4014
  };
4011
4015
 
4012
- declare type FileSearchResult$ = FileSearchResult;
4016
+ declare type FileSearchResult$ = FileSearchResultDelta;
4013
4017
 
4014
4018
  /**
4015
4019
  * @license
@@ -4023,8 +4027,6 @@ declare type FileSearchResult$ = FileSearchResult;
4023
4027
  */
4024
4028
  declare type FileSearchResult = {};
4025
4029
 
4026
- declare type FileSearchResultDelta$ = FileSearchResultDelta;
4027
-
4028
4030
  declare type FileSearchResultDelta = {
4029
4031
  type: "file_search_result";
4030
4032
  result: Array<FileSearchResult>;
@@ -4221,8 +4223,6 @@ export declare interface FileStatus {
4221
4223
  code?: number;
4222
4224
  }
4223
4225
 
4224
- declare type Filter$ = Filter;
4225
-
4226
4226
  /**
4227
4227
  * @license
4228
4228
  * Copyright 2026 Google LLC
@@ -4338,6 +4338,8 @@ export declare interface FullFineTuningSpec {
4338
4338
  validationDatasetUri?: string;
4339
4339
  }
4340
4340
 
4341
+ declare type Function$ = FunctionT;
4342
+
4341
4343
  /** A predicted FunctionCall returned from the model that contains a string representing the FunctionDeclaration.name and a structured JSON object containing the parameters and their values. */
4342
4344
  export declare interface FunctionCall {
4343
4345
  /** Optional. The unique id of the function call. If populated, the client to execute the `function_call` and return the response with the matching `id`. */
@@ -4499,7 +4501,7 @@ export declare enum FunctionResponseScheduling {
4499
4501
  INTERRUPT = "INTERRUPT"
4500
4502
  }
4501
4503
 
4502
- declare type FunctionResultDelta$ = FunctionResultDelta;
4504
+ declare type FunctionResult$ = FunctionResultDelta;
4503
4505
 
4504
4506
  declare type FunctionResultDelta = {
4505
4507
  type: "function_result";
@@ -4548,12 +4550,8 @@ declare type FunctionResultStepResult = {};
4548
4550
  */
4549
4551
  declare type FunctionResultStepResultUnion = FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
4550
4552
 
4551
- declare type FunctionResultSubcontent$ = FunctionResultSubcontent;
4552
-
4553
4553
  declare type FunctionResultSubcontent = TextContent | ImageContent;
4554
4554
 
4555
- declare type FunctionT$ = FunctionT;
4556
-
4557
4555
  /**
4558
4556
  * @license
4559
4557
  * Copyright 2026 Google LLC
@@ -4605,9 +4603,9 @@ declare class GeminiNextGenInteractions {
4605
4603
  create(params: CreateAgentInteractionParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4606
4604
  create(params: CreateModelInteractionParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4607
4605
  create(params: CreateAgentInteractionParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4608
- create<TParams extends InteractionCreateParams>(params: TParams, options?: GoogleGenAIRequestOptions): Promise<TParams extends {
4609
- stream: true;
4610
- } ? Stream<GoogleGenAIInteractionSSEEvent> : GoogleGenAIInteraction>;
4606
+ create(params: InteractionCreateParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4607
+ create(params: InteractionCreateParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4608
+ create(params: InteractionCreateParams, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
4611
4609
  get(id: string, params?: InteractionGetParamsNonStreaming | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4612
4610
  get(id: string, params: InteractionGetParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4613
4611
  get(id: string, params?: InteractionGetParams | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
@@ -5342,6 +5340,8 @@ declare type GenerationConfig_2 = {
5342
5340
  speech_config?: Array<SpeechConfig_2> | undefined;
5343
5341
  /**
5344
5342
  * The configuration for image interaction.
5343
+ *
5344
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
5345
5345
  */
5346
5346
  image_config?: ImageConfig_2 | undefined;
5347
5347
  /**
@@ -5837,6 +5837,8 @@ declare type GoogleMaps_2 = {
5837
5837
  longitude?: number | undefined;
5838
5838
  };
5839
5839
 
5840
+ declare type GoogleMapsCall$ = GoogleMapsCallDelta;
5841
+
5840
5842
  declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
5841
5843
 
5842
5844
  /**
@@ -5856,8 +5858,6 @@ declare type GoogleMapsCallArguments = {
5856
5858
  queries?: Array<string> | undefined;
5857
5859
  };
5858
5860
 
5859
- declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
5860
-
5861
5861
  declare type GoogleMapsCallDelta = {
5862
5862
  type: "google_maps_call";
5863
5863
  /**
@@ -5893,6 +5893,8 @@ declare type GoogleMapsCallStep = {
5893
5893
 
5894
5894
  declare type GoogleMapsResult$ = GoogleMapsResult;
5895
5895
 
5896
+ declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
5897
+
5896
5898
  /**
5897
5899
  * The result of the Google Maps.
5898
5900
  */
@@ -5901,8 +5903,6 @@ declare type GoogleMapsResult = {
5901
5903
  widget_context_token?: string | undefined;
5902
5904
  };
5903
5905
 
5904
- declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
5905
-
5906
5906
  declare type GoogleMapsResultDelta = {
5907
5907
  type: "google_maps_result";
5908
5908
  /**
@@ -5915,8 +5915,6 @@ declare type GoogleMapsResultDelta = {
5915
5915
  signature?: string | undefined;
5916
5916
  };
5917
5917
 
5918
- declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
5919
-
5920
5918
  declare type GoogleMapsResultPlaces = {
5921
5919
  place_id?: string | undefined;
5922
5920
  name?: string | undefined;
@@ -5931,7 +5929,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
5931
5929
  */
5932
5930
  declare type GoogleMapsResultStep = {
5933
5931
  type: "google_maps_result";
5934
- result?: Array<GoogleMapsResult> | undefined;
5932
+ result: Array<GoogleMapsResult>;
5935
5933
  /**
5936
5934
  * Required. ID to match the ID from the function call block.
5937
5935
  */
@@ -5977,6 +5975,8 @@ declare type GoogleSearch_2 = {
5977
5975
  search_types?: Array<GoogleSearchSearchType> | undefined;
5978
5976
  };
5979
5977
 
5978
+ declare type GoogleSearchCall$ = GoogleSearchCallDelta;
5979
+
5980
5980
  declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
5981
5981
 
5982
5982
  /**
@@ -5996,8 +5996,6 @@ declare type GoogleSearchCallArguments = {
5996
5996
  queries?: Array<string> | undefined;
5997
5997
  };
5998
5998
 
5999
- declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
6000
-
6001
5999
  declare type GoogleSearchCallDelta = {
6002
6000
  type: "google_search_call";
6003
6001
  /**
@@ -6020,7 +6018,7 @@ declare type GoogleSearchCallStep = {
6020
6018
  /**
6021
6019
  * The arguments to pass to Google Search.
6022
6020
  */
6023
- arguments?: GoogleSearchCallArguments | undefined;
6021
+ arguments: GoogleSearchCallArguments;
6024
6022
  /**
6025
6023
  * The type of search grounding enabled.
6026
6024
  */
@@ -6042,6 +6040,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
6042
6040
 
6043
6041
  declare type GoogleSearchResult$ = GoogleSearchResult;
6044
6042
 
6043
+ declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
6044
+
6045
6045
  /**
6046
6046
  * @license
6047
6047
  * Copyright 2026 Google LLC
@@ -6059,8 +6059,6 @@ declare type GoogleSearchResult = {
6059
6059
  search_suggestions?: string | undefined;
6060
6060
  };
6061
6061
 
6062
- declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
6063
-
6064
6062
  declare type GoogleSearchResultDelta = {
6065
6063
  type: "google_search_result";
6066
6064
  result: Array<GoogleSearchResult>;
@@ -6079,9 +6077,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
6079
6077
  declare type GoogleSearchResultStep = {
6080
6078
  type: "google_search_result";
6081
6079
  /**
6082
- * The results of the Google Search.
6080
+ * Required. The results of the Google Search.
6083
6081
  */
6084
- result?: Array<GoogleSearchResult> | undefined;
6082
+ result: Array<GoogleSearchResult>;
6085
6083
  /**
6086
6084
  * Whether the Google Search resulted in an error.
6087
6085
  */
@@ -6612,8 +6610,6 @@ export declare interface HttpRetryOptions {
6612
6610
  attempts?: number;
6613
6611
  }
6614
6612
 
6615
- declare type HybridSearch$ = HybridSearch;
6616
-
6617
6613
  /**
6618
6614
  * @license
6619
6615
  * Copyright 2026 Google LLC
@@ -6634,6 +6630,8 @@ declare type HybridSearch = {
6634
6630
  alpha?: number | undefined;
6635
6631
  };
6636
6632
 
6633
+ declare type Image$ = ImageDelta;
6634
+
6637
6635
  /** An image. */
6638
6636
  declare interface Image_2 {
6639
6637
  /** The Cloud Storage URI of the image. ``Image`` can contain a value
@@ -6676,6 +6674,8 @@ export declare interface ImageConfig {
6676
6674
 
6677
6675
  /**
6678
6676
  * The configuration for image interaction.
6677
+ *
6678
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
6679
6679
  */
6680
6680
  declare type ImageConfig_2 = {
6681
6681
  aspect_ratio?: ImageConfigAspectRatio | undefined;
@@ -6728,8 +6728,6 @@ declare type ImageContent = {
6728
6728
  */
6729
6729
  declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
6730
6730
 
6731
- declare type ImageDelta$ = ImageDelta;
6732
-
6733
6731
  declare type ImageDelta = {
6734
6732
  type: "image";
6735
6733
  data?: string | undefined;
@@ -6940,6 +6938,8 @@ export declare class InlinedResponse {
6940
6938
  error?: JobError;
6941
6939
  }
6942
6940
 
6941
+ declare type InputTokensByModality$ = ModalityTokens;
6942
+
6943
6943
  declare type Interaction$ = Interaction;
6944
6944
 
6945
6945
  /**
@@ -7075,6 +7075,8 @@ declare type Interaction = {
7075
7075
  */
7076
7076
  declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7077
7077
 
7078
+ declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7079
+
7078
7080
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7079
7081
 
7080
7082
  declare type InteractionCompletedEvent = {
@@ -7123,12 +7125,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
7123
7125
 
7124
7126
  declare type InteractionCreateParams = CreateInteractionParams;
7125
7127
 
7126
- declare type InteractionCreateParamsNonStreaming$ = CreateInteractionParamsNonStreaming;
7128
+ declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
7127
7129
 
7128
- declare type InteractionCreateParamsStreaming$ = CreateInteractionParamsStreaming;
7130
+ declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
7129
7131
 
7130
7132
  declare type InteractionDeleteParams$ = DeleteInteractionParams;
7131
7133
 
7134
+ declare type InteractionDeleteResponse$ = Empty;
7135
+
7132
7136
  /**
7133
7137
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7134
7138
  */
@@ -7140,10 +7144,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
7140
7144
 
7141
7145
  declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
7142
7146
 
7147
+ declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
7148
+
7143
7149
  declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
7144
7150
 
7145
7151
  declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
7146
7152
 
7153
+ declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
7154
+
7147
7155
  declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7148
7156
 
7149
7157
  /**
@@ -7152,161 +7160,213 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7152
7160
  declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
7153
7161
 
7154
7162
  export declare namespace Interactions {
7155
- export type AgentDeleteResponse = AgentDeleteResponse$2;
7156
- export type AgentListParams = AgentListParams$2;
7157
- export type AgentOption = AgentOption$;
7158
7163
  export type AllowedTools = AllowedTools$;
7159
- export type AllowlistEntry = AllowlistEntry$;
7160
7164
  export type Annotation = Annotation$;
7161
- export type ArgumentsDelta = ArgumentsDelta$;
7162
7165
  export type AudioContent = AudioContent$;
7163
- export type AudioDelta = AudioDelta$;
7164
7166
  export type AudioResponseFormat = AudioResponseFormat$;
7165
- export type CodeExecution = CodeExecution$;
7166
7167
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7167
- export type CodeExecutionCallDelta = CodeExecutionCallDelta$;
7168
- export type CodeExecutionCallStep = CodeExecutionCallStep$;
7169
- export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
7168
+ export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7169
+ }
7170
7170
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7171
- export type ComputerUse = ComputerUse$;
7172
7171
  export type Content = Content$;
7173
- export type CreateAgentInteraction = CreateAgentInteraction$;
7174
- export type CreateModelInteraction = CreateModelInteraction$;
7172
+ export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7173
+ export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
7174
+ export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
7175
+ export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
7175
7176
  export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
7176
7177
  export type DocumentContent = DocumentContent$;
7177
- export type DocumentDelta = DocumentDelta$;
7178
7178
  export type DynamicAgentConfig = DynamicAgentConfig$;
7179
- export type Empty = Empty$;
7180
- export type EnvironmentNetworkEgressAllowlist = EnvironmentNetworkEgressAllowlist$;
7181
- export type ErrorT = ErrorT$;
7182
- export type ErrorEvent = ErrorEvent$;
7183
- export type ExaAISearchConfig = ExaAISearchConfig$;
7179
+ export interface Environment extends Environment$ {
7180
+ }
7181
+ export interface ErrorEvent extends ErrorEvent$ {
7182
+ }
7184
7183
  export type FileCitation = FileCitation$;
7185
- export type FileSearch = FileSearch$;
7186
- export type FileSearchCallDelta = FileSearchCallDelta$;
7187
7184
  export type FileSearchCallStep = FileSearchCallStep$;
7188
- export type FileSearchResult = FileSearchResult$;
7189
- export type FileSearchResultDelta = FileSearchResultDelta$;
7190
7185
  export type FileSearchResultStep = FileSearchResultStep$;
7191
- export type Filter = Filter$;
7192
- export type FunctionT = FunctionT$;
7186
+ export type Function = Function$;
7193
7187
  export type FunctionCallStep = FunctionCallStep$;
7194
- export type FunctionResultDelta = FunctionResultDelta$;
7195
7188
  export type FunctionResultStep = FunctionResultStep$;
7196
- export type FunctionResultSubcontent = FunctionResultSubcontent$;
7197
7189
  export type GenerationConfig = GenerationConfig$;
7198
- export type GoogleMaps = GoogleMaps$;
7199
7190
  export type GoogleMapsCallArguments = GoogleMapsCallArguments$;
7200
- export type GoogleMapsCallDelta = GoogleMapsCallDelta$;
7201
- export type GoogleMapsCallStep = GoogleMapsCallStep$;
7202
- export type GoogleMapsResult = GoogleMapsResult$;
7203
- export type GoogleMapsResultDelta = GoogleMapsResultDelta$;
7204
- export type GoogleMapsResultPlaces = GoogleMapsResultPlaces$;
7205
- export type GoogleMapsResultStep = GoogleMapsResultStep$;
7206
- export type GoogleSearch = GoogleSearch$;
7191
+ export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
7192
+ }
7193
+ export interface GoogleMapsResult extends GoogleMapsResult$ {
7194
+ }
7195
+ export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
7196
+ }
7207
7197
  export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
7208
- export type GoogleSearchCallDelta = GoogleSearchCallDelta$;
7209
- export type GoogleSearchCallStep = GoogleSearchCallStep$;
7198
+ export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
7199
+ }
7210
7200
  export type GoogleSearchResult = GoogleSearchResult$;
7211
- export type GoogleSearchResultDelta = GoogleSearchResultDelta$;
7212
- export type GoogleSearchResultStep = GoogleSearchResultStep$;
7213
- export type GroundingToolCount = GroundingToolCount$;
7214
- export type HybridSearch = HybridSearch$;
7201
+ export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
7202
+ }
7215
7203
  export type ImageConfig = ImageConfig$;
7216
7204
  export type ImageContent = ImageContent$;
7217
- export type ImageDelta = ImageDelta$;
7218
7205
  export type ImageResponseFormat = ImageResponseFormat$;
7219
7206
  export type Interaction = Interaction$;
7220
- export type InteractionCompletedEvent = InteractionCompletedEvent$;
7207
+ export type InteractionCancelParams = InteractionCancelParams$;
7208
+ export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
7209
+ }
7210
+ export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
7211
+ }
7221
7212
  export type InteractionCreateParams = InteractionCreateParams$;
7222
- export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
7223
- export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
7224
- export type InteractionCreatedEvent = InteractionCreatedEvent$;
7225
7213
  export type InteractionDeleteParams = InteractionDeleteParams$;
7214
+ export type InteractionDeleteResponse = InteractionDeleteResponse$;
7226
7215
  export type InteractionGetParams = InteractionGetParams$;
7227
7216
  export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
7228
7217
  export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
7229
7218
  export type InteractionSSEEvent = InteractionSSEEvent$;
7230
- export type InteractionSSEStreamEvent = InteractionSSEStreamEvent$;
7231
- export type InteractionSseEventInteraction = InteractionSseEventInteraction$;
7232
- export type InteractionStatusUpdate = InteractionStatusUpdate$;
7233
- export type InteractionsInput = InteractionsInput$;
7234
- export type MCPServer = MCPServer$;
7235
- export type MCPServerToolCallDelta = MCPServerToolCallDelta$;
7219
+ export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
7220
+ }
7236
7221
  export type MCPServerToolCallStep = MCPServerToolCallStep$;
7237
- export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
7238
7222
  export type MCPServerToolResultStep = MCPServerToolResultStep$;
7239
- export type MediaResolution = MediaResolution$;
7240
- export type ModalityTokens = ModalityTokens$;
7223
+ export type Model = Model$;
7241
7224
  export type ModelOutputStep = ModelOutputStep$;
7242
- export type ParallelAISearchConfig = ParallelAISearchConfig$;
7243
- export type PlaceCitation = PlaceCitation$;
7244
- export type RagResource = RagResource$;
7245
- export type RagRetrievalConfig = RagRetrievalConfig$;
7246
- export type RagStoreConfig = RagStoreConfig$;
7247
- export type Ranking = Ranking$;
7248
- export type ResponseFormat = ResponseFormat$;
7249
- export type ResponseModality = ResponseModality$;
7250
- export type Retrieval = Retrieval$;
7251
- export type ReviewSnippet = ReviewSnippet$;
7252
- export type ServiceTier = ServiceTier$;
7253
- export type Source = Source$;
7225
+ export interface PlaceCitation extends PlaceCitation$ {
7226
+ }
7254
7227
  export type SpeechConfig = SpeechConfig$;
7255
7228
  export type Step = Step$;
7256
- export type StepDelta = StepDelta$;
7257
- export type StepDeltaData = StepDeltaData$;
7258
- export type StepDeltaMetadata = StepDeltaMetadata$;
7259
- export type StepStart = StepStart$;
7260
- export type StepStop = StepStop$;
7261
- export type StreamMetadata = StreamMetadata$;
7262
- export type TextAnnotationDelta = TextAnnotationDelta$;
7229
+ export interface StepDelta extends StepDelta$ {
7230
+ }
7231
+ export interface StepStart extends StepStart$ {
7232
+ }
7233
+ export interface StepStop extends StepStop$ {
7234
+ }
7263
7235
  export type TextContent = TextContent$;
7264
- export type TextDelta = TextDelta$;
7265
7236
  export type TextResponseFormat = TextResponseFormat$;
7266
7237
  export type ThinkingLevel = ThinkingLevel$;
7267
- export type ThinkingSummaries = ThinkingSummaries$;
7268
- export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
7269
7238
  export type ThoughtStep = ThoughtStep$;
7270
- export type ThoughtSummaryContent = ThoughtSummaryContent$;
7271
- export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
7272
7239
  export type Tool = Tool$;
7273
7240
  export type ToolChoiceConfig = ToolChoiceConfig$;
7274
7241
  export type ToolChoiceType = ToolChoiceType$;
7275
- export type Turn = Turn$;
7276
7242
  export type URLCitation = URLCitation$;
7277
- export type URLContext = URLContext$;
7278
7243
  export type URLContextCallArguments = URLContextCallArguments$;
7279
- export type URLContextCallDelta = URLContextCallDelta$;
7280
- export type URLContextCallStep = URLContextCallStep$;
7244
+ export interface URLContextCallStep extends URLContextCallStep$ {
7245
+ }
7281
7246
  export type URLContextResult = URLContextResult$;
7282
- export type URLContextResultDelta = URLContextResultDelta$;
7283
- export type URLContextResultStep = URLContextResultStep$;
7284
- export type Usage = Usage$;
7247
+ export interface URLContextResultStep extends URLContextResultStep$ {
7248
+ }
7249
+ export interface Usage extends Usage$ {
7250
+ }
7285
7251
  export type UserInputStep = UserInputStep$;
7286
- export type VertexAISearchConfig = VertexAISearchConfig$;
7287
7252
  export type VideoContent = VideoContent$;
7288
- export type VideoDelta = VideoDelta$;
7289
7253
  export type WebhookConfig = WebhookConfig$;
7290
- export type WebhookDeleteResponse = WebhookDeleteResponse$;
7291
- export type WebhookListParams = WebhookListParams$;
7292
- export type Agent = Agent$2;
7293
- export type AgentCreateParams = AgentCreateParams$2;
7294
- export type AgentListResponse = AgentListResponse$2;
7295
- export type Arguments = Arguments$;
7296
- export type AudioContentParam = AudioContentParam$;
7297
- export type Environment = Environment$;
7298
- export type Model = Model$;
7299
- export type ModelParam = ModelParam$;
7300
- export type SigningSecret = SigningSecret$;
7301
- export type VideoContentParam = VideoContentParam$;
7302
- export type Webhook = Webhook$;
7303
- export type WebhookCreateParams = WebhookCreateParams$;
7304
- export type WebhookListResponse = WebhookListResponse$;
7305
- export type WebhookPingParams = WebhookPingParams$;
7306
- export type WebhookPingResponse = WebhookPingResponse$;
7307
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
7308
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
7309
- export type WebhookUpdateParams = WebhookUpdateParams$;
7254
+ export namespace CodeExecutionCallStep {
7255
+ export type Arguments = Arguments$;
7256
+ }
7257
+ export namespace Environment {
7258
+ export interface Allowlist extends Allowlist$ {
7259
+ }
7260
+ export type Source = Source$;
7261
+ export namespace Allowlist {
7262
+ export type Allowlist = Allowlist$2;
7263
+ }
7264
+ }
7265
+ export namespace ErrorEvent {
7266
+ export type Error = Error$;
7267
+ export type Metadata = Metadata$;
7268
+ }
7269
+ export namespace GoogleMapsCallStep {
7270
+ export type Arguments = Arguments$2;
7271
+ }
7272
+ export namespace GoogleMapsResult {
7273
+ export interface Place extends Place$ {
7274
+ }
7275
+ export namespace Place {
7276
+ export type ReviewSnippet = ReviewSnippet$;
7277
+ }
7278
+ }
7279
+ export namespace GoogleMapsResultStep {
7280
+ export interface Result extends Result$ {
7281
+ }
7282
+ export namespace Result {
7283
+ export interface Place extends Place$2 {
7284
+ }
7285
+ export namespace Place {
7286
+ export type ReviewSnippet = ReviewSnippet$2;
7287
+ }
7288
+ }
7289
+ }
7290
+ export namespace GoogleSearchCallStep {
7291
+ export type Arguments = Arguments$3;
7292
+ }
7293
+ export namespace GoogleSearchResultStep {
7294
+ export type Result = Result$2;
7295
+ }
7296
+ export namespace InteractionCompletedEvent {
7297
+ export type Metadata = Metadata$2;
7298
+ }
7299
+ export namespace InteractionCreatedEvent {
7300
+ export type Metadata = Metadata$3;
7301
+ }
7302
+ export namespace InteractionGetParams {
7303
+ export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
7304
+ export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
7305
+ }
7306
+ export namespace InteractionStatusUpdate {
7307
+ export type Metadata = Metadata$4;
7308
+ }
7309
+ export namespace PlaceCitation {
7310
+ export type ReviewSnippet = ReviewSnippet$3;
7311
+ }
7312
+ export namespace StepDelta {
7313
+ export type ArgumentsDelta = ArgumentsDelta$;
7314
+ export type Audio = Audio$;
7315
+ export type CodeExecutionCall = CodeExecutionCall$;
7316
+ export type CodeExecutionResult = CodeExecutionResult$;
7317
+ export type Document = Document$;
7318
+ export type FileSearchCall = FileSearchCall$;
7319
+ export type FileSearchResult = FileSearchResult$;
7320
+ export type FunctionResult = FunctionResult$;
7321
+ export type GoogleMapsCall = GoogleMapsCall$;
7322
+ export type GoogleMapsResult = GoogleMapsResult$2;
7323
+ export type GoogleSearchCall = GoogleSearchCall$;
7324
+ export type GoogleSearchResult = GoogleSearchResult$2;
7325
+ export type Image = Image$;
7326
+ export type MCPServerToolCall = MCPServerToolCall$;
7327
+ export type MCPServerToolResult = MCPServerToolResult$;
7328
+ export type Metadata = Metadata$5;
7329
+ export type Text = Text$;
7330
+ export type TextAnnotationDelta = TextAnnotationDelta$;
7331
+ export type ThoughtSignature = ThoughtSignature$;
7332
+ export type ThoughtSummary = ThoughtSummary$;
7333
+ export type URLContextCall = URLContextCall$;
7334
+ export type URLContextResult = URLContextResult$2;
7335
+ export type Video = Video$;
7336
+ }
7337
+ export namespace StepStart {
7338
+ export type Metadata = Metadata$6;
7339
+ }
7340
+ export namespace StepStop {
7341
+ export type Metadata = Metadata$7;
7342
+ }
7343
+ export namespace Tool {
7344
+ export type CodeExecution = CodeExecution$;
7345
+ export type ComputerUse = ComputerUse$;
7346
+ export type FileSearch = FileSearch$;
7347
+ export type GoogleMaps = GoogleMaps$;
7348
+ export type GoogleSearch = GoogleSearch$;
7349
+ export type MCPServer = MCPServer$;
7350
+ export interface Retrieval extends Retrieval$ {
7351
+ }
7352
+ export type URLContext = URLContext$;
7353
+ export namespace Retrieval {
7354
+ export type VertexAISearchConfig = VertexAISearchConfig$;
7355
+ }
7356
+ }
7357
+ export namespace URLContextCallStep {
7358
+ export type Arguments = Arguments$4;
7359
+ }
7360
+ export namespace URLContextResultStep {
7361
+ export type Result = Result$3;
7362
+ }
7363
+ export namespace Usage {
7364
+ export type CachedTokensByModality = CachedTokensByModality$;
7365
+ export type GroundingToolCount = GroundingToolCount$;
7366
+ export type InputTokensByModality = InputTokensByModality$;
7367
+ export type OutputTokensByModality = OutputTokensByModality$;
7368
+ export type ToolUseTokensByModality = ToolUseTokensByModality$;
7369
+ }
7310
7370
  }
7311
7371
 
7312
7372
  declare namespace interactions {
@@ -7494,8 +7554,6 @@ declare namespace interactions {
7494
7554
  }
7495
7555
  }
7496
7556
 
7497
- declare type InteractionsInput$ = InteractionsInput;
7498
-
7499
7557
  /**
7500
7558
  * The input for the interaction.
7501
7559
  */
@@ -7505,8 +7563,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
7505
7563
 
7506
7564
  declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
7507
7565
 
7508
- declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
7509
-
7510
7566
  /**
7511
7567
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7512
7568
  *
@@ -7559,8 +7615,6 @@ declare type InteractionSseEventInteraction = {
7559
7615
  */
7560
7616
  declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
7561
7617
 
7562
- declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
7563
-
7564
7618
  declare type InteractionSSEStreamEvent = {
7565
7619
  data: InteractionSSEEvent;
7566
7620
  };
@@ -7690,6 +7744,16 @@ export declare enum Language {
7690
7744
  */
7691
7745
  declare type Language_2 = "python";
7692
7746
 
7747
+ /** Indicates the language of the audio should be automatically detected. */
7748
+ export declare interface LanguageAuto {
7749
+ }
7750
+
7751
+ /** Provides hints to the model about possible languages present in the audio. */
7752
+ export declare interface LanguageHints {
7753
+ /** BCP-47 language codes. At least one must be specified. */
7754
+ languageCodes?: string[];
7755
+ }
7756
+
7693
7757
  /** An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. */
7694
7758
  export declare interface LatLng {
7695
7759
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -8653,6 +8717,8 @@ export declare interface LiveServerContent {
8653
8717
  it is waiting for more input from the user, e.g. because it expects the
8654
8718
  user to continue talking. */
8655
8719
  waitingForInput?: boolean;
8720
+ /** Low latency transcription updated while the user is speaking. */
8721
+ interimInputTranscription?: Transcription;
8656
8722
  }
8657
8723
 
8658
8724
  /** Server will not be able to service client soon. */
@@ -8866,7 +8932,7 @@ export declare interface McpServer {
8866
8932
  streamableHttpTransport?: StreamableHttpTransport;
8867
8933
  }
8868
8934
 
8869
- declare type MCPServerToolCallDelta$ = MCPServerToolCallDelta;
8935
+ declare type MCPServerToolCall$ = MCPServerToolCallDelta;
8870
8936
 
8871
8937
  /**
8872
8938
  * @license
@@ -8918,7 +8984,7 @@ declare type MCPServerToolCallStep = {
8918
8984
  id: string;
8919
8985
  };
8920
8986
 
8921
- declare type MCPServerToolResultDelta$ = MCPServerToolResultDelta;
8987
+ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
8922
8988
 
8923
8989
  declare type MCPServerToolResultDelta = {
8924
8990
  type: "mcp_server_tool_result";
@@ -8953,7 +9019,7 @@ declare type MCPServerToolResultStep = {
8953
9019
  /**
8954
9020
  * The output from the MCP server call. Can be simple text or rich content.
8955
9021
  */
8956
- result?: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent> | undefined;
9022
+ result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
8957
9023
  };
8958
9024
 
8959
9025
  declare type MCPServerToolResultStepResult = {};
@@ -9003,8 +9069,6 @@ export declare enum MediaModality {
9003
9069
  DOCUMENT = "DOCUMENT"
9004
9070
  }
9005
9071
 
9006
- declare type MediaResolution$ = MediaResolution_2;
9007
-
9008
9072
  /** The media resolution to use. */
9009
9073
  export declare enum MediaResolution {
9010
9074
  /**
@@ -9034,6 +9098,20 @@ export declare enum MediaResolution {
9034
9098
  */
9035
9099
  declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
9036
9100
 
9101
+ declare type Metadata$ = StreamMetadata;
9102
+
9103
+ declare type Metadata$2 = StreamMetadata;
9104
+
9105
+ declare type Metadata$3 = StreamMetadata;
9106
+
9107
+ declare type Metadata$4 = StreamMetadata;
9108
+
9109
+ declare type Metadata$5 = StepDeltaMetadata;
9110
+
9111
+ declare type Metadata$6 = StreamMetadata;
9112
+
9113
+ declare type Metadata$7 = StreamMetadata;
9114
+
9037
9115
  /** Server content modalities. */
9038
9116
  export declare enum Modality {
9039
9117
  /**
@@ -9066,8 +9144,6 @@ export declare interface ModalityTokenCount {
9066
9144
  tokenCount?: number;
9067
9145
  }
9068
9146
 
9069
- declare type ModalityTokens$ = ModalityTokens;
9070
-
9071
9147
  /**
9072
9148
  * The token count for a single response modality.
9073
9149
  */
@@ -9146,7 +9222,7 @@ export declare interface Model {
9146
9222
  /**
9147
9223
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9148
9224
  */
9149
- declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
9225
+ declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "gemini-3.5-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
9150
9226
 
9151
9227
  /** Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks. This data type is not supported in Gemini API. */
9152
9228
  export declare interface ModelArmorConfig {
@@ -9166,8 +9242,6 @@ declare type ModelOutputStep = {
9166
9242
  content?: Array<Content_2> | undefined;
9167
9243
  };
9168
9244
 
9169
- declare type ModelParam$ = Model_2;
9170
-
9171
9245
  export declare class Models extends BaseModule {
9172
9246
  private readonly apiClient;
9173
9247
  constructor(apiClient: ApiClient);
@@ -9713,6 +9787,8 @@ export declare interface OutputInfo {
9713
9787
  gcsOutputDirectory?: string;
9714
9788
  }
9715
9789
 
9790
+ declare type OutputTokensByModality$ = ModalityTokens;
9791
+
9716
9792
  export declare enum PagedItem {
9717
9793
  PAGED_ITEM_BATCH_JOBS = "batchJobs",
9718
9794
  PAGED_ITEM_MODELS = "models",
@@ -9875,8 +9951,6 @@ export declare interface PairwiseMetricResult {
9875
9951
  pairwiseChoice?: PairwiseChoice;
9876
9952
  }
9877
9953
 
9878
- declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
9879
-
9880
9954
  /**
9881
9955
  * @license
9882
9956
  * Copyright 2026 Google LLC
@@ -10064,23 +10138,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10064
10138
  */
10065
10139
  declare type PingWebhookRequest = {};
10066
10140
 
10067
- declare type PingWebhookRequest_2 = {
10068
- /**
10069
- * Which version of the API to use.
10070
- */
10071
- api_version?: string | undefined;
10072
- /**
10073
- * Required. The ID of the webhook to ping.
10074
- *
10075
- * @remarks
10076
- * Format: `{webhook_id}`
10077
- */
10078
- id: string;
10079
- /**
10080
- * The request body.
10081
- */
10082
- body?: webhooks.PingWebhookRequest | undefined;
10083
- };
10141
+ declare type Place$ = GoogleMapsResultPlaces;
10142
+
10143
+ declare type Place$2 = GoogleMapsResultPlaces;
10084
10144
 
10085
10145
  declare type PlaceCitation$ = PlaceCitation;
10086
10146
 
@@ -10246,8 +10306,6 @@ export declare interface RagChunkPageSpan {
10246
10306
  lastPage?: number;
10247
10307
  }
10248
10308
 
10249
- declare type RagResource$ = RagResource;
10250
-
10251
10309
  /**
10252
10310
  * @license
10253
10311
  * Copyright 2026 Google LLC
@@ -10272,8 +10330,6 @@ declare type RagResource = {
10272
10330
  rag_file_ids?: Array<string> | undefined;
10273
10331
  };
10274
10332
 
10275
- declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
10276
-
10277
10333
  /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
10278
10334
  export declare interface RagRetrievalConfig {
10279
10335
  /** Optional. Config for filters. */
@@ -10344,8 +10400,6 @@ export declare interface RagRetrievalConfigRankingRankService {
10344
10400
  modelName?: string;
10345
10401
  }
10346
10402
 
10347
- declare type RagStoreConfig$ = RagStoreConfig;
10348
-
10349
10403
  /**
10350
10404
  * Use to specify configuration for RAG Store.
10351
10405
  */
@@ -10372,8 +10426,6 @@ declare type RagStoreConfig = {
10372
10426
  rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
10373
10427
  };
10374
10428
 
10375
- declare type Ranking$ = Ranking;
10376
-
10377
10429
  /**
10378
10430
  * @license
10379
10431
  * Copyright 2026 Google LLC
@@ -10789,14 +10841,10 @@ export declare enum ResourceScope {
10789
10841
  COLLECTION = "COLLECTION"
10790
10842
  }
10791
10843
 
10792
- declare type ResponseFormat$ = ResponseFormat;
10793
-
10794
10844
  declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
10795
10845
  [k: string]: any;
10796
10846
  };
10797
10847
 
10798
- declare type ResponseModality$ = ResponseModality;
10799
-
10800
10848
  /**
10801
10849
  * @license
10802
10850
  * Copyright 2026 Google LLC
@@ -10822,6 +10870,12 @@ export declare enum ResponseParseType {
10822
10870
  REGEX_EXTRACT = "REGEX_EXTRACT"
10823
10871
  }
10824
10872
 
10873
+ declare type Result$ = GoogleMapsResult;
10874
+
10875
+ declare type Result$2 = GoogleSearchResult;
10876
+
10877
+ declare type Result$3 = URLContextResult;
10878
+
10825
10879
  declare type Retrieval$ = Retrieval_2;
10826
10880
 
10827
10881
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -10890,10 +10944,19 @@ declare type RetryConfig = {
10890
10944
  strategy: "backoff";
10891
10945
  backoff?: BackoffStrategy;
10892
10946
  retryConnectionErrors?: boolean;
10947
+ } | {
10948
+ strategy: "attempt-count-backoff";
10949
+ maxRetries: number;
10950
+ backoff?: Partial<BackoffStrategy>;
10951
+ retryConnectionErrors?: boolean;
10893
10952
  };
10894
10953
 
10895
10954
  declare type ReviewSnippet$ = ReviewSnippet;
10896
10955
 
10956
+ declare type ReviewSnippet$2 = ReviewSnippet;
10957
+
10958
+ declare type ReviewSnippet$3 = ReviewSnippet;
10959
+
10897
10960
  /**
10898
10961
  * @license
10899
10962
  * Copyright 2026 Google LLC
@@ -10946,24 +11009,6 @@ declare type RotateSigningSecretRequest = {
10946
11009
  revocation_behavior?: RevocationBehavior | undefined;
10947
11010
  };
10948
11011
 
10949
- declare type RotateSigningSecretRequest_2 = {
10950
- /**
10951
- * Which version of the API to use.
10952
- */
10953
- api_version?: string | undefined;
10954
- /**
10955
- * Required. The ID of the webhook for which to generate a signing secret.
10956
- *
10957
- * @remarks
10958
- * Format: `{webhook_id}`
10959
- */
10960
- id: string;
10961
- /**
10962
- * The request body.
10963
- */
10964
- body?: webhooks.RotateSigningSecretRequest | undefined;
10965
- };
10966
-
10967
11012
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
10968
11013
  export declare interface RougeMetricValue {
10969
11014
  /** Output only. Rouge score. */
@@ -11259,8 +11304,6 @@ export declare interface SendMessageParameters {
11259
11304
  config?: GenerateContentConfig;
11260
11305
  }
11261
11306
 
11262
- declare type ServiceTier$ = ServiceTier_2;
11263
-
11264
11307
  /** Pricing and performance service tier. */
11265
11308
  export declare enum ServiceTier {
11266
11309
  /**
@@ -11452,8 +11495,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
11452
11495
 
11453
11496
  declare type SigningSecret$ = SigningSecret;
11454
11497
 
11455
- declare type SigningSecret$2 = SigningSecret;
11456
-
11457
11498
  /**
11458
11499
  * @license
11459
11500
  * Copyright 2026 Google LLC
@@ -11646,12 +11687,8 @@ declare type StepDelta = {
11646
11687
  metadata?: StepDeltaMetadata | undefined;
11647
11688
  };
11648
11689
 
11649
- declare type StepDeltaData$ = StepDeltaData;
11650
-
11651
11690
  declare type StepDeltaData = TextDelta | ImageDelta | AudioDelta | DocumentDelta | VideoDelta | ThoughtSummaryDelta | ThoughtSignatureDelta | TextAnnotationDelta | ArgumentsDelta | CodeExecutionCallDelta | URLContextCallDelta | GoogleSearchCallDelta | MCPServerToolCallDelta | FileSearchCallDelta | GoogleMapsCallDelta | CodeExecutionResultDelta | URLContextResultDelta | GoogleSearchResultDelta | MCPServerToolResultDelta | FileSearchResultDelta | GoogleMapsResultDelta | FunctionResultDelta;
11652
11691
 
11653
- declare type StepDeltaMetadata$ = StepDeltaMetadata;
11654
-
11655
11692
  /**
11656
11693
  * Optional metadata accompanying ANY streamed event.
11657
11694
  */
@@ -11700,7 +11737,8 @@ export declare class Stream<T> extends ReadableStream<T> {
11700
11737
  constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
11701
11738
  dataRequired?: boolean;
11702
11739
  });
11703
- [Symbol.asyncIterator](): any;
11740
+ [Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
11741
+ values(options?: unknown): StreamAsyncIterator<T>;
11704
11742
  }
11705
11743
 
11706
11744
  /** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
@@ -11717,7 +11755,23 @@ export declare interface StreamableHttpTransport {
11717
11755
  url?: string;
11718
11756
  }
11719
11757
 
11720
- declare type StreamMetadata$ = StreamMetadata;
11758
+ /**
11759
+ * @license
11760
+ * Copyright 2026 Google LLC
11761
+ * SPDX-License-Identifier: Apache-2.0
11762
+ *
11763
+ * g3-prettier-ignore-file
11764
+ */
11765
+ declare type StreamAsyncIterator<T> = {
11766
+ next(): Promise<IteratorResult<T, undefined>>;
11767
+ throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
11768
+ return?(): Promise<IteratorResult<T, undefined>>;
11769
+ [Symbol.asyncIterator](): StreamAsyncIterator<T>;
11770
+ } & {
11771
+ [K in typeof Symbol extends {
11772
+ readonly asyncDispose: infer SymbolType extends symbol;
11773
+ } ? SymbolType : never]: () => PromiseLike<void>;
11774
+ };
11721
11775
 
11722
11776
  declare type StreamMetadata = {
11723
11777
  /**
@@ -11907,6 +11961,8 @@ export declare interface TestTableItem {
11907
11961
  ignoreKeys?: string[];
11908
11962
  }
11909
11963
 
11964
+ declare type Text$ = TextDelta;
11965
+
11910
11966
  declare type TextAnnotationDelta$ = TextAnnotationDelta;
11911
11967
 
11912
11968
  declare type TextAnnotationDelta = {
@@ -11934,8 +11990,6 @@ declare type TextContent = {
11934
11990
  annotations?: Array<Annotation> | undefined;
11935
11991
  };
11936
11992
 
11937
- declare type TextDelta$ = TextDelta;
11938
-
11939
11993
  /**
11940
11994
  * @license
11941
11995
  * Copyright 2026 Google LLC
@@ -12029,8 +12083,6 @@ export declare enum ThinkingLevel {
12029
12083
  */
12030
12084
  declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
12031
12085
 
12032
- declare type ThinkingSummaries$ = ThinkingSummaries;
12033
-
12034
12086
  /**
12035
12087
  * @license
12036
12088
  * Copyright 2026 Google LLC
@@ -12040,7 +12092,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
12040
12092
  */
12041
12093
  declare type ThinkingSummaries = "auto" | "none" | (string & {});
12042
12094
 
12043
- declare type ThoughtSignatureDelta$ = ThoughtSignatureDelta;
12095
+ declare type ThoughtSignature$ = ThoughtSignatureDelta;
12044
12096
 
12045
12097
  /**
12046
12098
  * @license
@@ -12074,12 +12126,10 @@ declare type ThoughtStep = {
12074
12126
  summary?: Array<ThoughtSummaryContent> | undefined;
12075
12127
  };
12076
12128
 
12077
- declare type ThoughtSummaryContent$ = ThoughtSummaryContent;
12129
+ declare type ThoughtSummary$ = ThoughtSummaryDelta;
12078
12130
 
12079
12131
  declare type ThoughtSummaryContent = TextContent | ImageContent;
12080
12132
 
12081
- declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
12082
-
12083
12133
  declare type ThoughtSummaryDelta = {
12084
12134
  type: "thought_summary";
12085
12135
  /**
@@ -12338,6 +12388,8 @@ export declare enum ToolType {
12338
12388
 
12339
12389
  export declare type ToolUnion = Tool | CallableTool;
12340
12390
 
12391
+ declare type ToolUseTokensByModality$ = ModalityTokens;
12392
+
12341
12393
  /** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
12342
12394
  export declare enum TrafficType {
12343
12395
  /**
@@ -12362,7 +12414,7 @@ export declare enum TrafficType {
12362
12414
  PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
12363
12415
  }
12364
12416
 
12365
- /** Audio transcription in Server Conent. */
12417
+ /** Audio transcription in Server Content. */
12366
12418
  export declare interface Transcription {
12367
12419
  /** Optional. Transcription text. */
12368
12420
  text?: string;
@@ -12711,8 +12763,6 @@ export declare interface TuningValidationDataset {
12711
12763
  vertexDatasetResource?: string;
12712
12764
  }
12713
12765
 
12714
- declare type Turn$ = Turn;
12715
-
12716
12766
  /**
12717
12767
  * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
12718
12768
  */
@@ -13374,6 +13424,8 @@ declare namespace types {
13374
13424
  SessionResumptionConfig,
13375
13425
  SlidingWindow,
13376
13426
  ContextWindowCompressionConfig,
13427
+ LanguageAuto,
13428
+ LanguageHints,
13377
13429
  AudioTranscriptionConfig,
13378
13430
  ProactivityConfig,
13379
13431
  CustomizedAvatar,
@@ -13486,27 +13538,6 @@ export declare interface UpdateModelParameters {
13486
13538
  config?: UpdateModelConfig;
13487
13539
  }
13488
13540
 
13489
- declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
13490
-
13491
- declare type UpdateWebhookRequest = {
13492
- /**
13493
- * Which version of the API to use.
13494
- */
13495
- api_version?: string | undefined;
13496
- /**
13497
- * Required. The ID of the webhook to update.
13498
- */
13499
- id: string;
13500
- /**
13501
- * Optional. The list of fields to update.
13502
- */
13503
- update_mask?: string | undefined;
13504
- /**
13505
- * Required. The webhook to update.
13506
- */
13507
- body?: webhooks.WebhookUpdate | undefined;
13508
- };
13509
-
13510
13541
  declare interface Uploader {
13511
13542
  /**
13512
13543
  * Uploads a file to the given upload url.
@@ -13761,6 +13792,8 @@ declare type URLContext = {
13761
13792
  export declare interface UrlContext {
13762
13793
  }
13763
13794
 
13795
+ declare type URLContextCall$ = URLContextCallDelta;
13796
+
13764
13797
  declare type URLContextCallArguments$ = URLContextCallArguments;
13765
13798
 
13766
13799
  /**
@@ -13780,8 +13813,6 @@ declare type URLContextCallArguments = {
13780
13813
  urls?: Array<string> | undefined;
13781
13814
  };
13782
13815
 
13783
- declare type URLContextCallDelta$ = URLContextCallDelta;
13784
-
13785
13816
  declare type URLContextCallDelta = {
13786
13817
  type: "url_context_call";
13787
13818
  /**
@@ -13812,7 +13843,7 @@ declare type URLContextCallStep = {
13812
13843
  /**
13813
13844
  * The arguments to pass to the URL context.
13814
13845
  */
13815
- arguments?: Arguments | undefined;
13846
+ arguments: Arguments;
13816
13847
  };
13817
13848
 
13818
13849
  /** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
@@ -13823,6 +13854,8 @@ export declare interface UrlContextMetadata {
13823
13854
 
13824
13855
  declare type URLContextResult$ = URLContextResult;
13825
13856
 
13857
+ declare type URLContextResult$2 = URLContextResultDelta;
13858
+
13826
13859
  /**
13827
13860
  * The result of the URL context.
13828
13861
  */
@@ -13837,8 +13870,6 @@ declare type URLContextResult = {
13837
13870
  status?: URLContextResultStatus | undefined;
13838
13871
  };
13839
13872
 
13840
- declare type URLContextResultDelta$ = URLContextResultDelta;
13841
-
13842
13873
  declare type URLContextResultDelta = {
13843
13874
  type: "url_context_result";
13844
13875
  result: Array<URLContextResult>;
@@ -13869,9 +13900,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
13869
13900
  declare type URLContextResultStep = {
13870
13901
  type: "url_context_result";
13871
13902
  /**
13872
- * The results of the URL context.
13903
+ * Required. The results of the URL context.
13873
13904
  */
13874
- result?: Array<URLContextResult> | undefined;
13905
+ result: Array<URLContextResult>;
13875
13906
  /**
13876
13907
  * Whether the URL context resulted in an error.
13877
13908
  */
@@ -14191,6 +14222,8 @@ export declare interface VertexRagStoreRagResource {
14191
14222
  ragFileIds?: string[];
14192
14223
  }
14193
14224
 
14225
+ declare type Video$ = VideoDelta;
14226
+
14194
14227
  /** A generated video. */
14195
14228
  export declare interface Video {
14196
14229
  /** Path to another storage. */
@@ -14243,10 +14276,6 @@ declare type VideoContent = {
14243
14276
  */
14244
14277
  declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
14245
14278
 
14246
- declare type VideoContentParam$ = VideoContent;
14247
-
14248
- declare type VideoDelta$ = VideoDelta;
14249
-
14250
14279
  declare type VideoDelta = {
14251
14280
  type: "video";
14252
14281
  data?: string | undefined;
@@ -14353,6 +14382,8 @@ declare type Visualization = "off" | "auto" | (string & {});
14353
14382
  export declare interface VoiceActivity {
14354
14383
  /** The type of the voice activity signal. */
14355
14384
  voiceActivityType?: VoiceActivityType;
14385
+ /** The time voice activity detected in audio time, relative to the start of the audio stream. */
14386
+ audioOffset?: string;
14356
14387
  }
14357
14388
 
14358
14389
  export declare interface VoiceActivityDetectionSignal {
@@ -14388,8 +14419,6 @@ export declare interface VoiceConfig {
14388
14419
 
14389
14420
  declare type Webhook$ = Webhook;
14390
14421
 
14391
- declare type Webhook$2 = Webhook;
14392
-
14393
14422
  /**
14394
14423
  * A Webhook resource.
14395
14424
  */
@@ -14487,16 +14516,12 @@ declare type WebhookConfig_2 = {
14487
14516
  } | undefined;
14488
14517
  };
14489
14518
 
14490
- declare type WebhookCreateParams$ = WebhookInput;
14491
-
14492
- declare type WebhookCreateParams$2 = CreateWebhookParams;
14519
+ declare type WebhookCreateParams$ = CreateWebhookParams;
14493
14520
 
14494
14521
  declare type WebhookDeleteParams$ = DeleteWebhookParams;
14495
14522
 
14496
14523
  declare type WebhookDeleteResponse$ = Empty;
14497
14524
 
14498
- declare type WebhookDeleteResponse$2 = Empty;
14499
-
14500
14525
  declare type WebhookGetParams$ = GetWebhookParams;
14501
14526
 
14502
14527
  declare type WebhookInput$ = WebhookInput;
@@ -14531,8 +14556,6 @@ declare type WebhookInput = {
14531
14556
 
14532
14557
  declare type WebhookListParams$ = ListWebhooksParams;
14533
14558
 
14534
- declare type WebhookListParams$2 = ListWebhooksParams;
14535
-
14536
14559
  declare type WebhookListParams = {
14537
14560
  api_version?: string;
14538
14561
  page_size?: number;
@@ -14541,8 +14564,6 @@ declare type WebhookListParams = {
14541
14564
 
14542
14565
  declare type WebhookListResponse$ = WebhookListResponse;
14543
14566
 
14544
- declare type WebhookListResponse$2 = WebhookListResponse;
14545
-
14546
14567
  /**
14547
14568
  * Response message for WebhookService.ListWebhooks.
14548
14569
  */
@@ -14562,8 +14583,6 @@ declare type WebhookListResponse = {
14562
14583
 
14563
14584
  declare type WebhookPingParams$ = PingWebhookRequest;
14564
14585
 
14565
- declare type WebhookPingParams$2 = PingWebhookRequest_2;
14566
-
14567
14586
  declare type WebhookPingParams = {
14568
14587
  api_version?: string;
14569
14588
  body?: webhooks.PingWebhookRequest;
@@ -14571,8 +14590,6 @@ declare type WebhookPingParams = {
14571
14590
 
14572
14591
  declare type WebhookPingResponse$ = WebhookPingResponse;
14573
14592
 
14574
- declare type WebhookPingResponse$2 = WebhookPingResponse;
14575
-
14576
14593
  /**
14577
14594
  * @license
14578
14595
  * Copyright 2026 Google LLC
@@ -14587,16 +14604,12 @@ declare type WebhookPingResponse = {};
14587
14604
 
14588
14605
  declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
14589
14606
 
14590
- declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
14591
-
14592
14607
  declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
14593
14608
  api_version?: string;
14594
14609
  };
14595
14610
 
14596
14611
  declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
14597
14612
 
14598
- declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
14599
-
14600
14613
  /**
14601
14614
  * @license
14602
14615
  * Copyright 2026 Google LLC
@@ -14617,21 +14630,21 @@ declare type WebhookRotateSigningSecretResponse = {
14617
14630
  export declare namespace Webhooks {
14618
14631
  export type PingWebhookRequest = PingWebhookRequest$;
14619
14632
  export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
14620
- export type SigningSecret = SigningSecret$2;
14621
- export type Webhook = Webhook$2;
14622
- export type WebhookCreateParams = WebhookCreateParams$2;
14633
+ export type SigningSecret = SigningSecret$;
14634
+ export type Webhook = Webhook$;
14635
+ export type WebhookCreateParams = WebhookCreateParams$;
14623
14636
  export type WebhookDeleteParams = WebhookDeleteParams$;
14624
- export type WebhookDeleteResponse = WebhookDeleteResponse$2;
14637
+ export type WebhookDeleteResponse = WebhookDeleteResponse$;
14625
14638
  export type WebhookGetParams = WebhookGetParams$;
14626
- export type WebhookListParams = WebhookListParams$2;
14627
- export type WebhookListResponse = WebhookListResponse$2;
14628
- export type WebhookPingParams = WebhookPingParams$2;
14629
- export type WebhookPingResponse = WebhookPingResponse$2;
14630
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$2;
14631
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$2;
14632
- export type WebhookUpdate = WebhookUpdate$;
14633
- export type WebhookUpdateParams = WebhookUpdateParams$2;
14634
14639
  export type WebhookInput = WebhookInput$;
14640
+ export type WebhookListParams = WebhookListParams$;
14641
+ export type WebhookListResponse = WebhookListResponse$;
14642
+ export type WebhookPingParams = WebhookPingParams$;
14643
+ export type WebhookPingResponse = WebhookPingResponse$;
14644
+ export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
14645
+ export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
14646
+ export type WebhookUpdate = WebhookUpdate$;
14647
+ export type WebhookUpdateParams = WebhookUpdateParams$;
14635
14648
  }
14636
14649
 
14637
14650
  declare namespace webhooks {
@@ -14693,8 +14706,6 @@ declare type WebhookUpdate = {
14693
14706
 
14694
14707
  declare type WebhookUpdateParams$ = WebhookUpdate;
14695
14708
 
14696
- declare type WebhookUpdateParams$2 = UpdateWebhookParams;
14697
-
14698
14709
  declare type WebhookUpdateParams = {
14699
14710
  api_version?: string;
14700
14711
  update_mask?: string;