@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.
@@ -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
  /**
@@ -5844,6 +5844,8 @@ declare type GoogleMaps_2 = {
5844
5844
  longitude?: number | undefined;
5845
5845
  };
5846
5846
 
5847
+ declare type GoogleMapsCall$ = GoogleMapsCallDelta;
5848
+
5847
5849
  declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
5848
5850
 
5849
5851
  /**
@@ -5863,8 +5865,6 @@ declare type GoogleMapsCallArguments = {
5863
5865
  queries?: Array<string> | undefined;
5864
5866
  };
5865
5867
 
5866
- declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
5867
-
5868
5868
  declare type GoogleMapsCallDelta = {
5869
5869
  type: "google_maps_call";
5870
5870
  /**
@@ -5900,6 +5900,8 @@ declare type GoogleMapsCallStep = {
5900
5900
 
5901
5901
  declare type GoogleMapsResult$ = GoogleMapsResult;
5902
5902
 
5903
+ declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
5904
+
5903
5905
  /**
5904
5906
  * The result of the Google Maps.
5905
5907
  */
@@ -5908,8 +5910,6 @@ declare type GoogleMapsResult = {
5908
5910
  widget_context_token?: string | undefined;
5909
5911
  };
5910
5912
 
5911
- declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
5912
-
5913
5913
  declare type GoogleMapsResultDelta = {
5914
5914
  type: "google_maps_result";
5915
5915
  /**
@@ -5922,8 +5922,6 @@ declare type GoogleMapsResultDelta = {
5922
5922
  signature?: string | undefined;
5923
5923
  };
5924
5924
 
5925
- declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
5926
-
5927
5925
  declare type GoogleMapsResultPlaces = {
5928
5926
  place_id?: string | undefined;
5929
5927
  name?: string | undefined;
@@ -5938,7 +5936,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
5938
5936
  */
5939
5937
  declare type GoogleMapsResultStep = {
5940
5938
  type: "google_maps_result";
5941
- result?: Array<GoogleMapsResult> | undefined;
5939
+ result: Array<GoogleMapsResult>;
5942
5940
  /**
5943
5941
  * Required. ID to match the ID from the function call block.
5944
5942
  */
@@ -5984,6 +5982,8 @@ declare type GoogleSearch_2 = {
5984
5982
  search_types?: Array<GoogleSearchSearchType> | undefined;
5985
5983
  };
5986
5984
 
5985
+ declare type GoogleSearchCall$ = GoogleSearchCallDelta;
5986
+
5987
5987
  declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
5988
5988
 
5989
5989
  /**
@@ -6003,8 +6003,6 @@ declare type GoogleSearchCallArguments = {
6003
6003
  queries?: Array<string> | undefined;
6004
6004
  };
6005
6005
 
6006
- declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
6007
-
6008
6006
  declare type GoogleSearchCallDelta = {
6009
6007
  type: "google_search_call";
6010
6008
  /**
@@ -6027,7 +6025,7 @@ declare type GoogleSearchCallStep = {
6027
6025
  /**
6028
6026
  * The arguments to pass to Google Search.
6029
6027
  */
6030
- arguments?: GoogleSearchCallArguments | undefined;
6028
+ arguments: GoogleSearchCallArguments;
6031
6029
  /**
6032
6030
  * The type of search grounding enabled.
6033
6031
  */
@@ -6049,6 +6047,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
6049
6047
 
6050
6048
  declare type GoogleSearchResult$ = GoogleSearchResult;
6051
6049
 
6050
+ declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
6051
+
6052
6052
  /**
6053
6053
  * @license
6054
6054
  * Copyright 2026 Google LLC
@@ -6066,8 +6066,6 @@ declare type GoogleSearchResult = {
6066
6066
  search_suggestions?: string | undefined;
6067
6067
  };
6068
6068
 
6069
- declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
6070
-
6071
6069
  declare type GoogleSearchResultDelta = {
6072
6070
  type: "google_search_result";
6073
6071
  result: Array<GoogleSearchResult>;
@@ -6086,9 +6084,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
6086
6084
  declare type GoogleSearchResultStep = {
6087
6085
  type: "google_search_result";
6088
6086
  /**
6089
- * The results of the Google Search.
6087
+ * Required. The results of the Google Search.
6090
6088
  */
6091
- result?: Array<GoogleSearchResult> | undefined;
6089
+ result: Array<GoogleSearchResult>;
6092
6090
  /**
6093
6091
  * Whether the Google Search resulted in an error.
6094
6092
  */
@@ -6619,8 +6617,6 @@ export declare interface HttpRetryOptions {
6619
6617
  attempts?: number;
6620
6618
  }
6621
6619
 
6622
- declare type HybridSearch$ = HybridSearch;
6623
-
6624
6620
  /**
6625
6621
  * @license
6626
6622
  * Copyright 2026 Google LLC
@@ -6641,6 +6637,8 @@ declare type HybridSearch = {
6641
6637
  alpha?: number | undefined;
6642
6638
  };
6643
6639
 
6640
+ declare type Image$ = ImageDelta;
6641
+
6644
6642
  /** An image. */
6645
6643
  declare interface Image_2 {
6646
6644
  /** The Cloud Storage URI of the image. ``Image`` can contain a value
@@ -6683,6 +6681,8 @@ export declare interface ImageConfig {
6683
6681
 
6684
6682
  /**
6685
6683
  * The configuration for image interaction.
6684
+ *
6685
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
6686
6686
  */
6687
6687
  declare type ImageConfig_2 = {
6688
6688
  aspect_ratio?: ImageConfigAspectRatio | undefined;
@@ -6735,8 +6735,6 @@ declare type ImageContent = {
6735
6735
  */
6736
6736
  declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
6737
6737
 
6738
- declare type ImageDelta$ = ImageDelta;
6739
-
6740
6738
  declare type ImageDelta = {
6741
6739
  type: "image";
6742
6740
  data?: string | undefined;
@@ -6947,6 +6945,8 @@ export declare class InlinedResponse {
6947
6945
  error?: JobError;
6948
6946
  }
6949
6947
 
6948
+ declare type InputTokensByModality$ = ModalityTokens;
6949
+
6950
6950
  declare type Interaction$ = Interaction;
6951
6951
 
6952
6952
  /**
@@ -7082,6 +7082,8 @@ declare type Interaction = {
7082
7082
  */
7083
7083
  declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7084
7084
 
7085
+ declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7086
+
7085
7087
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7086
7088
 
7087
7089
  declare type InteractionCompletedEvent = {
@@ -7130,12 +7132,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
7130
7132
 
7131
7133
  declare type InteractionCreateParams = CreateInteractionParams;
7132
7134
 
7133
- declare type InteractionCreateParamsNonStreaming$ = CreateInteractionParamsNonStreaming;
7135
+ declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
7134
7136
 
7135
- declare type InteractionCreateParamsStreaming$ = CreateInteractionParamsStreaming;
7137
+ declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
7136
7138
 
7137
7139
  declare type InteractionDeleteParams$ = DeleteInteractionParams;
7138
7140
 
7141
+ declare type InteractionDeleteResponse$ = Empty;
7142
+
7139
7143
  /**
7140
7144
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7141
7145
  */
@@ -7147,10 +7151,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
7147
7151
 
7148
7152
  declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
7149
7153
 
7154
+ declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
7155
+
7150
7156
  declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
7151
7157
 
7152
7158
  declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
7153
7159
 
7160
+ declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
7161
+
7154
7162
  declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7155
7163
 
7156
7164
  /**
@@ -7159,161 +7167,213 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7159
7167
  declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
7160
7168
 
7161
7169
  export declare namespace Interactions {
7162
- export type AgentDeleteResponse = AgentDeleteResponse$2;
7163
- export type AgentListParams = AgentListParams$2;
7164
- export type AgentOption = AgentOption$;
7165
7170
  export type AllowedTools = AllowedTools$;
7166
- export type AllowlistEntry = AllowlistEntry$;
7167
7171
  export type Annotation = Annotation$;
7168
- export type ArgumentsDelta = ArgumentsDelta$;
7169
7172
  export type AudioContent = AudioContent$;
7170
- export type AudioDelta = AudioDelta$;
7171
7173
  export type AudioResponseFormat = AudioResponseFormat$;
7172
- export type CodeExecution = CodeExecution$;
7173
7174
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7174
- export type CodeExecutionCallDelta = CodeExecutionCallDelta$;
7175
- export type CodeExecutionCallStep = CodeExecutionCallStep$;
7176
- export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
7175
+ export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7176
+ }
7177
7177
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7178
- export type ComputerUse = ComputerUse$;
7179
7178
  export type Content = Content$;
7180
- export type CreateAgentInteraction = CreateAgentInteraction$;
7181
- export type CreateModelInteraction = CreateModelInteraction$;
7179
+ export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7180
+ export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
7181
+ export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
7182
+ export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
7182
7183
  export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
7183
7184
  export type DocumentContent = DocumentContent$;
7184
- export type DocumentDelta = DocumentDelta$;
7185
7185
  export type DynamicAgentConfig = DynamicAgentConfig$;
7186
- export type Empty = Empty$;
7187
- export type EnvironmentNetworkEgressAllowlist = EnvironmentNetworkEgressAllowlist$;
7188
- export type ErrorT = ErrorT$;
7189
- export type ErrorEvent = ErrorEvent$;
7190
- export type ExaAISearchConfig = ExaAISearchConfig$;
7186
+ export interface Environment extends Environment$ {
7187
+ }
7188
+ export interface ErrorEvent extends ErrorEvent$ {
7189
+ }
7191
7190
  export type FileCitation = FileCitation$;
7192
- export type FileSearch = FileSearch$;
7193
- export type FileSearchCallDelta = FileSearchCallDelta$;
7194
7191
  export type FileSearchCallStep = FileSearchCallStep$;
7195
- export type FileSearchResult = FileSearchResult$;
7196
- export type FileSearchResultDelta = FileSearchResultDelta$;
7197
7192
  export type FileSearchResultStep = FileSearchResultStep$;
7198
- export type Filter = Filter$;
7199
- export type FunctionT = FunctionT$;
7193
+ export type Function = Function$;
7200
7194
  export type FunctionCallStep = FunctionCallStep$;
7201
- export type FunctionResultDelta = FunctionResultDelta$;
7202
7195
  export type FunctionResultStep = FunctionResultStep$;
7203
- export type FunctionResultSubcontent = FunctionResultSubcontent$;
7204
7196
  export type GenerationConfig = GenerationConfig$;
7205
- export type GoogleMaps = GoogleMaps$;
7206
7197
  export type GoogleMapsCallArguments = GoogleMapsCallArguments$;
7207
- export type GoogleMapsCallDelta = GoogleMapsCallDelta$;
7208
- export type GoogleMapsCallStep = GoogleMapsCallStep$;
7209
- export type GoogleMapsResult = GoogleMapsResult$;
7210
- export type GoogleMapsResultDelta = GoogleMapsResultDelta$;
7211
- export type GoogleMapsResultPlaces = GoogleMapsResultPlaces$;
7212
- export type GoogleMapsResultStep = GoogleMapsResultStep$;
7213
- export type GoogleSearch = GoogleSearch$;
7198
+ export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
7199
+ }
7200
+ export interface GoogleMapsResult extends GoogleMapsResult$ {
7201
+ }
7202
+ export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
7203
+ }
7214
7204
  export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
7215
- export type GoogleSearchCallDelta = GoogleSearchCallDelta$;
7216
- export type GoogleSearchCallStep = GoogleSearchCallStep$;
7205
+ export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
7206
+ }
7217
7207
  export type GoogleSearchResult = GoogleSearchResult$;
7218
- export type GoogleSearchResultDelta = GoogleSearchResultDelta$;
7219
- export type GoogleSearchResultStep = GoogleSearchResultStep$;
7220
- export type GroundingToolCount = GroundingToolCount$;
7221
- export type HybridSearch = HybridSearch$;
7208
+ export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
7209
+ }
7222
7210
  export type ImageConfig = ImageConfig$;
7223
7211
  export type ImageContent = ImageContent$;
7224
- export type ImageDelta = ImageDelta$;
7225
7212
  export type ImageResponseFormat = ImageResponseFormat$;
7226
7213
  export type Interaction = Interaction$;
7227
- export type InteractionCompletedEvent = InteractionCompletedEvent$;
7214
+ export type InteractionCancelParams = InteractionCancelParams$;
7215
+ export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
7216
+ }
7217
+ export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
7218
+ }
7228
7219
  export type InteractionCreateParams = InteractionCreateParams$;
7229
- export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
7230
- export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
7231
- export type InteractionCreatedEvent = InteractionCreatedEvent$;
7232
7220
  export type InteractionDeleteParams = InteractionDeleteParams$;
7221
+ export type InteractionDeleteResponse = InteractionDeleteResponse$;
7233
7222
  export type InteractionGetParams = InteractionGetParams$;
7234
7223
  export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
7235
7224
  export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
7236
7225
  export type InteractionSSEEvent = InteractionSSEEvent$;
7237
- export type InteractionSSEStreamEvent = InteractionSSEStreamEvent$;
7238
- export type InteractionSseEventInteraction = InteractionSseEventInteraction$;
7239
- export type InteractionStatusUpdate = InteractionStatusUpdate$;
7240
- export type InteractionsInput = InteractionsInput$;
7241
- export type MCPServer = MCPServer$;
7242
- export type MCPServerToolCallDelta = MCPServerToolCallDelta$;
7226
+ export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
7227
+ }
7243
7228
  export type MCPServerToolCallStep = MCPServerToolCallStep$;
7244
- export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
7245
7229
  export type MCPServerToolResultStep = MCPServerToolResultStep$;
7246
- export type MediaResolution = MediaResolution$;
7247
- export type ModalityTokens = ModalityTokens$;
7230
+ export type Model = Model$;
7248
7231
  export type ModelOutputStep = ModelOutputStep$;
7249
- export type ParallelAISearchConfig = ParallelAISearchConfig$;
7250
- export type PlaceCitation = PlaceCitation$;
7251
- export type RagResource = RagResource$;
7252
- export type RagRetrievalConfig = RagRetrievalConfig$;
7253
- export type RagStoreConfig = RagStoreConfig$;
7254
- export type Ranking = Ranking$;
7255
- export type ResponseFormat = ResponseFormat$;
7256
- export type ResponseModality = ResponseModality$;
7257
- export type Retrieval = Retrieval$;
7258
- export type ReviewSnippet = ReviewSnippet$;
7259
- export type ServiceTier = ServiceTier$;
7260
- export type Source = Source$;
7232
+ export interface PlaceCitation extends PlaceCitation$ {
7233
+ }
7261
7234
  export type SpeechConfig = SpeechConfig$;
7262
7235
  export type Step = Step$;
7263
- export type StepDelta = StepDelta$;
7264
- export type StepDeltaData = StepDeltaData$;
7265
- export type StepDeltaMetadata = StepDeltaMetadata$;
7266
- export type StepStart = StepStart$;
7267
- export type StepStop = StepStop$;
7268
- export type StreamMetadata = StreamMetadata$;
7269
- export type TextAnnotationDelta = TextAnnotationDelta$;
7236
+ export interface StepDelta extends StepDelta$ {
7237
+ }
7238
+ export interface StepStart extends StepStart$ {
7239
+ }
7240
+ export interface StepStop extends StepStop$ {
7241
+ }
7270
7242
  export type TextContent = TextContent$;
7271
- export type TextDelta = TextDelta$;
7272
7243
  export type TextResponseFormat = TextResponseFormat$;
7273
7244
  export type ThinkingLevel = ThinkingLevel$;
7274
- export type ThinkingSummaries = ThinkingSummaries$;
7275
- export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
7276
7245
  export type ThoughtStep = ThoughtStep$;
7277
- export type ThoughtSummaryContent = ThoughtSummaryContent$;
7278
- export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
7279
7246
  export type Tool = Tool$;
7280
7247
  export type ToolChoiceConfig = ToolChoiceConfig$;
7281
7248
  export type ToolChoiceType = ToolChoiceType$;
7282
- export type Turn = Turn$;
7283
7249
  export type URLCitation = URLCitation$;
7284
- export type URLContext = URLContext$;
7285
7250
  export type URLContextCallArguments = URLContextCallArguments$;
7286
- export type URLContextCallDelta = URLContextCallDelta$;
7287
- export type URLContextCallStep = URLContextCallStep$;
7251
+ export interface URLContextCallStep extends URLContextCallStep$ {
7252
+ }
7288
7253
  export type URLContextResult = URLContextResult$;
7289
- export type URLContextResultDelta = URLContextResultDelta$;
7290
- export type URLContextResultStep = URLContextResultStep$;
7291
- export type Usage = Usage$;
7254
+ export interface URLContextResultStep extends URLContextResultStep$ {
7255
+ }
7256
+ export interface Usage extends Usage$ {
7257
+ }
7292
7258
  export type UserInputStep = UserInputStep$;
7293
- export type VertexAISearchConfig = VertexAISearchConfig$;
7294
7259
  export type VideoContent = VideoContent$;
7295
- export type VideoDelta = VideoDelta$;
7296
7260
  export type WebhookConfig = WebhookConfig$;
7297
- export type WebhookDeleteResponse = WebhookDeleteResponse$;
7298
- export type WebhookListParams = WebhookListParams$;
7299
- export type Agent = Agent$2;
7300
- export type AgentCreateParams = AgentCreateParams$2;
7301
- export type AgentListResponse = AgentListResponse$2;
7302
- export type Arguments = Arguments$;
7303
- export type AudioContentParam = AudioContentParam$;
7304
- export type Environment = Environment$;
7305
- export type Model = Model$;
7306
- export type ModelParam = ModelParam$;
7307
- export type SigningSecret = SigningSecret$;
7308
- export type VideoContentParam = VideoContentParam$;
7309
- export type Webhook = Webhook$;
7310
- export type WebhookCreateParams = WebhookCreateParams$;
7311
- export type WebhookListResponse = WebhookListResponse$;
7312
- export type WebhookPingParams = WebhookPingParams$;
7313
- export type WebhookPingResponse = WebhookPingResponse$;
7314
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
7315
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
7316
- export type WebhookUpdateParams = WebhookUpdateParams$;
7261
+ export namespace CodeExecutionCallStep {
7262
+ export type Arguments = Arguments$;
7263
+ }
7264
+ export namespace Environment {
7265
+ export interface Allowlist extends Allowlist$ {
7266
+ }
7267
+ export type Source = Source$;
7268
+ export namespace Allowlist {
7269
+ export type Allowlist = Allowlist$2;
7270
+ }
7271
+ }
7272
+ export namespace ErrorEvent {
7273
+ export type Error = Error$;
7274
+ export type Metadata = Metadata$;
7275
+ }
7276
+ export namespace GoogleMapsCallStep {
7277
+ export type Arguments = Arguments$2;
7278
+ }
7279
+ export namespace GoogleMapsResult {
7280
+ export interface Place extends Place$ {
7281
+ }
7282
+ export namespace Place {
7283
+ export type ReviewSnippet = ReviewSnippet$;
7284
+ }
7285
+ }
7286
+ export namespace GoogleMapsResultStep {
7287
+ export interface Result extends Result$ {
7288
+ }
7289
+ export namespace Result {
7290
+ export interface Place extends Place$2 {
7291
+ }
7292
+ export namespace Place {
7293
+ export type ReviewSnippet = ReviewSnippet$2;
7294
+ }
7295
+ }
7296
+ }
7297
+ export namespace GoogleSearchCallStep {
7298
+ export type Arguments = Arguments$3;
7299
+ }
7300
+ export namespace GoogleSearchResultStep {
7301
+ export type Result = Result$2;
7302
+ }
7303
+ export namespace InteractionCompletedEvent {
7304
+ export type Metadata = Metadata$2;
7305
+ }
7306
+ export namespace InteractionCreatedEvent {
7307
+ export type Metadata = Metadata$3;
7308
+ }
7309
+ export namespace InteractionGetParams {
7310
+ export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
7311
+ export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
7312
+ }
7313
+ export namespace InteractionStatusUpdate {
7314
+ export type Metadata = Metadata$4;
7315
+ }
7316
+ export namespace PlaceCitation {
7317
+ export type ReviewSnippet = ReviewSnippet$3;
7318
+ }
7319
+ export namespace StepDelta {
7320
+ export type ArgumentsDelta = ArgumentsDelta$;
7321
+ export type Audio = Audio$;
7322
+ export type CodeExecutionCall = CodeExecutionCall$;
7323
+ export type CodeExecutionResult = CodeExecutionResult$;
7324
+ export type Document = Document$;
7325
+ export type FileSearchCall = FileSearchCall$;
7326
+ export type FileSearchResult = FileSearchResult$;
7327
+ export type FunctionResult = FunctionResult$;
7328
+ export type GoogleMapsCall = GoogleMapsCall$;
7329
+ export type GoogleMapsResult = GoogleMapsResult$2;
7330
+ export type GoogleSearchCall = GoogleSearchCall$;
7331
+ export type GoogleSearchResult = GoogleSearchResult$2;
7332
+ export type Image = Image$;
7333
+ export type MCPServerToolCall = MCPServerToolCall$;
7334
+ export type MCPServerToolResult = MCPServerToolResult$;
7335
+ export type Metadata = Metadata$5;
7336
+ export type Text = Text$;
7337
+ export type TextAnnotationDelta = TextAnnotationDelta$;
7338
+ export type ThoughtSignature = ThoughtSignature$;
7339
+ export type ThoughtSummary = ThoughtSummary$;
7340
+ export type URLContextCall = URLContextCall$;
7341
+ export type URLContextResult = URLContextResult$2;
7342
+ export type Video = Video$;
7343
+ }
7344
+ export namespace StepStart {
7345
+ export type Metadata = Metadata$6;
7346
+ }
7347
+ export namespace StepStop {
7348
+ export type Metadata = Metadata$7;
7349
+ }
7350
+ export namespace Tool {
7351
+ export type CodeExecution = CodeExecution$;
7352
+ export type ComputerUse = ComputerUse$;
7353
+ export type FileSearch = FileSearch$;
7354
+ export type GoogleMaps = GoogleMaps$;
7355
+ export type GoogleSearch = GoogleSearch$;
7356
+ export type MCPServer = MCPServer$;
7357
+ export interface Retrieval extends Retrieval$ {
7358
+ }
7359
+ export type URLContext = URLContext$;
7360
+ export namespace Retrieval {
7361
+ export type VertexAISearchConfig = VertexAISearchConfig$;
7362
+ }
7363
+ }
7364
+ export namespace URLContextCallStep {
7365
+ export type Arguments = Arguments$4;
7366
+ }
7367
+ export namespace URLContextResultStep {
7368
+ export type Result = Result$3;
7369
+ }
7370
+ export namespace Usage {
7371
+ export type CachedTokensByModality = CachedTokensByModality$;
7372
+ export type GroundingToolCount = GroundingToolCount$;
7373
+ export type InputTokensByModality = InputTokensByModality$;
7374
+ export type OutputTokensByModality = OutputTokensByModality$;
7375
+ export type ToolUseTokensByModality = ToolUseTokensByModality$;
7376
+ }
7317
7377
  }
7318
7378
 
7319
7379
  declare namespace interactions {
@@ -7501,8 +7561,6 @@ declare namespace interactions {
7501
7561
  }
7502
7562
  }
7503
7563
 
7504
- declare type InteractionsInput$ = InteractionsInput;
7505
-
7506
7564
  /**
7507
7565
  * The input for the interaction.
7508
7566
  */
@@ -7512,8 +7570,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
7512
7570
 
7513
7571
  declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
7514
7572
 
7515
- declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
7516
-
7517
7573
  /**
7518
7574
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7519
7575
  *
@@ -7566,8 +7622,6 @@ declare type InteractionSseEventInteraction = {
7566
7622
  */
7567
7623
  declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
7568
7624
 
7569
- declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
7570
-
7571
7625
  declare type InteractionSSEStreamEvent = {
7572
7626
  data: InteractionSSEEvent;
7573
7627
  };
@@ -7697,6 +7751,16 @@ export declare enum Language {
7697
7751
  */
7698
7752
  declare type Language_2 = "python";
7699
7753
 
7754
+ /** Indicates the language of the audio should be automatically detected. */
7755
+ export declare interface LanguageAuto {
7756
+ }
7757
+
7758
+ /** Provides hints to the model about possible languages present in the audio. */
7759
+ export declare interface LanguageHints {
7760
+ /** BCP-47 language codes. At least one must be specified. */
7761
+ languageCodes?: string[];
7762
+ }
7763
+
7700
7764
  /** 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. */
7701
7765
  export declare interface LatLng {
7702
7766
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -8660,6 +8724,8 @@ export declare interface LiveServerContent {
8660
8724
  it is waiting for more input from the user, e.g. because it expects the
8661
8725
  user to continue talking. */
8662
8726
  waitingForInput?: boolean;
8727
+ /** Low latency transcription updated while the user is speaking. */
8728
+ interimInputTranscription?: Transcription;
8663
8729
  }
8664
8730
 
8665
8731
  /** Server will not be able to service client soon. */
@@ -8873,7 +8939,7 @@ export declare interface McpServer {
8873
8939
  streamableHttpTransport?: StreamableHttpTransport;
8874
8940
  }
8875
8941
 
8876
- declare type MCPServerToolCallDelta$ = MCPServerToolCallDelta;
8942
+ declare type MCPServerToolCall$ = MCPServerToolCallDelta;
8877
8943
 
8878
8944
  /**
8879
8945
  * @license
@@ -8925,7 +8991,7 @@ declare type MCPServerToolCallStep = {
8925
8991
  id: string;
8926
8992
  };
8927
8993
 
8928
- declare type MCPServerToolResultDelta$ = MCPServerToolResultDelta;
8994
+ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
8929
8995
 
8930
8996
  declare type MCPServerToolResultDelta = {
8931
8997
  type: "mcp_server_tool_result";
@@ -8960,7 +9026,7 @@ declare type MCPServerToolResultStep = {
8960
9026
  /**
8961
9027
  * The output from the MCP server call. Can be simple text or rich content.
8962
9028
  */
8963
- result?: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent> | undefined;
9029
+ result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
8964
9030
  };
8965
9031
 
8966
9032
  declare type MCPServerToolResultStepResult = {};
@@ -9010,8 +9076,6 @@ export declare enum MediaModality {
9010
9076
  DOCUMENT = "DOCUMENT"
9011
9077
  }
9012
9078
 
9013
- declare type MediaResolution$ = MediaResolution_2;
9014
-
9015
9079
  /** The media resolution to use. */
9016
9080
  export declare enum MediaResolution {
9017
9081
  /**
@@ -9041,6 +9105,20 @@ export declare enum MediaResolution {
9041
9105
  */
9042
9106
  declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
9043
9107
 
9108
+ declare type Metadata$ = StreamMetadata;
9109
+
9110
+ declare type Metadata$2 = StreamMetadata;
9111
+
9112
+ declare type Metadata$3 = StreamMetadata;
9113
+
9114
+ declare type Metadata$4 = StreamMetadata;
9115
+
9116
+ declare type Metadata$5 = StepDeltaMetadata;
9117
+
9118
+ declare type Metadata$6 = StreamMetadata;
9119
+
9120
+ declare type Metadata$7 = StreamMetadata;
9121
+
9044
9122
  /** Server content modalities. */
9045
9123
  export declare enum Modality {
9046
9124
  /**
@@ -9073,8 +9151,6 @@ export declare interface ModalityTokenCount {
9073
9151
  tokenCount?: number;
9074
9152
  }
9075
9153
 
9076
- declare type ModalityTokens$ = ModalityTokens;
9077
-
9078
9154
  /**
9079
9155
  * The token count for a single response modality.
9080
9156
  */
@@ -9153,7 +9229,7 @@ export declare interface Model {
9153
9229
  /**
9154
9230
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9155
9231
  */
9156
- 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 & {});
9232
+ 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 & {});
9157
9233
 
9158
9234
  /** 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. */
9159
9235
  export declare interface ModelArmorConfig {
@@ -9173,8 +9249,6 @@ declare type ModelOutputStep = {
9173
9249
  content?: Array<Content_2> | undefined;
9174
9250
  };
9175
9251
 
9176
- declare type ModelParam$ = Model_2;
9177
-
9178
9252
  export declare class Models extends BaseModule {
9179
9253
  private readonly apiClient;
9180
9254
  constructor(apiClient: ApiClient);
@@ -9720,6 +9794,8 @@ export declare interface OutputInfo {
9720
9794
  gcsOutputDirectory?: string;
9721
9795
  }
9722
9796
 
9797
+ declare type OutputTokensByModality$ = ModalityTokens;
9798
+
9723
9799
  export declare enum PagedItem {
9724
9800
  PAGED_ITEM_BATCH_JOBS = "batchJobs",
9725
9801
  PAGED_ITEM_MODELS = "models",
@@ -9882,8 +9958,6 @@ export declare interface PairwiseMetricResult {
9882
9958
  pairwiseChoice?: PairwiseChoice;
9883
9959
  }
9884
9960
 
9885
- declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
9886
-
9887
9961
  /**
9888
9962
  * @license
9889
9963
  * Copyright 2026 Google LLC
@@ -10071,23 +10145,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10071
10145
  */
10072
10146
  declare type PingWebhookRequest = {};
10073
10147
 
10074
- declare type PingWebhookRequest_2 = {
10075
- /**
10076
- * Which version of the API to use.
10077
- */
10078
- api_version?: string | undefined;
10079
- /**
10080
- * Required. The ID of the webhook to ping.
10081
- *
10082
- * @remarks
10083
- * Format: `{webhook_id}`
10084
- */
10085
- id: string;
10086
- /**
10087
- * The request body.
10088
- */
10089
- body?: webhooks.PingWebhookRequest | undefined;
10090
- };
10148
+ declare type Place$ = GoogleMapsResultPlaces;
10149
+
10150
+ declare type Place$2 = GoogleMapsResultPlaces;
10091
10151
 
10092
10152
  declare type PlaceCitation$ = PlaceCitation;
10093
10153
 
@@ -10253,8 +10313,6 @@ export declare interface RagChunkPageSpan {
10253
10313
  lastPage?: number;
10254
10314
  }
10255
10315
 
10256
- declare type RagResource$ = RagResource;
10257
-
10258
10316
  /**
10259
10317
  * @license
10260
10318
  * Copyright 2026 Google LLC
@@ -10279,8 +10337,6 @@ declare type RagResource = {
10279
10337
  rag_file_ids?: Array<string> | undefined;
10280
10338
  };
10281
10339
 
10282
- declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
10283
-
10284
10340
  /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
10285
10341
  export declare interface RagRetrievalConfig {
10286
10342
  /** Optional. Config for filters. */
@@ -10351,8 +10407,6 @@ export declare interface RagRetrievalConfigRankingRankService {
10351
10407
  modelName?: string;
10352
10408
  }
10353
10409
 
10354
- declare type RagStoreConfig$ = RagStoreConfig;
10355
-
10356
10410
  /**
10357
10411
  * Use to specify configuration for RAG Store.
10358
10412
  */
@@ -10379,8 +10433,6 @@ declare type RagStoreConfig = {
10379
10433
  rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
10380
10434
  };
10381
10435
 
10382
- declare type Ranking$ = Ranking;
10383
-
10384
10436
  /**
10385
10437
  * @license
10386
10438
  * Copyright 2026 Google LLC
@@ -10796,14 +10848,10 @@ export declare enum ResourceScope {
10796
10848
  COLLECTION = "COLLECTION"
10797
10849
  }
10798
10850
 
10799
- declare type ResponseFormat$ = ResponseFormat;
10800
-
10801
10851
  declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
10802
10852
  [k: string]: any;
10803
10853
  };
10804
10854
 
10805
- declare type ResponseModality$ = ResponseModality;
10806
-
10807
10855
  /**
10808
10856
  * @license
10809
10857
  * Copyright 2026 Google LLC
@@ -10829,6 +10877,12 @@ export declare enum ResponseParseType {
10829
10877
  REGEX_EXTRACT = "REGEX_EXTRACT"
10830
10878
  }
10831
10879
 
10880
+ declare type Result$ = GoogleMapsResult;
10881
+
10882
+ declare type Result$2 = GoogleSearchResult;
10883
+
10884
+ declare type Result$3 = URLContextResult;
10885
+
10832
10886
  declare type Retrieval$ = Retrieval_2;
10833
10887
 
10834
10888
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -10897,10 +10951,19 @@ declare type RetryConfig = {
10897
10951
  strategy: "backoff";
10898
10952
  backoff?: BackoffStrategy;
10899
10953
  retryConnectionErrors?: boolean;
10954
+ } | {
10955
+ strategy: "attempt-count-backoff";
10956
+ maxRetries: number;
10957
+ backoff?: Partial<BackoffStrategy>;
10958
+ retryConnectionErrors?: boolean;
10900
10959
  };
10901
10960
 
10902
10961
  declare type ReviewSnippet$ = ReviewSnippet;
10903
10962
 
10963
+ declare type ReviewSnippet$2 = ReviewSnippet;
10964
+
10965
+ declare type ReviewSnippet$3 = ReviewSnippet;
10966
+
10904
10967
  /**
10905
10968
  * @license
10906
10969
  * Copyright 2026 Google LLC
@@ -10953,24 +11016,6 @@ declare type RotateSigningSecretRequest = {
10953
11016
  revocation_behavior?: RevocationBehavior | undefined;
10954
11017
  };
10955
11018
 
10956
- declare type RotateSigningSecretRequest_2 = {
10957
- /**
10958
- * Which version of the API to use.
10959
- */
10960
- api_version?: string | undefined;
10961
- /**
10962
- * Required. The ID of the webhook for which to generate a signing secret.
10963
- *
10964
- * @remarks
10965
- * Format: `{webhook_id}`
10966
- */
10967
- id: string;
10968
- /**
10969
- * The request body.
10970
- */
10971
- body?: webhooks.RotateSigningSecretRequest | undefined;
10972
- };
10973
-
10974
11019
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
10975
11020
  export declare interface RougeMetricValue {
10976
11021
  /** Output only. Rouge score. */
@@ -11266,8 +11311,6 @@ export declare interface SendMessageParameters {
11266
11311
  config?: GenerateContentConfig;
11267
11312
  }
11268
11313
 
11269
- declare type ServiceTier$ = ServiceTier_2;
11270
-
11271
11314
  /** Pricing and performance service tier. */
11272
11315
  export declare enum ServiceTier {
11273
11316
  /**
@@ -11459,8 +11502,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
11459
11502
 
11460
11503
  declare type SigningSecret$ = SigningSecret;
11461
11504
 
11462
- declare type SigningSecret$2 = SigningSecret;
11463
-
11464
11505
  /**
11465
11506
  * @license
11466
11507
  * Copyright 2026 Google LLC
@@ -11653,12 +11694,8 @@ declare type StepDelta = {
11653
11694
  metadata?: StepDeltaMetadata | undefined;
11654
11695
  };
11655
11696
 
11656
- declare type StepDeltaData$ = StepDeltaData;
11657
-
11658
11697
  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;
11659
11698
 
11660
- declare type StepDeltaMetadata$ = StepDeltaMetadata;
11661
-
11662
11699
  /**
11663
11700
  * Optional metadata accompanying ANY streamed event.
11664
11701
  */
@@ -11707,7 +11744,8 @@ export declare class Stream<T> extends ReadableStream<T> {
11707
11744
  constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
11708
11745
  dataRequired?: boolean;
11709
11746
  });
11710
- [Symbol.asyncIterator](): any;
11747
+ [Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
11748
+ values(options?: unknown): StreamAsyncIterator<T>;
11711
11749
  }
11712
11750
 
11713
11751
  /** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
@@ -11724,7 +11762,23 @@ export declare interface StreamableHttpTransport {
11724
11762
  url?: string;
11725
11763
  }
11726
11764
 
11727
- declare type StreamMetadata$ = StreamMetadata;
11765
+ /**
11766
+ * @license
11767
+ * Copyright 2026 Google LLC
11768
+ * SPDX-License-Identifier: Apache-2.0
11769
+ *
11770
+ * g3-prettier-ignore-file
11771
+ */
11772
+ declare type StreamAsyncIterator<T> = {
11773
+ next(): Promise<IteratorResult<T, undefined>>;
11774
+ throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
11775
+ return?(): Promise<IteratorResult<T, undefined>>;
11776
+ [Symbol.asyncIterator](): StreamAsyncIterator<T>;
11777
+ } & {
11778
+ [K in typeof Symbol extends {
11779
+ readonly asyncDispose: infer SymbolType extends symbol;
11780
+ } ? SymbolType : never]: () => PromiseLike<void>;
11781
+ };
11728
11782
 
11729
11783
  declare type StreamMetadata = {
11730
11784
  /**
@@ -11914,6 +11968,8 @@ export declare interface TestTableItem {
11914
11968
  ignoreKeys?: string[];
11915
11969
  }
11916
11970
 
11971
+ declare type Text$ = TextDelta;
11972
+
11917
11973
  declare type TextAnnotationDelta$ = TextAnnotationDelta;
11918
11974
 
11919
11975
  declare type TextAnnotationDelta = {
@@ -11941,8 +11997,6 @@ declare type TextContent = {
11941
11997
  annotations?: Array<Annotation> | undefined;
11942
11998
  };
11943
11999
 
11944
- declare type TextDelta$ = TextDelta;
11945
-
11946
12000
  /**
11947
12001
  * @license
11948
12002
  * Copyright 2026 Google LLC
@@ -12036,8 +12090,6 @@ export declare enum ThinkingLevel {
12036
12090
  */
12037
12091
  declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
12038
12092
 
12039
- declare type ThinkingSummaries$ = ThinkingSummaries;
12040
-
12041
12093
  /**
12042
12094
  * @license
12043
12095
  * Copyright 2026 Google LLC
@@ -12047,7 +12099,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
12047
12099
  */
12048
12100
  declare type ThinkingSummaries = "auto" | "none" | (string & {});
12049
12101
 
12050
- declare type ThoughtSignatureDelta$ = ThoughtSignatureDelta;
12102
+ declare type ThoughtSignature$ = ThoughtSignatureDelta;
12051
12103
 
12052
12104
  /**
12053
12105
  * @license
@@ -12081,12 +12133,10 @@ declare type ThoughtStep = {
12081
12133
  summary?: Array<ThoughtSummaryContent> | undefined;
12082
12134
  };
12083
12135
 
12084
- declare type ThoughtSummaryContent$ = ThoughtSummaryContent;
12136
+ declare type ThoughtSummary$ = ThoughtSummaryDelta;
12085
12137
 
12086
12138
  declare type ThoughtSummaryContent = TextContent | ImageContent;
12087
12139
 
12088
- declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
12089
-
12090
12140
  declare type ThoughtSummaryDelta = {
12091
12141
  type: "thought_summary";
12092
12142
  /**
@@ -12345,6 +12395,8 @@ export declare enum ToolType {
12345
12395
 
12346
12396
  export declare type ToolUnion = Tool | CallableTool;
12347
12397
 
12398
+ declare type ToolUseTokensByModality$ = ModalityTokens;
12399
+
12348
12400
  /** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
12349
12401
  export declare enum TrafficType {
12350
12402
  /**
@@ -12369,7 +12421,7 @@ export declare enum TrafficType {
12369
12421
  PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
12370
12422
  }
12371
12423
 
12372
- /** Audio transcription in Server Conent. */
12424
+ /** Audio transcription in Server Content. */
12373
12425
  export declare interface Transcription {
12374
12426
  /** Optional. Transcription text. */
12375
12427
  text?: string;
@@ -12718,8 +12770,6 @@ export declare interface TuningValidationDataset {
12718
12770
  vertexDatasetResource?: string;
12719
12771
  }
12720
12772
 
12721
- declare type Turn$ = Turn;
12722
-
12723
12773
  /**
12724
12774
  * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
12725
12775
  */
@@ -13381,6 +13431,8 @@ declare namespace types {
13381
13431
  SessionResumptionConfig,
13382
13432
  SlidingWindow,
13383
13433
  ContextWindowCompressionConfig,
13434
+ LanguageAuto,
13435
+ LanguageHints,
13384
13436
  AudioTranscriptionConfig,
13385
13437
  ProactivityConfig,
13386
13438
  CustomizedAvatar,
@@ -13493,27 +13545,6 @@ export declare interface UpdateModelParameters {
13493
13545
  config?: UpdateModelConfig;
13494
13546
  }
13495
13547
 
13496
- declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
13497
-
13498
- declare type UpdateWebhookRequest = {
13499
- /**
13500
- * Which version of the API to use.
13501
- */
13502
- api_version?: string | undefined;
13503
- /**
13504
- * Required. The ID of the webhook to update.
13505
- */
13506
- id: string;
13507
- /**
13508
- * Optional. The list of fields to update.
13509
- */
13510
- update_mask?: string | undefined;
13511
- /**
13512
- * Required. The webhook to update.
13513
- */
13514
- body?: webhooks.WebhookUpdate | undefined;
13515
- };
13516
-
13517
13548
  declare interface Uploader {
13518
13549
  /**
13519
13550
  * Uploads a file to the given upload url.
@@ -13768,6 +13799,8 @@ declare type URLContext = {
13768
13799
  export declare interface UrlContext {
13769
13800
  }
13770
13801
 
13802
+ declare type URLContextCall$ = URLContextCallDelta;
13803
+
13771
13804
  declare type URLContextCallArguments$ = URLContextCallArguments;
13772
13805
 
13773
13806
  /**
@@ -13787,8 +13820,6 @@ declare type URLContextCallArguments = {
13787
13820
  urls?: Array<string> | undefined;
13788
13821
  };
13789
13822
 
13790
- declare type URLContextCallDelta$ = URLContextCallDelta;
13791
-
13792
13823
  declare type URLContextCallDelta = {
13793
13824
  type: "url_context_call";
13794
13825
  /**
@@ -13819,7 +13850,7 @@ declare type URLContextCallStep = {
13819
13850
  /**
13820
13851
  * The arguments to pass to the URL context.
13821
13852
  */
13822
- arguments?: Arguments | undefined;
13853
+ arguments: Arguments;
13823
13854
  };
13824
13855
 
13825
13856
  /** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
@@ -13830,6 +13861,8 @@ export declare interface UrlContextMetadata {
13830
13861
 
13831
13862
  declare type URLContextResult$ = URLContextResult;
13832
13863
 
13864
+ declare type URLContextResult$2 = URLContextResultDelta;
13865
+
13833
13866
  /**
13834
13867
  * The result of the URL context.
13835
13868
  */
@@ -13844,8 +13877,6 @@ declare type URLContextResult = {
13844
13877
  status?: URLContextResultStatus | undefined;
13845
13878
  };
13846
13879
 
13847
- declare type URLContextResultDelta$ = URLContextResultDelta;
13848
-
13849
13880
  declare type URLContextResultDelta = {
13850
13881
  type: "url_context_result";
13851
13882
  result: Array<URLContextResult>;
@@ -13876,9 +13907,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
13876
13907
  declare type URLContextResultStep = {
13877
13908
  type: "url_context_result";
13878
13909
  /**
13879
- * The results of the URL context.
13910
+ * Required. The results of the URL context.
13880
13911
  */
13881
- result?: Array<URLContextResult> | undefined;
13912
+ result: Array<URLContextResult>;
13882
13913
  /**
13883
13914
  * Whether the URL context resulted in an error.
13884
13915
  */
@@ -14198,6 +14229,8 @@ export declare interface VertexRagStoreRagResource {
14198
14229
  ragFileIds?: string[];
14199
14230
  }
14200
14231
 
14232
+ declare type Video$ = VideoDelta;
14233
+
14201
14234
  /** A generated video. */
14202
14235
  export declare interface Video {
14203
14236
  /** Path to another storage. */
@@ -14250,10 +14283,6 @@ declare type VideoContent = {
14250
14283
  */
14251
14284
  declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
14252
14285
 
14253
- declare type VideoContentParam$ = VideoContent;
14254
-
14255
- declare type VideoDelta$ = VideoDelta;
14256
-
14257
14286
  declare type VideoDelta = {
14258
14287
  type: "video";
14259
14288
  data?: string | undefined;
@@ -14360,6 +14389,8 @@ declare type Visualization = "off" | "auto" | (string & {});
14360
14389
  export declare interface VoiceActivity {
14361
14390
  /** The type of the voice activity signal. */
14362
14391
  voiceActivityType?: VoiceActivityType;
14392
+ /** The time voice activity detected in audio time, relative to the start of the audio stream. */
14393
+ audioOffset?: string;
14363
14394
  }
14364
14395
 
14365
14396
  export declare interface VoiceActivityDetectionSignal {
@@ -14395,8 +14426,6 @@ export declare interface VoiceConfig {
14395
14426
 
14396
14427
  declare type Webhook$ = Webhook;
14397
14428
 
14398
- declare type Webhook$2 = Webhook;
14399
-
14400
14429
  /**
14401
14430
  * A Webhook resource.
14402
14431
  */
@@ -14494,16 +14523,12 @@ declare type WebhookConfig_2 = {
14494
14523
  } | undefined;
14495
14524
  };
14496
14525
 
14497
- declare type WebhookCreateParams$ = WebhookInput;
14498
-
14499
- declare type WebhookCreateParams$2 = CreateWebhookParams;
14526
+ declare type WebhookCreateParams$ = CreateWebhookParams;
14500
14527
 
14501
14528
  declare type WebhookDeleteParams$ = DeleteWebhookParams;
14502
14529
 
14503
14530
  declare type WebhookDeleteResponse$ = Empty;
14504
14531
 
14505
- declare type WebhookDeleteResponse$2 = Empty;
14506
-
14507
14532
  declare type WebhookGetParams$ = GetWebhookParams;
14508
14533
 
14509
14534
  declare type WebhookInput$ = WebhookInput;
@@ -14538,8 +14563,6 @@ declare type WebhookInput = {
14538
14563
 
14539
14564
  declare type WebhookListParams$ = ListWebhooksParams;
14540
14565
 
14541
- declare type WebhookListParams$2 = ListWebhooksParams;
14542
-
14543
14566
  declare type WebhookListParams = {
14544
14567
  api_version?: string;
14545
14568
  page_size?: number;
@@ -14548,8 +14571,6 @@ declare type WebhookListParams = {
14548
14571
 
14549
14572
  declare type WebhookListResponse$ = WebhookListResponse;
14550
14573
 
14551
- declare type WebhookListResponse$2 = WebhookListResponse;
14552
-
14553
14574
  /**
14554
14575
  * Response message for WebhookService.ListWebhooks.
14555
14576
  */
@@ -14569,8 +14590,6 @@ declare type WebhookListResponse = {
14569
14590
 
14570
14591
  declare type WebhookPingParams$ = PingWebhookRequest;
14571
14592
 
14572
- declare type WebhookPingParams$2 = PingWebhookRequest_2;
14573
-
14574
14593
  declare type WebhookPingParams = {
14575
14594
  api_version?: string;
14576
14595
  body?: webhooks.PingWebhookRequest;
@@ -14578,8 +14597,6 @@ declare type WebhookPingParams = {
14578
14597
 
14579
14598
  declare type WebhookPingResponse$ = WebhookPingResponse;
14580
14599
 
14581
- declare type WebhookPingResponse$2 = WebhookPingResponse;
14582
-
14583
14600
  /**
14584
14601
  * @license
14585
14602
  * Copyright 2026 Google LLC
@@ -14594,16 +14611,12 @@ declare type WebhookPingResponse = {};
14594
14611
 
14595
14612
  declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
14596
14613
 
14597
- declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
14598
-
14599
14614
  declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
14600
14615
  api_version?: string;
14601
14616
  };
14602
14617
 
14603
14618
  declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
14604
14619
 
14605
- declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
14606
-
14607
14620
  /**
14608
14621
  * @license
14609
14622
  * Copyright 2026 Google LLC
@@ -14624,21 +14637,21 @@ declare type WebhookRotateSigningSecretResponse = {
14624
14637
  export declare namespace Webhooks {
14625
14638
  export type PingWebhookRequest = PingWebhookRequest$;
14626
14639
  export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
14627
- export type SigningSecret = SigningSecret$2;
14628
- export type Webhook = Webhook$2;
14629
- export type WebhookCreateParams = WebhookCreateParams$2;
14640
+ export type SigningSecret = SigningSecret$;
14641
+ export type Webhook = Webhook$;
14642
+ export type WebhookCreateParams = WebhookCreateParams$;
14630
14643
  export type WebhookDeleteParams = WebhookDeleteParams$;
14631
- export type WebhookDeleteResponse = WebhookDeleteResponse$2;
14644
+ export type WebhookDeleteResponse = WebhookDeleteResponse$;
14632
14645
  export type WebhookGetParams = WebhookGetParams$;
14633
- export type WebhookListParams = WebhookListParams$2;
14634
- export type WebhookListResponse = WebhookListResponse$2;
14635
- export type WebhookPingParams = WebhookPingParams$2;
14636
- export type WebhookPingResponse = WebhookPingResponse$2;
14637
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$2;
14638
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$2;
14639
- export type WebhookUpdate = WebhookUpdate$;
14640
- export type WebhookUpdateParams = WebhookUpdateParams$2;
14641
14646
  export type WebhookInput = WebhookInput$;
14647
+ export type WebhookListParams = WebhookListParams$;
14648
+ export type WebhookListResponse = WebhookListResponse$;
14649
+ export type WebhookPingParams = WebhookPingParams$;
14650
+ export type WebhookPingResponse = WebhookPingResponse$;
14651
+ export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
14652
+ export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
14653
+ export type WebhookUpdate = WebhookUpdate$;
14654
+ export type WebhookUpdateParams = WebhookUpdateParams$;
14642
14655
  }
14643
14656
 
14644
14657
  declare namespace webhooks {
@@ -14700,8 +14713,6 @@ declare type WebhookUpdate = {
14700
14713
 
14701
14714
  declare type WebhookUpdateParams$ = WebhookUpdate;
14702
14715
 
14703
- declare type WebhookUpdateParams$2 = UpdateWebhookParams;
14704
-
14705
14716
  declare type WebhookUpdateParams = {
14706
14717
  api_version?: string;
14707
14718
  update_mask?: string;