@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/genai.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_2;
124
118
 
125
- declare type AgentListParams$2 = ListAgentsParams_2;
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
  /**
@@ -5832,6 +5832,8 @@ declare type GoogleMaps_2 = {
5832
5832
  longitude?: number | undefined;
5833
5833
  };
5834
5834
 
5835
+ declare type GoogleMapsCall$ = GoogleMapsCallDelta;
5836
+
5835
5837
  declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
5836
5838
 
5837
5839
  /**
@@ -5851,8 +5853,6 @@ declare type GoogleMapsCallArguments = {
5851
5853
  queries?: Array<string> | undefined;
5852
5854
  };
5853
5855
 
5854
- declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
5855
-
5856
5856
  declare type GoogleMapsCallDelta = {
5857
5857
  type: "google_maps_call";
5858
5858
  /**
@@ -5888,6 +5888,8 @@ declare type GoogleMapsCallStep = {
5888
5888
 
5889
5889
  declare type GoogleMapsResult$ = GoogleMapsResult;
5890
5890
 
5891
+ declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
5892
+
5891
5893
  /**
5892
5894
  * The result of the Google Maps.
5893
5895
  */
@@ -5896,8 +5898,6 @@ declare type GoogleMapsResult = {
5896
5898
  widget_context_token?: string | undefined;
5897
5899
  };
5898
5900
 
5899
- declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
5900
-
5901
5901
  declare type GoogleMapsResultDelta = {
5902
5902
  type: "google_maps_result";
5903
5903
  /**
@@ -5910,8 +5910,6 @@ declare type GoogleMapsResultDelta = {
5910
5910
  signature?: string | undefined;
5911
5911
  };
5912
5912
 
5913
- declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
5914
-
5915
5913
  declare type GoogleMapsResultPlaces = {
5916
5914
  place_id?: string | undefined;
5917
5915
  name?: string | undefined;
@@ -5926,7 +5924,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
5926
5924
  */
5927
5925
  declare type GoogleMapsResultStep = {
5928
5926
  type: "google_maps_result";
5929
- result?: Array<GoogleMapsResult> | undefined;
5927
+ result: Array<GoogleMapsResult>;
5930
5928
  /**
5931
5929
  * Required. ID to match the ID from the function call block.
5932
5930
  */
@@ -5972,6 +5970,8 @@ declare type GoogleSearch_2 = {
5972
5970
  search_types?: Array<GoogleSearchSearchType> | undefined;
5973
5971
  };
5974
5972
 
5973
+ declare type GoogleSearchCall$ = GoogleSearchCallDelta;
5974
+
5975
5975
  declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
5976
5976
 
5977
5977
  /**
@@ -5991,8 +5991,6 @@ declare type GoogleSearchCallArguments = {
5991
5991
  queries?: Array<string> | undefined;
5992
5992
  };
5993
5993
 
5994
- declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
5995
-
5996
5994
  declare type GoogleSearchCallDelta = {
5997
5995
  type: "google_search_call";
5998
5996
  /**
@@ -6015,7 +6013,7 @@ declare type GoogleSearchCallStep = {
6015
6013
  /**
6016
6014
  * The arguments to pass to Google Search.
6017
6015
  */
6018
- arguments?: GoogleSearchCallArguments | undefined;
6016
+ arguments: GoogleSearchCallArguments;
6019
6017
  /**
6020
6018
  * The type of search grounding enabled.
6021
6019
  */
@@ -6037,6 +6035,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
6037
6035
 
6038
6036
  declare type GoogleSearchResult$ = GoogleSearchResult;
6039
6037
 
6038
+ declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
6039
+
6040
6040
  /**
6041
6041
  * @license
6042
6042
  * Copyright 2026 Google LLC
@@ -6054,8 +6054,6 @@ declare type GoogleSearchResult = {
6054
6054
  search_suggestions?: string | undefined;
6055
6055
  };
6056
6056
 
6057
- declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
6058
-
6059
6057
  declare type GoogleSearchResultDelta = {
6060
6058
  type: "google_search_result";
6061
6059
  result: Array<GoogleSearchResult>;
@@ -6074,9 +6072,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
6074
6072
  declare type GoogleSearchResultStep = {
6075
6073
  type: "google_search_result";
6076
6074
  /**
6077
- * The results of the Google Search.
6075
+ * Required. The results of the Google Search.
6078
6076
  */
6079
- result?: Array<GoogleSearchResult> | undefined;
6077
+ result: Array<GoogleSearchResult>;
6080
6078
  /**
6081
6079
  * Whether the Google Search resulted in an error.
6082
6080
  */
@@ -6607,8 +6605,6 @@ export declare interface HttpRetryOptions {
6607
6605
  attempts?: number;
6608
6606
  }
6609
6607
 
6610
- declare type HybridSearch$ = HybridSearch;
6611
-
6612
6608
  /**
6613
6609
  * @license
6614
6610
  * Copyright 2026 Google LLC
@@ -6629,6 +6625,8 @@ declare type HybridSearch = {
6629
6625
  alpha?: number | undefined;
6630
6626
  };
6631
6627
 
6628
+ declare type Image$ = ImageDelta;
6629
+
6632
6630
  /** An image. */
6633
6631
  declare interface Image_2 {
6634
6632
  /** The Cloud Storage URI of the image. ``Image`` can contain a value
@@ -6671,6 +6669,8 @@ export declare interface ImageConfig {
6671
6669
 
6672
6670
  /**
6673
6671
  * The configuration for image interaction.
6672
+ *
6673
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
6674
6674
  */
6675
6675
  declare type ImageConfig_2 = {
6676
6676
  aspect_ratio?: ImageConfigAspectRatio | undefined;
@@ -6723,8 +6723,6 @@ declare type ImageContent = {
6723
6723
  */
6724
6724
  declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
6725
6725
 
6726
- declare type ImageDelta$ = ImageDelta;
6727
-
6728
6726
  declare type ImageDelta = {
6729
6727
  type: "image";
6730
6728
  data?: string | undefined;
@@ -6935,6 +6933,8 @@ export declare class InlinedResponse {
6935
6933
  error?: JobError;
6936
6934
  }
6937
6935
 
6936
+ declare type InputTokensByModality$ = ModalityTokens;
6937
+
6938
6938
  declare type Interaction$ = Interaction;
6939
6939
 
6940
6940
  /**
@@ -7070,6 +7070,8 @@ declare type Interaction = {
7070
7070
  */
7071
7071
  declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7072
7072
 
7073
+ declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7074
+
7073
7075
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7074
7076
 
7075
7077
  declare type InteractionCompletedEvent = {
@@ -7118,12 +7120,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
7118
7120
 
7119
7121
  declare type InteractionCreateParams = CreateInteractionParams;
7120
7122
 
7121
- declare type InteractionCreateParamsNonStreaming$ = CreateInteractionParamsNonStreaming;
7123
+ declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
7122
7124
 
7123
- declare type InteractionCreateParamsStreaming$ = CreateInteractionParamsStreaming;
7125
+ declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
7124
7126
 
7125
7127
  declare type InteractionDeleteParams$ = DeleteInteractionParams;
7126
7128
 
7129
+ declare type InteractionDeleteResponse$ = Empty;
7130
+
7127
7131
  /**
7128
7132
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7129
7133
  */
@@ -7135,10 +7139,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
7135
7139
 
7136
7140
  declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
7137
7141
 
7142
+ declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
7143
+
7138
7144
  declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
7139
7145
 
7140
7146
  declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
7141
7147
 
7148
+ declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
7149
+
7142
7150
  declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7143
7151
 
7144
7152
  /**
@@ -7147,161 +7155,213 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7147
7155
  declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
7148
7156
 
7149
7157
  export declare namespace Interactions {
7150
- export type AgentDeleteResponse = AgentDeleteResponse$2;
7151
- export type AgentListParams = AgentListParams$2;
7152
- export type AgentOption = AgentOption$;
7153
7158
  export type AllowedTools = AllowedTools$;
7154
- export type AllowlistEntry = AllowlistEntry$;
7155
7159
  export type Annotation = Annotation$;
7156
- export type ArgumentsDelta = ArgumentsDelta$;
7157
7160
  export type AudioContent = AudioContent$;
7158
- export type AudioDelta = AudioDelta$;
7159
7161
  export type AudioResponseFormat = AudioResponseFormat$;
7160
- export type CodeExecution = CodeExecution$;
7161
7162
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7162
- export type CodeExecutionCallDelta = CodeExecutionCallDelta$;
7163
- export type CodeExecutionCallStep = CodeExecutionCallStep$;
7164
- export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
7163
+ export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7164
+ }
7165
7165
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7166
- export type ComputerUse = ComputerUse$;
7167
7166
  export type Content = Content$;
7168
- export type CreateAgentInteraction = CreateAgentInteraction$;
7169
- export type CreateModelInteraction = CreateModelInteraction$;
7167
+ export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7168
+ export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
7169
+ export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
7170
+ export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
7170
7171
  export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
7171
7172
  export type DocumentContent = DocumentContent$;
7172
- export type DocumentDelta = DocumentDelta$;
7173
7173
  export type DynamicAgentConfig = DynamicAgentConfig$;
7174
- export type Empty = Empty$;
7175
- export type EnvironmentNetworkEgressAllowlist = EnvironmentNetworkEgressAllowlist$;
7176
- export type ErrorT = ErrorT$;
7177
- export type ErrorEvent = ErrorEvent$;
7178
- export type ExaAISearchConfig = ExaAISearchConfig$;
7174
+ export interface Environment extends Environment$ {
7175
+ }
7176
+ export interface ErrorEvent extends ErrorEvent$ {
7177
+ }
7179
7178
  export type FileCitation = FileCitation$;
7180
- export type FileSearch = FileSearch$;
7181
- export type FileSearchCallDelta = FileSearchCallDelta$;
7182
7179
  export type FileSearchCallStep = FileSearchCallStep$;
7183
- export type FileSearchResult = FileSearchResult$;
7184
- export type FileSearchResultDelta = FileSearchResultDelta$;
7185
7180
  export type FileSearchResultStep = FileSearchResultStep$;
7186
- export type Filter = Filter$;
7187
- export type FunctionT = FunctionT$;
7181
+ export type Function = Function$;
7188
7182
  export type FunctionCallStep = FunctionCallStep$;
7189
- export type FunctionResultDelta = FunctionResultDelta$;
7190
7183
  export type FunctionResultStep = FunctionResultStep$;
7191
- export type FunctionResultSubcontent = FunctionResultSubcontent$;
7192
7184
  export type GenerationConfig = GenerationConfig$;
7193
- export type GoogleMaps = GoogleMaps$;
7194
7185
  export type GoogleMapsCallArguments = GoogleMapsCallArguments$;
7195
- export type GoogleMapsCallDelta = GoogleMapsCallDelta$;
7196
- export type GoogleMapsCallStep = GoogleMapsCallStep$;
7197
- export type GoogleMapsResult = GoogleMapsResult$;
7198
- export type GoogleMapsResultDelta = GoogleMapsResultDelta$;
7199
- export type GoogleMapsResultPlaces = GoogleMapsResultPlaces$;
7200
- export type GoogleMapsResultStep = GoogleMapsResultStep$;
7201
- export type GoogleSearch = GoogleSearch$;
7186
+ export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
7187
+ }
7188
+ export interface GoogleMapsResult extends GoogleMapsResult$ {
7189
+ }
7190
+ export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
7191
+ }
7202
7192
  export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
7203
- export type GoogleSearchCallDelta = GoogleSearchCallDelta$;
7204
- export type GoogleSearchCallStep = GoogleSearchCallStep$;
7193
+ export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
7194
+ }
7205
7195
  export type GoogleSearchResult = GoogleSearchResult$;
7206
- export type GoogleSearchResultDelta = GoogleSearchResultDelta$;
7207
- export type GoogleSearchResultStep = GoogleSearchResultStep$;
7208
- export type GroundingToolCount = GroundingToolCount$;
7209
- export type HybridSearch = HybridSearch$;
7196
+ export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
7197
+ }
7210
7198
  export type ImageConfig = ImageConfig$;
7211
7199
  export type ImageContent = ImageContent$;
7212
- export type ImageDelta = ImageDelta$;
7213
7200
  export type ImageResponseFormat = ImageResponseFormat$;
7214
7201
  export type Interaction = Interaction$;
7215
- export type InteractionCompletedEvent = InteractionCompletedEvent$;
7202
+ export type InteractionCancelParams = InteractionCancelParams$;
7203
+ export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
7204
+ }
7205
+ export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
7206
+ }
7216
7207
  export type InteractionCreateParams = InteractionCreateParams$;
7217
- export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
7218
- export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
7219
- export type InteractionCreatedEvent = InteractionCreatedEvent$;
7220
7208
  export type InteractionDeleteParams = InteractionDeleteParams$;
7209
+ export type InteractionDeleteResponse = InteractionDeleteResponse$;
7221
7210
  export type InteractionGetParams = InteractionGetParams$;
7222
7211
  export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
7223
7212
  export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
7224
7213
  export type InteractionSSEEvent = InteractionSSEEvent$;
7225
- export type InteractionSSEStreamEvent = InteractionSSEStreamEvent$;
7226
- export type InteractionSseEventInteraction = InteractionSseEventInteraction$;
7227
- export type InteractionStatusUpdate = InteractionStatusUpdate$;
7228
- export type InteractionsInput = InteractionsInput$;
7229
- export type MCPServer = MCPServer$;
7230
- export type MCPServerToolCallDelta = MCPServerToolCallDelta$;
7214
+ export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
7215
+ }
7231
7216
  export type MCPServerToolCallStep = MCPServerToolCallStep$;
7232
- export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
7233
7217
  export type MCPServerToolResultStep = MCPServerToolResultStep$;
7234
- export type MediaResolution = MediaResolution$;
7235
- export type ModalityTokens = ModalityTokens$;
7218
+ export type Model = Model$;
7236
7219
  export type ModelOutputStep = ModelOutputStep$;
7237
- export type ParallelAISearchConfig = ParallelAISearchConfig$;
7238
- export type PlaceCitation = PlaceCitation$;
7239
- export type RagResource = RagResource$;
7240
- export type RagRetrievalConfig = RagRetrievalConfig$;
7241
- export type RagStoreConfig = RagStoreConfig$;
7242
- export type Ranking = Ranking$;
7243
- export type ResponseFormat = ResponseFormat$;
7244
- export type ResponseModality = ResponseModality$;
7245
- export type Retrieval = Retrieval$;
7246
- export type ReviewSnippet = ReviewSnippet$;
7247
- export type ServiceTier = ServiceTier$;
7248
- export type Source = Source$;
7220
+ export interface PlaceCitation extends PlaceCitation$ {
7221
+ }
7249
7222
  export type SpeechConfig = SpeechConfig$;
7250
7223
  export type Step = Step$;
7251
- export type StepDelta = StepDelta$;
7252
- export type StepDeltaData = StepDeltaData$;
7253
- export type StepDeltaMetadata = StepDeltaMetadata$;
7254
- export type StepStart = StepStart$;
7255
- export type StepStop = StepStop$;
7256
- export type StreamMetadata = StreamMetadata$;
7257
- export type TextAnnotationDelta = TextAnnotationDelta$;
7224
+ export interface StepDelta extends StepDelta$ {
7225
+ }
7226
+ export interface StepStart extends StepStart$ {
7227
+ }
7228
+ export interface StepStop extends StepStop$ {
7229
+ }
7258
7230
  export type TextContent = TextContent$;
7259
- export type TextDelta = TextDelta$;
7260
7231
  export type TextResponseFormat = TextResponseFormat$;
7261
7232
  export type ThinkingLevel = ThinkingLevel$;
7262
- export type ThinkingSummaries = ThinkingSummaries$;
7263
- export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
7264
7233
  export type ThoughtStep = ThoughtStep$;
7265
- export type ThoughtSummaryContent = ThoughtSummaryContent$;
7266
- export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
7267
7234
  export type Tool = Tool$;
7268
7235
  export type ToolChoiceConfig = ToolChoiceConfig$;
7269
7236
  export type ToolChoiceType = ToolChoiceType$;
7270
- export type Turn = Turn$;
7271
7237
  export type URLCitation = URLCitation$;
7272
- export type URLContext = URLContext$;
7273
7238
  export type URLContextCallArguments = URLContextCallArguments$;
7274
- export type URLContextCallDelta = URLContextCallDelta$;
7275
- export type URLContextCallStep = URLContextCallStep$;
7239
+ export interface URLContextCallStep extends URLContextCallStep$ {
7240
+ }
7276
7241
  export type URLContextResult = URLContextResult$;
7277
- export type URLContextResultDelta = URLContextResultDelta$;
7278
- export type URLContextResultStep = URLContextResultStep$;
7279
- export type Usage = Usage$;
7242
+ export interface URLContextResultStep extends URLContextResultStep$ {
7243
+ }
7244
+ export interface Usage extends Usage$ {
7245
+ }
7280
7246
  export type UserInputStep = UserInputStep$;
7281
- export type VertexAISearchConfig = VertexAISearchConfig$;
7282
7247
  export type VideoContent = VideoContent$;
7283
- export type VideoDelta = VideoDelta$;
7284
7248
  export type WebhookConfig = WebhookConfig$;
7285
- export type WebhookDeleteResponse = WebhookDeleteResponse$;
7286
- export type WebhookListParams = WebhookListParams$;
7287
- export type Agent = Agent$2;
7288
- export type AgentCreateParams = AgentCreateParams$2;
7289
- export type AgentListResponse = AgentListResponse$2;
7290
- export type Arguments = Arguments$;
7291
- export type AudioContentParam = AudioContentParam$;
7292
- export type Environment = Environment$;
7293
- export type Model = Model$;
7294
- export type ModelParam = ModelParam$;
7295
- export type SigningSecret = SigningSecret$;
7296
- export type VideoContentParam = VideoContentParam$;
7297
- export type Webhook = Webhook$;
7298
- export type WebhookCreateParams = WebhookCreateParams$;
7299
- export type WebhookListResponse = WebhookListResponse$;
7300
- export type WebhookPingParams = WebhookPingParams$;
7301
- export type WebhookPingResponse = WebhookPingResponse$;
7302
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
7303
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
7304
- export type WebhookUpdateParams = WebhookUpdateParams$;
7249
+ export namespace CodeExecutionCallStep {
7250
+ export type Arguments = Arguments$;
7251
+ }
7252
+ export namespace Environment {
7253
+ export interface Allowlist extends Allowlist$ {
7254
+ }
7255
+ export type Source = Source$;
7256
+ export namespace Allowlist {
7257
+ export type Allowlist = Allowlist$2;
7258
+ }
7259
+ }
7260
+ export namespace ErrorEvent {
7261
+ export type Error = Error$;
7262
+ export type Metadata = Metadata$;
7263
+ }
7264
+ export namespace GoogleMapsCallStep {
7265
+ export type Arguments = Arguments$2;
7266
+ }
7267
+ export namespace GoogleMapsResult {
7268
+ export interface Place extends Place$ {
7269
+ }
7270
+ export namespace Place {
7271
+ export type ReviewSnippet = ReviewSnippet$;
7272
+ }
7273
+ }
7274
+ export namespace GoogleMapsResultStep {
7275
+ export interface Result extends Result$ {
7276
+ }
7277
+ export namespace Result {
7278
+ export interface Place extends Place$2 {
7279
+ }
7280
+ export namespace Place {
7281
+ export type ReviewSnippet = ReviewSnippet$2;
7282
+ }
7283
+ }
7284
+ }
7285
+ export namespace GoogleSearchCallStep {
7286
+ export type Arguments = Arguments$3;
7287
+ }
7288
+ export namespace GoogleSearchResultStep {
7289
+ export type Result = Result$2;
7290
+ }
7291
+ export namespace InteractionCompletedEvent {
7292
+ export type Metadata = Metadata$2;
7293
+ }
7294
+ export namespace InteractionCreatedEvent {
7295
+ export type Metadata = Metadata$3;
7296
+ }
7297
+ export namespace InteractionGetParams {
7298
+ export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
7299
+ export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
7300
+ }
7301
+ export namespace InteractionStatusUpdate {
7302
+ export type Metadata = Metadata$4;
7303
+ }
7304
+ export namespace PlaceCitation {
7305
+ export type ReviewSnippet = ReviewSnippet$3;
7306
+ }
7307
+ export namespace StepDelta {
7308
+ export type ArgumentsDelta = ArgumentsDelta$;
7309
+ export type Audio = Audio$;
7310
+ export type CodeExecutionCall = CodeExecutionCall$;
7311
+ export type CodeExecutionResult = CodeExecutionResult$;
7312
+ export type Document = Document$;
7313
+ export type FileSearchCall = FileSearchCall$;
7314
+ export type FileSearchResult = FileSearchResult$;
7315
+ export type FunctionResult = FunctionResult$;
7316
+ export type GoogleMapsCall = GoogleMapsCall$;
7317
+ export type GoogleMapsResult = GoogleMapsResult$2;
7318
+ export type GoogleSearchCall = GoogleSearchCall$;
7319
+ export type GoogleSearchResult = GoogleSearchResult$2;
7320
+ export type Image = Image$;
7321
+ export type MCPServerToolCall = MCPServerToolCall$;
7322
+ export type MCPServerToolResult = MCPServerToolResult$;
7323
+ export type Metadata = Metadata$5;
7324
+ export type Text = Text$;
7325
+ export type TextAnnotationDelta = TextAnnotationDelta$;
7326
+ export type ThoughtSignature = ThoughtSignature$;
7327
+ export type ThoughtSummary = ThoughtSummary$;
7328
+ export type URLContextCall = URLContextCall$;
7329
+ export type URLContextResult = URLContextResult$2;
7330
+ export type Video = Video$;
7331
+ }
7332
+ export namespace StepStart {
7333
+ export type Metadata = Metadata$6;
7334
+ }
7335
+ export namespace StepStop {
7336
+ export type Metadata = Metadata$7;
7337
+ }
7338
+ export namespace Tool {
7339
+ export type CodeExecution = CodeExecution$;
7340
+ export type ComputerUse = ComputerUse$;
7341
+ export type FileSearch = FileSearch$;
7342
+ export type GoogleMaps = GoogleMaps$;
7343
+ export type GoogleSearch = GoogleSearch$;
7344
+ export type MCPServer = MCPServer$;
7345
+ export interface Retrieval extends Retrieval$ {
7346
+ }
7347
+ export type URLContext = URLContext$;
7348
+ export namespace Retrieval {
7349
+ export type VertexAISearchConfig = VertexAISearchConfig$;
7350
+ }
7351
+ }
7352
+ export namespace URLContextCallStep {
7353
+ export type Arguments = Arguments$4;
7354
+ }
7355
+ export namespace URLContextResultStep {
7356
+ export type Result = Result$3;
7357
+ }
7358
+ export namespace Usage {
7359
+ export type CachedTokensByModality = CachedTokensByModality$;
7360
+ export type GroundingToolCount = GroundingToolCount$;
7361
+ export type InputTokensByModality = InputTokensByModality$;
7362
+ export type OutputTokensByModality = OutputTokensByModality$;
7363
+ export type ToolUseTokensByModality = ToolUseTokensByModality$;
7364
+ }
7305
7365
  }
7306
7366
 
7307
7367
  declare namespace interactions {
@@ -7489,8 +7549,6 @@ declare namespace interactions {
7489
7549
  }
7490
7550
  }
7491
7551
 
7492
- declare type InteractionsInput$ = InteractionsInput;
7493
-
7494
7552
  /**
7495
7553
  * The input for the interaction.
7496
7554
  */
@@ -7500,8 +7558,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
7500
7558
 
7501
7559
  declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
7502
7560
 
7503
- declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
7504
-
7505
7561
  /**
7506
7562
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7507
7563
  *
@@ -7554,8 +7610,6 @@ declare type InteractionSseEventInteraction = {
7554
7610
  */
7555
7611
  declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
7556
7612
 
7557
- declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
7558
-
7559
7613
  declare type InteractionSSEStreamEvent = {
7560
7614
  data: InteractionSSEEvent;
7561
7615
  };
@@ -7685,6 +7739,16 @@ export declare enum Language {
7685
7739
  */
7686
7740
  declare type Language_2 = "python";
7687
7741
 
7742
+ /** Indicates the language of the audio should be automatically detected. */
7743
+ export declare interface LanguageAuto {
7744
+ }
7745
+
7746
+ /** Provides hints to the model about possible languages present in the audio. */
7747
+ export declare interface LanguageHints {
7748
+ /** BCP-47 language codes. At least one must be specified. */
7749
+ languageCodes?: string[];
7750
+ }
7751
+
7688
7752
  /** 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. */
7689
7753
  export declare interface LatLng {
7690
7754
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -8648,6 +8712,8 @@ export declare interface LiveServerContent {
8648
8712
  it is waiting for more input from the user, e.g. because it expects the
8649
8713
  user to continue talking. */
8650
8714
  waitingForInput?: boolean;
8715
+ /** Low latency transcription updated while the user is speaking. */
8716
+ interimInputTranscription?: Transcription;
8651
8717
  }
8652
8718
 
8653
8719
  /** Server will not be able to service client soon. */
@@ -8861,7 +8927,7 @@ export declare interface McpServer {
8861
8927
  streamableHttpTransport?: StreamableHttpTransport;
8862
8928
  }
8863
8929
 
8864
- declare type MCPServerToolCallDelta$ = MCPServerToolCallDelta;
8930
+ declare type MCPServerToolCall$ = MCPServerToolCallDelta;
8865
8931
 
8866
8932
  /**
8867
8933
  * @license
@@ -8913,7 +8979,7 @@ declare type MCPServerToolCallStep = {
8913
8979
  id: string;
8914
8980
  };
8915
8981
 
8916
- declare type MCPServerToolResultDelta$ = MCPServerToolResultDelta;
8982
+ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
8917
8983
 
8918
8984
  declare type MCPServerToolResultDelta = {
8919
8985
  type: "mcp_server_tool_result";
@@ -8948,7 +9014,7 @@ declare type MCPServerToolResultStep = {
8948
9014
  /**
8949
9015
  * The output from the MCP server call. Can be simple text or rich content.
8950
9016
  */
8951
- result?: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent> | undefined;
9017
+ result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
8952
9018
  };
8953
9019
 
8954
9020
  declare type MCPServerToolResultStepResult = {};
@@ -8998,8 +9064,6 @@ export declare enum MediaModality {
8998
9064
  DOCUMENT = "DOCUMENT"
8999
9065
  }
9000
9066
 
9001
- declare type MediaResolution$ = MediaResolution_2;
9002
-
9003
9067
  /** The media resolution to use. */
9004
9068
  export declare enum MediaResolution {
9005
9069
  /**
@@ -9029,6 +9093,20 @@ export declare enum MediaResolution {
9029
9093
  */
9030
9094
  declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
9031
9095
 
9096
+ declare type Metadata$ = StreamMetadata;
9097
+
9098
+ declare type Metadata$2 = StreamMetadata;
9099
+
9100
+ declare type Metadata$3 = StreamMetadata;
9101
+
9102
+ declare type Metadata$4 = StreamMetadata;
9103
+
9104
+ declare type Metadata$5 = StepDeltaMetadata;
9105
+
9106
+ declare type Metadata$6 = StreamMetadata;
9107
+
9108
+ declare type Metadata$7 = StreamMetadata;
9109
+
9032
9110
  /** Server content modalities. */
9033
9111
  export declare enum Modality {
9034
9112
  /**
@@ -9061,8 +9139,6 @@ export declare interface ModalityTokenCount {
9061
9139
  tokenCount?: number;
9062
9140
  }
9063
9141
 
9064
- declare type ModalityTokens$ = ModalityTokens;
9065
-
9066
9142
  /**
9067
9143
  * The token count for a single response modality.
9068
9144
  */
@@ -9141,7 +9217,7 @@ export declare interface Model {
9141
9217
  /**
9142
9218
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9143
9219
  */
9144
- 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 & {});
9220
+ 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 & {});
9145
9221
 
9146
9222
  /** 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. */
9147
9223
  export declare interface ModelArmorConfig {
@@ -9161,8 +9237,6 @@ declare type ModelOutputStep = {
9161
9237
  content?: Array<Content_2> | undefined;
9162
9238
  };
9163
9239
 
9164
- declare type ModelParam$ = Model_2;
9165
-
9166
9240
  export declare class Models extends BaseModule {
9167
9241
  private readonly apiClient;
9168
9242
  constructor(apiClient: ApiClient);
@@ -9708,6 +9782,8 @@ export declare interface OutputInfo {
9708
9782
  gcsOutputDirectory?: string;
9709
9783
  }
9710
9784
 
9785
+ declare type OutputTokensByModality$ = ModalityTokens;
9786
+
9711
9787
  export declare enum PagedItem {
9712
9788
  PAGED_ITEM_BATCH_JOBS = "batchJobs",
9713
9789
  PAGED_ITEM_MODELS = "models",
@@ -9870,8 +9946,6 @@ export declare interface PairwiseMetricResult {
9870
9946
  pairwiseChoice?: PairwiseChoice;
9871
9947
  }
9872
9948
 
9873
- declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
9874
-
9875
9949
  /**
9876
9950
  * @license
9877
9951
  * Copyright 2026 Google LLC
@@ -10059,23 +10133,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10059
10133
  */
10060
10134
  declare type PingWebhookRequest = {};
10061
10135
 
10062
- declare type PingWebhookRequest_2 = {
10063
- /**
10064
- * Which version of the API to use.
10065
- */
10066
- api_version?: string | undefined;
10067
- /**
10068
- * Required. The ID of the webhook to ping.
10069
- *
10070
- * @remarks
10071
- * Format: `{webhook_id}`
10072
- */
10073
- id: string;
10074
- /**
10075
- * The request body.
10076
- */
10077
- body?: webhooks.PingWebhookRequest | undefined;
10078
- };
10136
+ declare type Place$ = GoogleMapsResultPlaces;
10137
+
10138
+ declare type Place$2 = GoogleMapsResultPlaces;
10079
10139
 
10080
10140
  declare type PlaceCitation$ = PlaceCitation;
10081
10141
 
@@ -10241,8 +10301,6 @@ export declare interface RagChunkPageSpan {
10241
10301
  lastPage?: number;
10242
10302
  }
10243
10303
 
10244
- declare type RagResource$ = RagResource;
10245
-
10246
10304
  /**
10247
10305
  * @license
10248
10306
  * Copyright 2026 Google LLC
@@ -10267,8 +10325,6 @@ declare type RagResource = {
10267
10325
  rag_file_ids?: Array<string> | undefined;
10268
10326
  };
10269
10327
 
10270
- declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
10271
-
10272
10328
  /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
10273
10329
  export declare interface RagRetrievalConfig {
10274
10330
  /** Optional. Config for filters. */
@@ -10339,8 +10395,6 @@ export declare interface RagRetrievalConfigRankingRankService {
10339
10395
  modelName?: string;
10340
10396
  }
10341
10397
 
10342
- declare type RagStoreConfig$ = RagStoreConfig;
10343
-
10344
10398
  /**
10345
10399
  * Use to specify configuration for RAG Store.
10346
10400
  */
@@ -10367,8 +10421,6 @@ declare type RagStoreConfig = {
10367
10421
  rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
10368
10422
  };
10369
10423
 
10370
- declare type Ranking$ = Ranking;
10371
-
10372
10424
  /**
10373
10425
  * @license
10374
10426
  * Copyright 2026 Google LLC
@@ -10784,14 +10836,10 @@ export declare enum ResourceScope {
10784
10836
  COLLECTION = "COLLECTION"
10785
10837
  }
10786
10838
 
10787
- declare type ResponseFormat$ = ResponseFormat;
10788
-
10789
10839
  declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
10790
10840
  [k: string]: any;
10791
10841
  };
10792
10842
 
10793
- declare type ResponseModality$ = ResponseModality;
10794
-
10795
10843
  /**
10796
10844
  * @license
10797
10845
  * Copyright 2026 Google LLC
@@ -10817,6 +10865,12 @@ export declare enum ResponseParseType {
10817
10865
  REGEX_EXTRACT = "REGEX_EXTRACT"
10818
10866
  }
10819
10867
 
10868
+ declare type Result$ = GoogleMapsResult;
10869
+
10870
+ declare type Result$2 = GoogleSearchResult;
10871
+
10872
+ declare type Result$3 = URLContextResult;
10873
+
10820
10874
  declare type Retrieval$ = Retrieval_2;
10821
10875
 
10822
10876
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -10885,10 +10939,19 @@ declare type RetryConfig = {
10885
10939
  strategy: "backoff";
10886
10940
  backoff?: BackoffStrategy;
10887
10941
  retryConnectionErrors?: boolean;
10942
+ } | {
10943
+ strategy: "attempt-count-backoff";
10944
+ maxRetries: number;
10945
+ backoff?: Partial<BackoffStrategy>;
10946
+ retryConnectionErrors?: boolean;
10888
10947
  };
10889
10948
 
10890
10949
  declare type ReviewSnippet$ = ReviewSnippet;
10891
10950
 
10951
+ declare type ReviewSnippet$2 = ReviewSnippet;
10952
+
10953
+ declare type ReviewSnippet$3 = ReviewSnippet;
10954
+
10892
10955
  /**
10893
10956
  * @license
10894
10957
  * Copyright 2026 Google LLC
@@ -10941,24 +11004,6 @@ declare type RotateSigningSecretRequest = {
10941
11004
  revocation_behavior?: RevocationBehavior | undefined;
10942
11005
  };
10943
11006
 
10944
- declare type RotateSigningSecretRequest_2 = {
10945
- /**
10946
- * Which version of the API to use.
10947
- */
10948
- api_version?: string | undefined;
10949
- /**
10950
- * Required. The ID of the webhook for which to generate a signing secret.
10951
- *
10952
- * @remarks
10953
- * Format: `{webhook_id}`
10954
- */
10955
- id: string;
10956
- /**
10957
- * The request body.
10958
- */
10959
- body?: webhooks.RotateSigningSecretRequest | undefined;
10960
- };
10961
-
10962
11007
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
10963
11008
  export declare interface RougeMetricValue {
10964
11009
  /** Output only. Rouge score. */
@@ -11254,8 +11299,6 @@ export declare interface SendMessageParameters {
11254
11299
  config?: GenerateContentConfig;
11255
11300
  }
11256
11301
 
11257
- declare type ServiceTier$ = ServiceTier_2;
11258
-
11259
11302
  /** Pricing and performance service tier. */
11260
11303
  export declare enum ServiceTier {
11261
11304
  /**
@@ -11447,8 +11490,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
11447
11490
 
11448
11491
  declare type SigningSecret$ = SigningSecret;
11449
11492
 
11450
- declare type SigningSecret$2 = SigningSecret;
11451
-
11452
11493
  /**
11453
11494
  * @license
11454
11495
  * Copyright 2026 Google LLC
@@ -11641,12 +11682,8 @@ declare type StepDelta = {
11641
11682
  metadata?: StepDeltaMetadata | undefined;
11642
11683
  };
11643
11684
 
11644
- declare type StepDeltaData$ = StepDeltaData;
11645
-
11646
11685
  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;
11647
11686
 
11648
- declare type StepDeltaMetadata$ = StepDeltaMetadata;
11649
-
11650
11687
  /**
11651
11688
  * Optional metadata accompanying ANY streamed event.
11652
11689
  */
@@ -11695,7 +11732,8 @@ export declare class Stream<T> extends ReadableStream<T> {
11695
11732
  constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
11696
11733
  dataRequired?: boolean;
11697
11734
  });
11698
- [Symbol.asyncIterator](): any;
11735
+ [Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
11736
+ values(options?: unknown): StreamAsyncIterator<T>;
11699
11737
  }
11700
11738
 
11701
11739
  /** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
@@ -11712,7 +11750,23 @@ export declare interface StreamableHttpTransport {
11712
11750
  url?: string;
11713
11751
  }
11714
11752
 
11715
- declare type StreamMetadata$ = StreamMetadata;
11753
+ /**
11754
+ * @license
11755
+ * Copyright 2026 Google LLC
11756
+ * SPDX-License-Identifier: Apache-2.0
11757
+ *
11758
+ * g3-prettier-ignore-file
11759
+ */
11760
+ declare type StreamAsyncIterator<T> = {
11761
+ next(): Promise<IteratorResult<T, undefined>>;
11762
+ throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
11763
+ return?(): Promise<IteratorResult<T, undefined>>;
11764
+ [Symbol.asyncIterator](): StreamAsyncIterator<T>;
11765
+ } & {
11766
+ [K in typeof Symbol extends {
11767
+ readonly asyncDispose: infer SymbolType extends symbol;
11768
+ } ? SymbolType : never]: () => PromiseLike<void>;
11769
+ };
11716
11770
 
11717
11771
  declare type StreamMetadata = {
11718
11772
  /**
@@ -11902,6 +11956,8 @@ export declare interface TestTableItem {
11902
11956
  ignoreKeys?: string[];
11903
11957
  }
11904
11958
 
11959
+ declare type Text$ = TextDelta;
11960
+
11905
11961
  declare type TextAnnotationDelta$ = TextAnnotationDelta;
11906
11962
 
11907
11963
  declare type TextAnnotationDelta = {
@@ -11929,8 +11985,6 @@ declare type TextContent = {
11929
11985
  annotations?: Array<Annotation> | undefined;
11930
11986
  };
11931
11987
 
11932
- declare type TextDelta$ = TextDelta;
11933
-
11934
11988
  /**
11935
11989
  * @license
11936
11990
  * Copyright 2026 Google LLC
@@ -12024,8 +12078,6 @@ export declare enum ThinkingLevel {
12024
12078
  */
12025
12079
  declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
12026
12080
 
12027
- declare type ThinkingSummaries$ = ThinkingSummaries;
12028
-
12029
12081
  /**
12030
12082
  * @license
12031
12083
  * Copyright 2026 Google LLC
@@ -12035,7 +12087,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
12035
12087
  */
12036
12088
  declare type ThinkingSummaries = "auto" | "none" | (string & {});
12037
12089
 
12038
- declare type ThoughtSignatureDelta$ = ThoughtSignatureDelta;
12090
+ declare type ThoughtSignature$ = ThoughtSignatureDelta;
12039
12091
 
12040
12092
  /**
12041
12093
  * @license
@@ -12069,12 +12121,10 @@ declare type ThoughtStep = {
12069
12121
  summary?: Array<ThoughtSummaryContent> | undefined;
12070
12122
  };
12071
12123
 
12072
- declare type ThoughtSummaryContent$ = ThoughtSummaryContent;
12124
+ declare type ThoughtSummary$ = ThoughtSummaryDelta;
12073
12125
 
12074
12126
  declare type ThoughtSummaryContent = TextContent | ImageContent;
12075
12127
 
12076
- declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
12077
-
12078
12128
  declare type ThoughtSummaryDelta = {
12079
12129
  type: "thought_summary";
12080
12130
  /**
@@ -12333,6 +12383,8 @@ export declare enum ToolType {
12333
12383
 
12334
12384
  export declare type ToolUnion = Tool | CallableTool;
12335
12385
 
12386
+ declare type ToolUseTokensByModality$ = ModalityTokens;
12387
+
12336
12388
  /** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
12337
12389
  export declare enum TrafficType {
12338
12390
  /**
@@ -12357,7 +12409,7 @@ export declare enum TrafficType {
12357
12409
  PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
12358
12410
  }
12359
12411
 
12360
- /** Audio transcription in Server Conent. */
12412
+ /** Audio transcription in Server Content. */
12361
12413
  export declare interface Transcription {
12362
12414
  /** Optional. Transcription text. */
12363
12415
  text?: string;
@@ -12706,8 +12758,6 @@ export declare interface TuningValidationDataset {
12706
12758
  vertexDatasetResource?: string;
12707
12759
  }
12708
12760
 
12709
- declare type Turn$ = Turn;
12710
-
12711
12761
  /**
12712
12762
  * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
12713
12763
  */
@@ -13369,6 +13419,8 @@ declare namespace types {
13369
13419
  SessionResumptionConfig,
13370
13420
  SlidingWindow,
13371
13421
  ContextWindowCompressionConfig,
13422
+ LanguageAuto,
13423
+ LanguageHints,
13372
13424
  AudioTranscriptionConfig,
13373
13425
  ProactivityConfig,
13374
13426
  CustomizedAvatar,
@@ -13481,27 +13533,6 @@ export declare interface UpdateModelParameters {
13481
13533
  config?: UpdateModelConfig;
13482
13534
  }
13483
13535
 
13484
- declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
13485
-
13486
- declare type UpdateWebhookRequest = {
13487
- /**
13488
- * Which version of the API to use.
13489
- */
13490
- api_version?: string | undefined;
13491
- /**
13492
- * Required. The ID of the webhook to update.
13493
- */
13494
- id: string;
13495
- /**
13496
- * Optional. The list of fields to update.
13497
- */
13498
- update_mask?: string | undefined;
13499
- /**
13500
- * Required. The webhook to update.
13501
- */
13502
- body?: webhooks.WebhookUpdate | undefined;
13503
- };
13504
-
13505
13536
  declare interface Uploader {
13506
13537
  /**
13507
13538
  * Uploads a file to the given upload url.
@@ -13756,6 +13787,8 @@ declare type URLContext = {
13756
13787
  export declare interface UrlContext {
13757
13788
  }
13758
13789
 
13790
+ declare type URLContextCall$ = URLContextCallDelta;
13791
+
13759
13792
  declare type URLContextCallArguments$ = URLContextCallArguments;
13760
13793
 
13761
13794
  /**
@@ -13775,8 +13808,6 @@ declare type URLContextCallArguments = {
13775
13808
  urls?: Array<string> | undefined;
13776
13809
  };
13777
13810
 
13778
- declare type URLContextCallDelta$ = URLContextCallDelta;
13779
-
13780
13811
  declare type URLContextCallDelta = {
13781
13812
  type: "url_context_call";
13782
13813
  /**
@@ -13807,7 +13838,7 @@ declare type URLContextCallStep = {
13807
13838
  /**
13808
13839
  * The arguments to pass to the URL context.
13809
13840
  */
13810
- arguments?: Arguments | undefined;
13841
+ arguments: Arguments;
13811
13842
  };
13812
13843
 
13813
13844
  /** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
@@ -13818,6 +13849,8 @@ export declare interface UrlContextMetadata {
13818
13849
 
13819
13850
  declare type URLContextResult$ = URLContextResult;
13820
13851
 
13852
+ declare type URLContextResult$2 = URLContextResultDelta;
13853
+
13821
13854
  /**
13822
13855
  * The result of the URL context.
13823
13856
  */
@@ -13832,8 +13865,6 @@ declare type URLContextResult = {
13832
13865
  status?: URLContextResultStatus | undefined;
13833
13866
  };
13834
13867
 
13835
- declare type URLContextResultDelta$ = URLContextResultDelta;
13836
-
13837
13868
  declare type URLContextResultDelta = {
13838
13869
  type: "url_context_result";
13839
13870
  result: Array<URLContextResult>;
@@ -13864,9 +13895,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
13864
13895
  declare type URLContextResultStep = {
13865
13896
  type: "url_context_result";
13866
13897
  /**
13867
- * The results of the URL context.
13898
+ * Required. The results of the URL context.
13868
13899
  */
13869
- result?: Array<URLContextResult> | undefined;
13900
+ result: Array<URLContextResult>;
13870
13901
  /**
13871
13902
  * Whether the URL context resulted in an error.
13872
13903
  */
@@ -14186,6 +14217,8 @@ export declare interface VertexRagStoreRagResource {
14186
14217
  ragFileIds?: string[];
14187
14218
  }
14188
14219
 
14220
+ declare type Video$ = VideoDelta;
14221
+
14189
14222
  /** A generated video. */
14190
14223
  export declare interface Video {
14191
14224
  /** Path to another storage. */
@@ -14238,10 +14271,6 @@ declare type VideoContent = {
14238
14271
  */
14239
14272
  declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
14240
14273
 
14241
- declare type VideoContentParam$ = VideoContent;
14242
-
14243
- declare type VideoDelta$ = VideoDelta;
14244
-
14245
14274
  declare type VideoDelta = {
14246
14275
  type: "video";
14247
14276
  data?: string | undefined;
@@ -14348,6 +14377,8 @@ declare type Visualization = "off" | "auto" | (string & {});
14348
14377
  export declare interface VoiceActivity {
14349
14378
  /** The type of the voice activity signal. */
14350
14379
  voiceActivityType?: VoiceActivityType;
14380
+ /** The time voice activity detected in audio time, relative to the start of the audio stream. */
14381
+ audioOffset?: string;
14351
14382
  }
14352
14383
 
14353
14384
  export declare interface VoiceActivityDetectionSignal {
@@ -14383,8 +14414,6 @@ export declare interface VoiceConfig {
14383
14414
 
14384
14415
  declare type Webhook$ = Webhook;
14385
14416
 
14386
- declare type Webhook$2 = Webhook;
14387
-
14388
14417
  /**
14389
14418
  * A Webhook resource.
14390
14419
  */
@@ -14482,16 +14511,12 @@ declare type WebhookConfig_2 = {
14482
14511
  } | undefined;
14483
14512
  };
14484
14513
 
14485
- declare type WebhookCreateParams$ = WebhookInput;
14486
-
14487
- declare type WebhookCreateParams$2 = CreateWebhookParams;
14514
+ declare type WebhookCreateParams$ = CreateWebhookParams;
14488
14515
 
14489
14516
  declare type WebhookDeleteParams$ = DeleteWebhookParams;
14490
14517
 
14491
14518
  declare type WebhookDeleteResponse$ = Empty;
14492
14519
 
14493
- declare type WebhookDeleteResponse$2 = Empty;
14494
-
14495
14520
  declare type WebhookGetParams$ = GetWebhookParams;
14496
14521
 
14497
14522
  declare type WebhookInput$ = WebhookInput;
@@ -14526,8 +14551,6 @@ declare type WebhookInput = {
14526
14551
 
14527
14552
  declare type WebhookListParams$ = ListWebhooksParams;
14528
14553
 
14529
- declare type WebhookListParams$2 = ListWebhooksParams;
14530
-
14531
14554
  declare type WebhookListParams = {
14532
14555
  api_version?: string;
14533
14556
  page_size?: number;
@@ -14536,8 +14559,6 @@ declare type WebhookListParams = {
14536
14559
 
14537
14560
  declare type WebhookListResponse$ = WebhookListResponse;
14538
14561
 
14539
- declare type WebhookListResponse$2 = WebhookListResponse;
14540
-
14541
14562
  /**
14542
14563
  * Response message for WebhookService.ListWebhooks.
14543
14564
  */
@@ -14557,8 +14578,6 @@ declare type WebhookListResponse = {
14557
14578
 
14558
14579
  declare type WebhookPingParams$ = PingWebhookRequest;
14559
14580
 
14560
- declare type WebhookPingParams$2 = PingWebhookRequest_2;
14561
-
14562
14581
  declare type WebhookPingParams = {
14563
14582
  api_version?: string;
14564
14583
  body?: webhooks.PingWebhookRequest;
@@ -14566,8 +14585,6 @@ declare type WebhookPingParams = {
14566
14585
 
14567
14586
  declare type WebhookPingResponse$ = WebhookPingResponse;
14568
14587
 
14569
- declare type WebhookPingResponse$2 = WebhookPingResponse;
14570
-
14571
14588
  /**
14572
14589
  * @license
14573
14590
  * Copyright 2026 Google LLC
@@ -14582,16 +14599,12 @@ declare type WebhookPingResponse = {};
14582
14599
 
14583
14600
  declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
14584
14601
 
14585
- declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
14586
-
14587
14602
  declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
14588
14603
  api_version?: string;
14589
14604
  };
14590
14605
 
14591
14606
  declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
14592
14607
 
14593
- declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
14594
-
14595
14608
  /**
14596
14609
  * @license
14597
14610
  * Copyright 2026 Google LLC
@@ -14612,21 +14625,21 @@ declare type WebhookRotateSigningSecretResponse = {
14612
14625
  export declare namespace Webhooks {
14613
14626
  export type PingWebhookRequest = PingWebhookRequest$;
14614
14627
  export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
14615
- export type SigningSecret = SigningSecret$2;
14616
- export type Webhook = Webhook$2;
14617
- export type WebhookCreateParams = WebhookCreateParams$2;
14628
+ export type SigningSecret = SigningSecret$;
14629
+ export type Webhook = Webhook$;
14630
+ export type WebhookCreateParams = WebhookCreateParams$;
14618
14631
  export type WebhookDeleteParams = WebhookDeleteParams$;
14619
- export type WebhookDeleteResponse = WebhookDeleteResponse$2;
14632
+ export type WebhookDeleteResponse = WebhookDeleteResponse$;
14620
14633
  export type WebhookGetParams = WebhookGetParams$;
14621
- export type WebhookListParams = WebhookListParams$2;
14622
- export type WebhookListResponse = WebhookListResponse$2;
14623
- export type WebhookPingParams = WebhookPingParams$2;
14624
- export type WebhookPingResponse = WebhookPingResponse$2;
14625
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$2;
14626
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$2;
14627
- export type WebhookUpdate = WebhookUpdate$;
14628
- export type WebhookUpdateParams = WebhookUpdateParams$2;
14629
14634
  export type WebhookInput = WebhookInput$;
14635
+ export type WebhookListParams = WebhookListParams$;
14636
+ export type WebhookListResponse = WebhookListResponse$;
14637
+ export type WebhookPingParams = WebhookPingParams$;
14638
+ export type WebhookPingResponse = WebhookPingResponse$;
14639
+ export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
14640
+ export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
14641
+ export type WebhookUpdate = WebhookUpdate$;
14642
+ export type WebhookUpdateParams = WebhookUpdateParams$;
14630
14643
  }
14631
14644
 
14632
14645
  declare namespace webhooks {
@@ -14688,8 +14701,6 @@ declare type WebhookUpdate = {
14688
14701
 
14689
14702
  declare type WebhookUpdateParams$ = WebhookUpdate;
14690
14703
 
14691
- declare type WebhookUpdateParams$2 = UpdateWebhookParams;
14692
-
14693
14704
  declare type WebhookUpdateParams = {
14694
14705
  api_version?: string;
14695
14706
  update_mask?: string;