@google/genai 2.9.0-rc.0 → 2.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/web/web.d.ts CHANGED
@@ -65,8 +65,6 @@ export declare enum AdapterSize {
65
65
 
66
66
  declare type Agent$ = Agent;
67
67
 
68
- declare type Agent$2 = Agent;
69
-
70
68
  /**
71
69
  * An agent definition for the CreateAgent API.
72
70
  *
@@ -110,31 +108,21 @@ declare type Agent = {
110
108
 
111
109
  declare type AgentCreateParams$ = CreateAgentParams;
112
110
 
113
- declare type AgentCreateParams$2 = Agent;
114
-
115
111
  declare type AgentDeleteParams$ = DeleteAgentParams;
116
112
 
117
113
  declare type AgentDeleteResponse$ = Empty;
118
114
 
119
- declare type AgentDeleteResponse$2 = Empty;
120
-
121
115
  declare type AgentGetParams$ = GetAgentParams;
122
116
 
123
117
  declare type AgentListParams$ = ListAgentsParams;
124
118
 
125
- declare type AgentListParams$2 = ListAgentsParams;
126
-
127
119
  declare type AgentListResponse$ = AgentListResponse;
128
120
 
129
- declare type AgentListResponse$2 = AgentListResponse;
130
-
131
121
  declare type AgentListResponse = {
132
122
  agents?: Array<Agent> | undefined;
133
123
  next_page_token?: string | undefined;
134
124
  };
135
125
 
136
- declare type AgentOption$ = AgentOption;
137
-
138
126
  /**
139
127
  * @license
140
128
  * Copyright 2026 Google LLC
@@ -145,7 +133,7 @@ declare type AgentOption$ = AgentOption;
145
133
  /**
146
134
  * The agent to interact with.
147
135
  */
148
- declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | (string & {});
136
+ declare type AgentOption = "deep-research-pro-preview-12-2025" | "deep-research-preview-04-2026" | "deep-research-max-preview-04-2026" | "antigravity-preview-05-2026" | (string & {});
149
137
 
150
138
  export declare namespace Agents {
151
139
  export type Agent = Agent$;
@@ -261,6 +249,10 @@ declare type AllowedTools = {
261
249
  tools?: Array<string> | undefined;
262
250
  };
263
251
 
252
+ declare type Allowlist$ = Allowlist;
253
+
254
+ declare type Allowlist$2 = AllowlistEntry;
255
+
264
256
  /**
265
257
  * Outbound networking configuration for the sandbox. When specified, restricts which external domains the sandbox can reach. Omit entirely to allow all outbound traffic with no header injection.
266
258
  */
@@ -271,8 +263,6 @@ declare type Allowlist = {
271
263
  allowlist?: Array<AllowlistEntry> | undefined;
272
264
  };
273
265
 
274
- declare type AllowlistEntry$ = AllowlistEntry;
275
-
276
266
  /**
277
267
  * @license
278
268
  * Copyright 2026 Google LLC
@@ -500,7 +490,13 @@ export declare enum ApiSpec {
500
490
  ELASTIC_SEARCH = "ELASTIC_SEARCH"
501
491
  }
502
492
 
503
- declare type Arguments$ = Arguments;
493
+ declare type Arguments$ = CodeExecutionCallArguments;
494
+
495
+ declare type Arguments$2 = GoogleMapsCallArguments;
496
+
497
+ declare type Arguments$3 = GoogleSearchCallArguments;
498
+
499
+ declare type Arguments$4 = Arguments;
504
500
 
505
501
  /**
506
502
  * @license
@@ -533,6 +529,8 @@ declare type ArgumentsDelta = {
533
529
  arguments?: string | undefined;
534
530
  };
535
531
 
532
+ declare type Audio$ = AudioDelta;
533
+
536
534
  /** Representation of an audio chunk. */
537
535
  export declare interface AudioChunk {
538
536
  /** Raw bytes of audio data.
@@ -585,10 +583,6 @@ declare type AudioContent = {
585
583
  */
586
584
  declare type AudioContentMimeType = "audio/wav" | "audio/mp3" | "audio/aiff" | "audio/aac" | "audio/ogg" | "audio/flac" | "audio/mpeg" | "audio/m4a" | "audio/l16" | "audio/opus" | "audio/alaw" | "audio/mulaw" | (string & {});
587
585
 
588
- declare type AudioContentParam$ = AudioContent;
589
-
590
- declare type AudioDelta$ = AudioDelta;
591
-
592
586
  declare type AudioDelta = {
593
587
  type: "audio";
594
588
  data?: string | undefined;
@@ -666,9 +660,14 @@ declare type AudioResponseFormatMimeType = "audio/mp3" | "audio/ogg_opus" | "aud
666
660
 
667
661
  /** The audio transcription configuration in Setup. */
668
662
  export declare interface AudioTranscriptionConfig {
669
- /** The language codes of the audio. BCP-47 language code. If not set, the transcription will be in the language detected by the model. If set, the server will use the language code specified in the model config as a hint for the language of the audio
670
- */
663
+ /** Deprecated: use LanguageAuto or LanguageHints instead. */
671
664
  languageCodes?: string[];
665
+ /** The model will detect the language automatically. Do not use together with LanguageHints. */
666
+ languageAuto?: LanguageAuto;
667
+ /** Specifies one or more languages in the audio. Do not use together with LanguageAuto. */
668
+ languageHints?: LanguageHints;
669
+ /** A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
670
+ adaptationPhrases?: string[];
672
671
  }
673
672
 
674
673
  /**
@@ -1032,7 +1031,7 @@ export declare interface BatchJob {
1032
1031
  outputInfo?: BatchJobOutputInfo;
1033
1032
  }
1034
1033
 
1035
- /** Config for `des` parameter. */
1034
+ /** Config for `dest` parameter. */
1036
1035
  export declare interface BatchJobDestination {
1037
1036
  /** Storage format of the output files. Must be one of:
1038
1037
  'jsonl', 'bigquery', 'vertex-dataset'.
@@ -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
  */
@@ -1738,15 +1752,12 @@ declare type ComputerUse$ = ComputerUse_2;
1738
1752
  export declare interface ComputerUse {
1739
1753
  /** Required. The environment being operated. */
1740
1754
  environment?: Environment;
1741
- /** By default, predefined functions are included in the final model call.
1742
- Some of them can be explicitly excluded from being automatically included.
1743
- This can serve two purposes:
1744
- 1. Using a more restricted / different action space.
1745
- 2. Improving the definitions / instructions of predefined functions. */
1755
+ /** Optional. By default, [predefined functions](https://cloud.google.com/vertex-ai/generative-ai/docs/computer-use#supported-actions) are included in the final model call. Some of them can be explicitly excluded from being automatically included. This can serve two purposes: 1. Using a more restricted / different action space. 2. Improving the definitions / instructions of predefined functions. */
1746
1756
  excludedPredefinedFunctions?: string[];
1747
- /** Optional. Whether enable the prompt injection detection check on computer-use request.
1748
- */
1757
+ /** Optional. Enables the prompt injection detection check on computer-use request. */
1749
1758
  enablePromptInjectionDetection?: boolean;
1759
+ /** Optional. Disabled safety policies for computer use. This field is not supported in Vertex AI. */
1760
+ disabledSafetyPolicies?: SafetyPolicy[];
1750
1761
  }
1751
1762
 
1752
1763
  /**
@@ -1769,6 +1780,10 @@ declare type ComputerUse_2 = {
1769
1780
  * request.
1770
1781
  */
1771
1782
  enable_prompt_injection_detection?: boolean | undefined;
1783
+ /**
1784
+ * Optional. Disabled safety policies for computer use.
1785
+ */
1786
+ disabled_safety_policies?: Array<DisabledSafetyPolicy> | undefined;
1772
1787
  };
1773
1788
 
1774
1789
  /** Optional parameters for computing tokens. */
@@ -1967,8 +1982,6 @@ export declare interface CountTokensResult {
1967
1982
  totalTokens?: number;
1968
1983
  }
1969
1984
 
1970
- declare type CreateAgentInteraction$ = CreateAgentInteraction;
1971
-
1972
1985
  /**
1973
1986
  * Parameters for creating agent interactions
1974
1987
  */
@@ -1997,10 +2010,6 @@ declare type CreateAgentInteraction = {
1997
2010
  * A list of tool declarations the model may call during interaction.
1998
2011
  */
1999
2012
  tools?: Array<Tool_2> | undefined;
2000
- /**
2001
- * Statistics on the interaction request's token usage.
2002
- */
2003
- usage?: Usage | undefined;
2004
2013
  /**
2005
2014
  * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2006
2015
  */
@@ -2050,10 +2059,14 @@ declare type CreateAgentInteractionEnvironment = Environment_2 | string;
2050
2059
 
2051
2060
  declare type CreateAgentInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateAgentInteraction;
2052
2061
 
2062
+ declare type CreateAgentInteractionParamsNonStreaming$ = CreateAgentInteraction;
2063
+
2053
2064
  declare type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParams & {
2054
2065
  stream?: false | undefined;
2055
2066
  };
2056
2067
 
2068
+ declare type CreateAgentInteractionParamsStreaming$ = CreateAgentInteraction;
2069
+
2057
2070
  declare type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParams & {
2058
2071
  stream: true;
2059
2072
  };
@@ -2355,8 +2368,6 @@ declare type CreateInteractionRequest = {
2355
2368
  */
2356
2369
  export declare function createModelContent(partOrString: PartListUnion | string): Content;
2357
2370
 
2358
- declare type CreateModelInteraction$ = CreateModelInteraction;
2359
-
2360
2371
  /**
2361
2372
  * Parameters for creating model interactions
2362
2373
  */
@@ -2385,10 +2396,6 @@ declare type CreateModelInteraction = {
2385
2396
  * A list of tool declarations the model may call during interaction.
2386
2397
  */
2387
2398
  tools?: Array<Tool_2> | undefined;
2388
- /**
2389
- * Statistics on the interaction request's token usage.
2390
- */
2391
- usage?: Usage | undefined;
2392
2399
  /**
2393
2400
  * The requested modalities of the response (TEXT, IMAGE, AUDIO).
2394
2401
  */
@@ -2443,10 +2450,14 @@ declare type CreateModelInteractionEnvironment = Environment_2 | string;
2443
2450
 
2444
2451
  declare type CreateModelInteractionParams = Omit<CreateInteractionRequest, "body"> & CreateModelInteraction;
2445
2452
 
2453
+ declare type CreateModelInteractionParamsNonStreaming$ = CreateModelInteraction;
2454
+
2446
2455
  declare type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParams & {
2447
2456
  stream?: false | undefined;
2448
2457
  };
2449
2458
 
2459
+ declare type CreateModelInteractionParamsStreaming$ = CreateModelInteraction;
2460
+
2450
2461
  declare type CreateModelInteractionParamsStreaming = CreateModelInteractionParams & {
2451
2462
  stream: true;
2452
2463
  };
@@ -2925,6 +2936,8 @@ declare type DeleteWebhookRequest = {
2925
2936
  */
2926
2937
  declare type Disabled = "disabled";
2927
2938
 
2939
+ declare type DisabledSafetyPolicy = "financial_transactions" | "sensitive_data_modification" | "communication_tool" | "account_creation" | "data_modification" | "user_consent_management" | "legal_terms_and_agreements" | (string & {});
2940
+
2928
2941
  /** Statistics for distillation prompt dataset. These statistics do not include the responses sampled from the teacher model. This data type is not supported in Gemini API. */
2929
2942
  export declare interface DistillationDataStats {
2930
2943
  /** Output only. Statistics computed for the training dataset. */
@@ -2995,6 +3008,8 @@ export declare interface DistillationSpec {
2995
3008
  tuningMode?: TuningMode;
2996
3009
  }
2997
3010
 
3011
+ declare type Document$ = DocumentDelta;
3012
+
2998
3013
  /** A Document is a collection of Chunks. */
2999
3014
  declare interface Document_2 {
3000
3015
  /** 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 +3064,6 @@ declare type DocumentContent = {
3049
3064
  */
3050
3065
  declare type DocumentContentMimeType = "application/pdf" | "text/csv" | (string & {});
3051
3066
 
3052
- declare type DocumentDelta$ = DocumentDelta;
3053
-
3054
3067
  declare type DocumentDelta = {
3055
3068
  type: "document";
3056
3069
  data?: string | undefined;
@@ -3421,8 +3434,6 @@ export declare interface EmbeddingsBatchJobSource {
3421
3434
  inlinedRequests?: EmbedContentBatch;
3422
3435
  }
3423
3436
 
3424
- declare type Empty$ = Empty;
3425
-
3426
3437
  /**
3427
3438
  * @license
3428
3439
  * Copyright 2026 Google LLC
@@ -3535,13 +3546,15 @@ declare type Environment_2 = {
3535
3546
  */
3536
3547
  declare type EnvironmentEnum = "browser" | "mobile" | "desktop" | (string & {});
3537
3548
 
3538
- declare type EnvironmentNetworkEgressAllowlist$ = EnvironmentNetworkEgressAllowlist;
3539
-
3540
3549
  /**
3541
3550
  * 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
3551
  */
3543
3552
  declare type EnvironmentNetworkEgressAllowlist = Allowlist | Disabled;
3544
3553
 
3554
+ declare type Error$ = ErrorT;
3555
+
3556
+ declare type Error$2 = Status;
3557
+
3545
3558
  declare type ErrorEvent$ = ErrorEvent_2;
3546
3559
 
3547
3560
  declare type ErrorEvent_2 = {
@@ -3560,8 +3573,6 @@ declare type ErrorEvent_2 = {
3560
3573
  metadata?: StreamMetadata | undefined;
3561
3574
  };
3562
3575
 
3563
- declare type ErrorT$ = ErrorT;
3564
-
3565
3576
  /**
3566
3577
  * @license
3567
3578
  * Copyright 2026 Google LLC
@@ -3613,8 +3624,6 @@ export declare interface EvaluationDataset {
3613
3624
  gcsSource?: GcsSource;
3614
3625
  }
3615
3626
 
3616
- declare type ExaAISearchConfig$ = ExaAISearchConfig;
3617
-
3618
3627
  /**
3619
3628
  * @license
3620
3629
  * Copyright 2026 Google LLC
@@ -3841,7 +3850,7 @@ export declare class Files extends BaseModule {
3841
3850
  * file extension.
3842
3851
  * - For Blob object inputs, the `mimeType` will be set to the Blob's `type`
3843
3852
  * property.
3844
- * Somex eamples for file extension to mimeType mapping:
3853
+ * Some examples for file extension to mimeType mapping:
3845
3854
  * .txt -> text/plain
3846
3855
  * .json -> application/json
3847
3856
  * .jpg -> image/jpeg
@@ -3968,7 +3977,7 @@ declare type FileSearch_2 = {
3968
3977
  metadata_filter?: string | undefined;
3969
3978
  };
3970
3979
 
3971
- declare type FileSearchCallDelta$ = FileSearchCallDelta;
3980
+ declare type FileSearchCall$ = FileSearchCallDelta;
3972
3981
 
3973
3982
  /**
3974
3983
  * @license
@@ -4009,7 +4018,7 @@ declare type FileSearchCallStep = {
4009
4018
  signature?: string | undefined;
4010
4019
  };
4011
4020
 
4012
- declare type FileSearchResult$ = FileSearchResult;
4021
+ declare type FileSearchResult$ = FileSearchResultDelta;
4013
4022
 
4014
4023
  /**
4015
4024
  * @license
@@ -4023,8 +4032,6 @@ declare type FileSearchResult$ = FileSearchResult;
4023
4032
  */
4024
4033
  declare type FileSearchResult = {};
4025
4034
 
4026
- declare type FileSearchResultDelta$ = FileSearchResultDelta;
4027
-
4028
4035
  declare type FileSearchResultDelta = {
4029
4036
  type: "file_search_result";
4030
4037
  result: Array<FileSearchResult>;
@@ -4221,8 +4228,6 @@ export declare interface FileStatus {
4221
4228
  code?: number;
4222
4229
  }
4223
4230
 
4224
- declare type Filter$ = Filter;
4225
-
4226
4231
  /**
4227
4232
  * @license
4228
4233
  * Copyright 2026 Google LLC
@@ -4338,6 +4343,8 @@ export declare interface FullFineTuningSpec {
4338
4343
  validationDatasetUri?: string;
4339
4344
  }
4340
4345
 
4346
+ declare type Function$ = FunctionT;
4347
+
4341
4348
  /** 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
4349
  export declare interface FunctionCall {
4343
4350
  /** 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 +4506,7 @@ export declare enum FunctionResponseScheduling {
4499
4506
  INTERRUPT = "INTERRUPT"
4500
4507
  }
4501
4508
 
4502
- declare type FunctionResultDelta$ = FunctionResultDelta;
4509
+ declare type FunctionResult$ = FunctionResultDelta;
4503
4510
 
4504
4511
  declare type FunctionResultDelta = {
4505
4512
  type: "function_result";
@@ -4548,12 +4555,8 @@ declare type FunctionResultStepResult = {};
4548
4555
  */
4549
4556
  declare type FunctionResultStepResultUnion = FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
4550
4557
 
4551
- declare type FunctionResultSubcontent$ = FunctionResultSubcontent;
4552
-
4553
4558
  declare type FunctionResultSubcontent = TextContent | ImageContent;
4554
4559
 
4555
- declare type FunctionT$ = FunctionT;
4556
-
4557
4560
  /**
4558
4561
  * @license
4559
4562
  * Copyright 2026 Google LLC
@@ -4605,9 +4608,9 @@ declare class GeminiNextGenInteractions {
4605
4608
  create(params: CreateAgentInteractionParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4606
4609
  create(params: CreateModelInteractionParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4607
4610
  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>;
4611
+ create(params: InteractionCreateParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4612
+ create(params: InteractionCreateParamsNonStreaming, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4613
+ create(params: InteractionCreateParams, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
4611
4614
  get(id: string, params?: InteractionGetParamsNonStreaming | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction>;
4612
4615
  get(id: string, params: InteractionGetParamsStreaming, options?: GoogleGenAIRequestOptions): Promise<Stream<GoogleGenAIInteractionSSEEvent>>;
4613
4616
  get(id: string, params?: InteractionGetParams | null, options?: GoogleGenAIRequestOptions): Promise<GoogleGenAIInteraction | Stream<GoogleGenAIInteractionSSEEvent>>;
@@ -5342,8 +5345,14 @@ declare type GenerationConfig_2 = {
5342
5345
  speech_config?: Array<SpeechConfig_2> | undefined;
5343
5346
  /**
5344
5347
  * The configuration for image interaction.
5348
+ *
5349
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
5345
5350
  */
5346
5351
  image_config?: ImageConfig_2 | undefined;
5352
+ /**
5353
+ * Configuration options for video generation.
5354
+ */
5355
+ video_config?: VideoConfig | undefined;
5347
5356
  /**
5348
5357
  * Penalizes tokens that have already appeared in the generated
5349
5358
  *
@@ -5837,6 +5846,8 @@ declare type GoogleMaps_2 = {
5837
5846
  longitude?: number | undefined;
5838
5847
  };
5839
5848
 
5849
+ declare type GoogleMapsCall$ = GoogleMapsCallDelta;
5850
+
5840
5851
  declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
5841
5852
 
5842
5853
  /**
@@ -5856,8 +5867,6 @@ declare type GoogleMapsCallArguments = {
5856
5867
  queries?: Array<string> | undefined;
5857
5868
  };
5858
5869
 
5859
- declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
5860
-
5861
5870
  declare type GoogleMapsCallDelta = {
5862
5871
  type: "google_maps_call";
5863
5872
  /**
@@ -5893,6 +5902,8 @@ declare type GoogleMapsCallStep = {
5893
5902
 
5894
5903
  declare type GoogleMapsResult$ = GoogleMapsResult;
5895
5904
 
5905
+ declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
5906
+
5896
5907
  /**
5897
5908
  * The result of the Google Maps.
5898
5909
  */
@@ -5901,8 +5912,6 @@ declare type GoogleMapsResult = {
5901
5912
  widget_context_token?: string | undefined;
5902
5913
  };
5903
5914
 
5904
- declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
5905
-
5906
5915
  declare type GoogleMapsResultDelta = {
5907
5916
  type: "google_maps_result";
5908
5917
  /**
@@ -5915,8 +5924,6 @@ declare type GoogleMapsResultDelta = {
5915
5924
  signature?: string | undefined;
5916
5925
  };
5917
5926
 
5918
- declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
5919
-
5920
5927
  declare type GoogleMapsResultPlaces = {
5921
5928
  place_id?: string | undefined;
5922
5929
  name?: string | undefined;
@@ -5931,7 +5938,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
5931
5938
  */
5932
5939
  declare type GoogleMapsResultStep = {
5933
5940
  type: "google_maps_result";
5934
- result?: Array<GoogleMapsResult> | undefined;
5941
+ result: Array<GoogleMapsResult>;
5935
5942
  /**
5936
5943
  * Required. ID to match the ID from the function call block.
5937
5944
  */
@@ -5977,6 +5984,8 @@ declare type GoogleSearch_2 = {
5977
5984
  search_types?: Array<GoogleSearchSearchType> | undefined;
5978
5985
  };
5979
5986
 
5987
+ declare type GoogleSearchCall$ = GoogleSearchCallDelta;
5988
+
5980
5989
  declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
5981
5990
 
5982
5991
  /**
@@ -5996,8 +6005,6 @@ declare type GoogleSearchCallArguments = {
5996
6005
  queries?: Array<string> | undefined;
5997
6006
  };
5998
6007
 
5999
- declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
6000
-
6001
6008
  declare type GoogleSearchCallDelta = {
6002
6009
  type: "google_search_call";
6003
6010
  /**
@@ -6020,7 +6027,7 @@ declare type GoogleSearchCallStep = {
6020
6027
  /**
6021
6028
  * The arguments to pass to Google Search.
6022
6029
  */
6023
- arguments?: GoogleSearchCallArguments | undefined;
6030
+ arguments: GoogleSearchCallArguments;
6024
6031
  /**
6025
6032
  * The type of search grounding enabled.
6026
6033
  */
@@ -6042,6 +6049,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
6042
6049
 
6043
6050
  declare type GoogleSearchResult$ = GoogleSearchResult;
6044
6051
 
6052
+ declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
6053
+
6045
6054
  /**
6046
6055
  * @license
6047
6056
  * Copyright 2026 Google LLC
@@ -6059,8 +6068,6 @@ declare type GoogleSearchResult = {
6059
6068
  search_suggestions?: string | undefined;
6060
6069
  };
6061
6070
 
6062
- declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
6063
-
6064
6071
  declare type GoogleSearchResultDelta = {
6065
6072
  type: "google_search_result";
6066
6073
  result: Array<GoogleSearchResult>;
@@ -6079,9 +6086,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
6079
6086
  declare type GoogleSearchResultStep = {
6080
6087
  type: "google_search_result";
6081
6088
  /**
6082
- * The results of the Google Search.
6089
+ * Required. The results of the Google Search.
6083
6090
  */
6084
- result?: Array<GoogleSearchResult> | undefined;
6091
+ result: Array<GoogleSearchResult>;
6085
6092
  /**
6086
6093
  * Whether the Google Search resulted in an error.
6087
6094
  */
@@ -6612,8 +6619,6 @@ export declare interface HttpRetryOptions {
6612
6619
  attempts?: number;
6613
6620
  }
6614
6621
 
6615
- declare type HybridSearch$ = HybridSearch;
6616
-
6617
6622
  /**
6618
6623
  * @license
6619
6624
  * Copyright 2026 Google LLC
@@ -6634,6 +6639,8 @@ declare type HybridSearch = {
6634
6639
  alpha?: number | undefined;
6635
6640
  };
6636
6641
 
6642
+ declare type Image$ = ImageDelta;
6643
+
6637
6644
  /** An image. */
6638
6645
  declare interface Image_2 {
6639
6646
  /** The Cloud Storage URI of the image. ``Image`` can contain a value
@@ -6676,6 +6683,8 @@ export declare interface ImageConfig {
6676
6683
 
6677
6684
  /**
6678
6685
  * The configuration for image interaction.
6686
+ *
6687
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
6679
6688
  */
6680
6689
  declare type ImageConfig_2 = {
6681
6690
  aspect_ratio?: ImageConfigAspectRatio | undefined;
@@ -6728,8 +6737,6 @@ declare type ImageContent = {
6728
6737
  */
6729
6738
  declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
6730
6739
 
6731
- declare type ImageDelta$ = ImageDelta;
6732
-
6733
6740
  declare type ImageDelta = {
6734
6741
  type: "image";
6735
6742
  data?: string | undefined;
@@ -6940,6 +6947,8 @@ export declare class InlinedResponse {
6940
6947
  error?: JobError;
6941
6948
  }
6942
6949
 
6950
+ declare type InputTokensByModality$ = ModalityTokens;
6951
+
6943
6952
  declare type Interaction$ = Interaction;
6944
6953
 
6945
6954
  /**
@@ -7075,6 +7084,8 @@ declare type Interaction = {
7075
7084
  */
7076
7085
  declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7077
7086
 
7087
+ declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7088
+
7078
7089
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7079
7090
 
7080
7091
  declare type InteractionCompletedEvent = {
@@ -7123,12 +7134,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
7123
7134
 
7124
7135
  declare type InteractionCreateParams = CreateInteractionParams;
7125
7136
 
7126
- declare type InteractionCreateParamsNonStreaming$ = CreateInteractionParamsNonStreaming;
7137
+ declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
7127
7138
 
7128
- declare type InteractionCreateParamsStreaming$ = CreateInteractionParamsStreaming;
7139
+ declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
7129
7140
 
7130
7141
  declare type InteractionDeleteParams$ = DeleteInteractionParams;
7131
7142
 
7143
+ declare type InteractionDeleteResponse$ = Empty;
7144
+
7132
7145
  /**
7133
7146
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7134
7147
  */
@@ -7140,10 +7153,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
7140
7153
 
7141
7154
  declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
7142
7155
 
7156
+ declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
7157
+
7143
7158
  declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
7144
7159
 
7145
7160
  declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
7146
7161
 
7162
+ declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
7163
+
7147
7164
  declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7148
7165
 
7149
7166
  /**
@@ -7152,161 +7169,219 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7152
7169
  declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
7153
7170
 
7154
7171
  export declare namespace Interactions {
7155
- export type AgentDeleteResponse = AgentDeleteResponse$2;
7156
- export type AgentListParams = AgentListParams$2;
7157
- export type AgentOption = AgentOption$;
7158
7172
  export type AllowedTools = AllowedTools$;
7159
- export type AllowlistEntry = AllowlistEntry$;
7160
7173
  export type Annotation = Annotation$;
7161
- export type ArgumentsDelta = ArgumentsDelta$;
7162
7174
  export type AudioContent = AudioContent$;
7163
- export type AudioDelta = AudioDelta$;
7164
7175
  export type AudioResponseFormat = AudioResponseFormat$;
7165
- export type CodeExecution = CodeExecution$;
7166
7176
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7167
- export type CodeExecutionCallDelta = CodeExecutionCallDelta$;
7168
- export type CodeExecutionCallStep = CodeExecutionCallStep$;
7169
- export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
7177
+ export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7178
+ }
7170
7179
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7171
- export type ComputerUse = ComputerUse$;
7172
7180
  export type Content = Content$;
7173
- export type CreateAgentInteraction = CreateAgentInteraction$;
7174
- export type CreateModelInteraction = CreateModelInteraction$;
7181
+ export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7182
+ export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
7183
+ export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
7184
+ export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
7175
7185
  export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
7176
7186
  export type DocumentContent = DocumentContent$;
7177
- export type DocumentDelta = DocumentDelta$;
7178
7187
  export type DynamicAgentConfig = DynamicAgentConfig$;
7179
- export type Empty = Empty$;
7180
- export type EnvironmentNetworkEgressAllowlist = EnvironmentNetworkEgressAllowlist$;
7181
- export type ErrorT = ErrorT$;
7182
- export type ErrorEvent = ErrorEvent$;
7183
- export type ExaAISearchConfig = ExaAISearchConfig$;
7188
+ export interface Environment extends Environment$ {
7189
+ }
7190
+ export interface ErrorEvent extends ErrorEvent$ {
7191
+ }
7184
7192
  export type FileCitation = FileCitation$;
7185
- export type FileSearch = FileSearch$;
7186
- export type FileSearchCallDelta = FileSearchCallDelta$;
7187
7193
  export type FileSearchCallStep = FileSearchCallStep$;
7188
- export type FileSearchResult = FileSearchResult$;
7189
- export type FileSearchResultDelta = FileSearchResultDelta$;
7190
7194
  export type FileSearchResultStep = FileSearchResultStep$;
7191
- export type Filter = Filter$;
7192
- export type FunctionT = FunctionT$;
7195
+ export type Function = Function$;
7193
7196
  export type FunctionCallStep = FunctionCallStep$;
7194
- export type FunctionResultDelta = FunctionResultDelta$;
7195
7197
  export type FunctionResultStep = FunctionResultStep$;
7196
- export type FunctionResultSubcontent = FunctionResultSubcontent$;
7197
7198
  export type GenerationConfig = GenerationConfig$;
7198
- export type GoogleMaps = GoogleMaps$;
7199
7199
  export type GoogleMapsCallArguments = GoogleMapsCallArguments$;
7200
- export type GoogleMapsCallDelta = GoogleMapsCallDelta$;
7201
- export type GoogleMapsCallStep = GoogleMapsCallStep$;
7202
- export type GoogleMapsResult = GoogleMapsResult$;
7203
- export type GoogleMapsResultDelta = GoogleMapsResultDelta$;
7204
- export type GoogleMapsResultPlaces = GoogleMapsResultPlaces$;
7205
- export type GoogleMapsResultStep = GoogleMapsResultStep$;
7206
- export type GoogleSearch = GoogleSearch$;
7200
+ export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
7201
+ }
7202
+ export interface GoogleMapsResult extends GoogleMapsResult$ {
7203
+ }
7204
+ export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
7205
+ }
7207
7206
  export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
7208
- export type GoogleSearchCallDelta = GoogleSearchCallDelta$;
7209
- export type GoogleSearchCallStep = GoogleSearchCallStep$;
7207
+ export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
7208
+ }
7210
7209
  export type GoogleSearchResult = GoogleSearchResult$;
7211
- export type GoogleSearchResultDelta = GoogleSearchResultDelta$;
7212
- export type GoogleSearchResultStep = GoogleSearchResultStep$;
7213
- export type GroundingToolCount = GroundingToolCount$;
7214
- export type HybridSearch = HybridSearch$;
7210
+ export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
7211
+ }
7215
7212
  export type ImageConfig = ImageConfig$;
7216
7213
  export type ImageContent = ImageContent$;
7217
- export type ImageDelta = ImageDelta$;
7218
7214
  export type ImageResponseFormat = ImageResponseFormat$;
7219
7215
  export type Interaction = Interaction$;
7220
- export type InteractionCompletedEvent = InteractionCompletedEvent$;
7216
+ export type InteractionCancelParams = InteractionCancelParams$;
7217
+ export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
7218
+ }
7219
+ export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
7220
+ }
7221
7221
  export type InteractionCreateParams = InteractionCreateParams$;
7222
- export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
7223
- export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
7224
- export type InteractionCreatedEvent = InteractionCreatedEvent$;
7225
7222
  export type InteractionDeleteParams = InteractionDeleteParams$;
7223
+ export type InteractionDeleteResponse = InteractionDeleteResponse$;
7226
7224
  export type InteractionGetParams = InteractionGetParams$;
7227
7225
  export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
7228
7226
  export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
7229
7227
  export type InteractionSSEEvent = InteractionSSEEvent$;
7230
- export type InteractionSSEStreamEvent = InteractionSSEStreamEvent$;
7231
- export type InteractionSseEventInteraction = InteractionSseEventInteraction$;
7232
- export type InteractionStatusUpdate = InteractionStatusUpdate$;
7233
- export type InteractionsInput = InteractionsInput$;
7234
- export type MCPServer = MCPServer$;
7235
- export type MCPServerToolCallDelta = MCPServerToolCallDelta$;
7228
+ export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
7229
+ }
7236
7230
  export type MCPServerToolCallStep = MCPServerToolCallStep$;
7237
- export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
7238
7231
  export type MCPServerToolResultStep = MCPServerToolResultStep$;
7239
- export type MediaResolution = MediaResolution$;
7240
- export type ModalityTokens = ModalityTokens$;
7241
- export type ModelOutputStep = ModelOutputStep$;
7242
- export type ParallelAISearchConfig = ParallelAISearchConfig$;
7243
- export type PlaceCitation = PlaceCitation$;
7244
- export type RagResource = RagResource$;
7245
- export type RagRetrievalConfig = RagRetrievalConfig$;
7246
- export type RagStoreConfig = RagStoreConfig$;
7247
- export type Ranking = Ranking$;
7248
- export type ResponseFormat = ResponseFormat$;
7249
- export type ResponseModality = ResponseModality$;
7250
- export type Retrieval = Retrieval$;
7251
- export type ReviewSnippet = ReviewSnippet$;
7252
- export type ServiceTier = ServiceTier$;
7253
- export type Source = Source$;
7232
+ export type Model = Model$;
7233
+ export interface ModelOutputStep extends ModelOutputStep$ {
7234
+ }
7235
+ export interface PlaceCitation extends PlaceCitation$ {
7236
+ }
7254
7237
  export type SpeechConfig = SpeechConfig$;
7255
7238
  export type Step = Step$;
7256
- export type StepDelta = StepDelta$;
7257
- export type StepDeltaData = StepDeltaData$;
7258
- export type StepDeltaMetadata = StepDeltaMetadata$;
7259
- export type StepStart = StepStart$;
7260
- export type StepStop = StepStop$;
7261
- export type StreamMetadata = StreamMetadata$;
7262
- export type TextAnnotationDelta = TextAnnotationDelta$;
7239
+ export interface StepDelta extends StepDelta$ {
7240
+ }
7241
+ export interface StepStart extends StepStart$ {
7242
+ }
7243
+ export interface StepStop extends StepStop$ {
7244
+ }
7263
7245
  export type TextContent = TextContent$;
7264
- export type TextDelta = TextDelta$;
7265
7246
  export type TextResponseFormat = TextResponseFormat$;
7266
7247
  export type ThinkingLevel = ThinkingLevel$;
7267
- export type ThinkingSummaries = ThinkingSummaries$;
7268
- export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
7269
7248
  export type ThoughtStep = ThoughtStep$;
7270
- export type ThoughtSummaryContent = ThoughtSummaryContent$;
7271
- export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
7272
7249
  export type Tool = Tool$;
7273
7250
  export type ToolChoiceConfig = ToolChoiceConfig$;
7274
7251
  export type ToolChoiceType = ToolChoiceType$;
7275
- export type Turn = Turn$;
7276
7252
  export type URLCitation = URLCitation$;
7277
- export type URLContext = URLContext$;
7278
7253
  export type URLContextCallArguments = URLContextCallArguments$;
7279
- export type URLContextCallDelta = URLContextCallDelta$;
7280
- export type URLContextCallStep = URLContextCallStep$;
7254
+ export interface URLContextCallStep extends URLContextCallStep$ {
7255
+ }
7281
7256
  export type URLContextResult = URLContextResult$;
7282
- export type URLContextResultDelta = URLContextResultDelta$;
7283
- export type URLContextResultStep = URLContextResultStep$;
7284
- export type Usage = Usage$;
7257
+ export interface URLContextResultStep extends URLContextResultStep$ {
7258
+ }
7259
+ export interface Usage extends Usage$ {
7260
+ }
7285
7261
  export type UserInputStep = UserInputStep$;
7286
- export type VertexAISearchConfig = VertexAISearchConfig$;
7262
+ export type VideoConfig = VideoConfig$;
7287
7263
  export type VideoContent = VideoContent$;
7288
- export type VideoDelta = VideoDelta$;
7264
+ export type VideoResponseFormat = VideoResponseFormat$;
7289
7265
  export type WebhookConfig = WebhookConfig$;
7290
- export type WebhookDeleteResponse = WebhookDeleteResponse$;
7291
- export type WebhookListParams = WebhookListParams$;
7292
- export type Agent = Agent$2;
7293
- export type AgentCreateParams = AgentCreateParams$2;
7294
- export type AgentListResponse = AgentListResponse$2;
7295
- export type Arguments = Arguments$;
7296
- export type AudioContentParam = AudioContentParam$;
7297
- export type Environment = Environment$;
7298
- export type Model = Model$;
7299
- export type ModelParam = ModelParam$;
7300
- export type SigningSecret = SigningSecret$;
7301
- export type VideoContentParam = VideoContentParam$;
7302
- export type Webhook = Webhook$;
7303
- export type WebhookCreateParams = WebhookCreateParams$;
7304
- export type WebhookListResponse = WebhookListResponse$;
7305
- export type WebhookPingParams = WebhookPingParams$;
7306
- export type WebhookPingResponse = WebhookPingResponse$;
7307
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
7308
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
7309
- export type WebhookUpdateParams = WebhookUpdateParams$;
7266
+ export namespace CodeExecutionCallStep {
7267
+ export type Arguments = Arguments$;
7268
+ }
7269
+ export namespace Environment {
7270
+ export interface Allowlist extends Allowlist$ {
7271
+ }
7272
+ export type Source = Source$;
7273
+ export namespace Allowlist {
7274
+ export type Allowlist = Allowlist$2;
7275
+ }
7276
+ }
7277
+ export namespace ErrorEvent {
7278
+ export type Error = Error$;
7279
+ export type Metadata = Metadata$;
7280
+ }
7281
+ export namespace GoogleMapsCallStep {
7282
+ export type Arguments = Arguments$2;
7283
+ }
7284
+ export namespace GoogleMapsResult {
7285
+ export interface Place extends Place$ {
7286
+ }
7287
+ export namespace Place {
7288
+ export type ReviewSnippet = ReviewSnippet$;
7289
+ }
7290
+ }
7291
+ export namespace GoogleMapsResultStep {
7292
+ export interface Result extends Result$ {
7293
+ }
7294
+ export namespace Result {
7295
+ export interface Place extends Place$2 {
7296
+ }
7297
+ export namespace Place {
7298
+ export type ReviewSnippet = ReviewSnippet$2;
7299
+ }
7300
+ }
7301
+ }
7302
+ export namespace GoogleSearchCallStep {
7303
+ export type Arguments = Arguments$3;
7304
+ }
7305
+ export namespace GoogleSearchResultStep {
7306
+ export type Result = Result$2;
7307
+ }
7308
+ export namespace InteractionCompletedEvent {
7309
+ export type Metadata = Metadata$2;
7310
+ }
7311
+ export namespace InteractionCreatedEvent {
7312
+ export type Metadata = Metadata$3;
7313
+ }
7314
+ export namespace InteractionGetParams {
7315
+ export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
7316
+ export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
7317
+ }
7318
+ export namespace InteractionStatusUpdate {
7319
+ export type Metadata = Metadata$4;
7320
+ }
7321
+ export namespace ModelOutputStep {
7322
+ export type Error = Error$2;
7323
+ }
7324
+ export namespace PlaceCitation {
7325
+ export type ReviewSnippet = ReviewSnippet$3;
7326
+ }
7327
+ export namespace StepDelta {
7328
+ export type ArgumentsDelta = ArgumentsDelta$;
7329
+ export type Audio = Audio$;
7330
+ export type CodeExecutionCall = CodeExecutionCall$;
7331
+ export type CodeExecutionResult = CodeExecutionResult$;
7332
+ export type Document = Document$;
7333
+ export type FileSearchCall = FileSearchCall$;
7334
+ export type FileSearchResult = FileSearchResult$;
7335
+ export type FunctionResult = FunctionResult$;
7336
+ export type GoogleMapsCall = GoogleMapsCall$;
7337
+ export type GoogleMapsResult = GoogleMapsResult$2;
7338
+ export type GoogleSearchCall = GoogleSearchCall$;
7339
+ export type GoogleSearchResult = GoogleSearchResult$2;
7340
+ export type Image = Image$;
7341
+ export type MCPServerToolCall = MCPServerToolCall$;
7342
+ export type MCPServerToolResult = MCPServerToolResult$;
7343
+ export type Metadata = Metadata$5;
7344
+ export type Text = Text$;
7345
+ export type TextAnnotationDelta = TextAnnotationDelta$;
7346
+ export type ThoughtSignature = ThoughtSignature$;
7347
+ export type ThoughtSummary = ThoughtSummary$;
7348
+ export type URLContextCall = URLContextCall$;
7349
+ export type URLContextResult = URLContextResult$2;
7350
+ export type Video = Video$;
7351
+ }
7352
+ export namespace StepStart {
7353
+ export type Metadata = Metadata$6;
7354
+ }
7355
+ export namespace StepStop {
7356
+ export type Metadata = Metadata$7;
7357
+ }
7358
+ export namespace Tool {
7359
+ export type CodeExecution = CodeExecution$;
7360
+ export type ComputerUse = ComputerUse$;
7361
+ export type FileSearch = FileSearch$;
7362
+ export type GoogleMaps = GoogleMaps$;
7363
+ export type GoogleSearch = GoogleSearch$;
7364
+ export type MCPServer = MCPServer$;
7365
+ export interface Retrieval extends Retrieval$ {
7366
+ }
7367
+ export type URLContext = URLContext$;
7368
+ export namespace Retrieval {
7369
+ export type VertexAISearchConfig = VertexAISearchConfig$;
7370
+ }
7371
+ }
7372
+ export namespace URLContextCallStep {
7373
+ export type Arguments = Arguments$4;
7374
+ }
7375
+ export namespace URLContextResultStep {
7376
+ export type Result = Result$3;
7377
+ }
7378
+ export namespace Usage {
7379
+ export type CachedTokensByModality = CachedTokensByModality$;
7380
+ export type GroundingToolCount = GroundingToolCount$;
7381
+ export type InputTokensByModality = InputTokensByModality$;
7382
+ export type OutputTokensByModality = OutputTokensByModality$;
7383
+ export type ToolUseTokensByModality = ToolUseTokensByModality$;
7384
+ }
7310
7385
  }
7311
7386
 
7312
7387
  declare namespace interactions {
@@ -7331,6 +7406,7 @@ declare namespace interactions {
7331
7406
  CodeExecutionResultStep,
7332
7407
  CodeExecution,
7333
7408
  EnvironmentEnum,
7409
+ DisabledSafetyPolicy,
7334
7410
  ComputerUse_2 as ComputerUse,
7335
7411
  Content_2 as Content,
7336
7412
  CreateAgentInteractionResponseFormat,
@@ -7450,6 +7526,7 @@ declare namespace interactions {
7450
7526
  SourceType,
7451
7527
  Source,
7452
7528
  SpeechConfig_2 as SpeechConfig,
7529
+ Status,
7453
7530
  StepDeltaData,
7454
7531
  StepDeltaMetadata,
7455
7532
  StepDelta,
@@ -7486,16 +7563,19 @@ declare namespace interactions {
7486
7563
  Usage,
7487
7564
  UserInputStep,
7488
7565
  VertexAISearchConfig,
7566
+ Task,
7567
+ VideoConfig,
7489
7568
  VideoContentMimeType,
7490
7569
  VideoContent,
7491
7570
  VideoDeltaMimeType,
7492
7571
  VideoDelta,
7572
+ VideoResponseFormatDelivery,
7573
+ VideoResponseFormatAspectRatio,
7574
+ VideoResponseFormat,
7493
7575
  WebhookConfig_2 as WebhookConfig
7494
7576
  }
7495
7577
  }
7496
7578
 
7497
- declare type InteractionsInput$ = InteractionsInput;
7498
-
7499
7579
  /**
7500
7580
  * The input for the interaction.
7501
7581
  */
@@ -7505,8 +7585,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
7505
7585
 
7506
7586
  declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
7507
7587
 
7508
- declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
7509
-
7510
7588
  /**
7511
7589
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7512
7590
  *
@@ -7559,8 +7637,6 @@ declare type InteractionSseEventInteraction = {
7559
7637
  */
7560
7638
  declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
7561
7639
 
7562
- declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
7563
-
7564
7640
  declare type InteractionSSEStreamEvent = {
7565
7641
  data: InteractionSSEEvent;
7566
7642
  };
@@ -7690,6 +7766,16 @@ export declare enum Language {
7690
7766
  */
7691
7767
  declare type Language_2 = "python";
7692
7768
 
7769
+ /** Indicates the language of the audio should be automatically detected. */
7770
+ export declare interface LanguageAuto {
7771
+ }
7772
+
7773
+ /** Provides hints to the model about possible languages present in the audio. */
7774
+ export declare interface LanguageHints {
7775
+ /** BCP-47 language codes. At least one must be specified. */
7776
+ languageCodes?: string[];
7777
+ }
7778
+
7693
7779
  /** An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard. Values must be within normalized ranges. */
7694
7780
  export declare interface LatLng {
7695
7781
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -8653,6 +8739,8 @@ export declare interface LiveServerContent {
8653
8739
  it is waiting for more input from the user, e.g. because it expects the
8654
8740
  user to continue talking. */
8655
8741
  waitingForInput?: boolean;
8742
+ /** Low latency transcription updated while the user is speaking. */
8743
+ interimInputTranscription?: Transcription;
8656
8744
  }
8657
8745
 
8658
8746
  /** Server will not be able to service client soon. */
@@ -8710,9 +8798,9 @@ export declare interface LiveServerSessionResumptionUpdate {
8710
8798
  resumable?: boolean;
8711
8799
  /** Index of last message sent by client that is included in state represented by this SessionResumptionToken. Only sent when `SessionResumptionConfig.transparent` is set.
8712
8800
 
8713
- Presence of this index allows users to transparently reconnect and avoid issue of losing some part of realtime audio input/video. If client wishes to temporarily disconnect (for example as result of receiving GoAway) they can do it without losing state by buffering messages sent since last `SessionResmumptionTokenUpdate`. This field will enable them to limit buffering (avoid keeping all requests in RAM).
8801
+ Presence of this index allows users to transparently reconnect and avoid issue of losing some part of realtime audio input/video. If client wishes to temporarily disconnect (for example as result of receiving GoAway) they can do it without losing state by buffering messages sent since last `SessionResumptionTokenUpdate`. This field will enable them to limit buffering (avoid keeping all requests in RAM).
8714
8802
 
8715
- Note: This should not be used for when resuming a session at some time later -- in those cases partial audio and video frames arelikely not needed. */
8803
+ Note: This should not be used for when resuming a session at some time later -- in those cases partial audio and video frames are likely not needed. */
8716
8804
  lastConsumedClientMessageIndex?: string;
8717
8805
  }
8718
8806
 
@@ -8866,7 +8954,7 @@ export declare interface McpServer {
8866
8954
  streamableHttpTransport?: StreamableHttpTransport;
8867
8955
  }
8868
8956
 
8869
- declare type MCPServerToolCallDelta$ = MCPServerToolCallDelta;
8957
+ declare type MCPServerToolCall$ = MCPServerToolCallDelta;
8870
8958
 
8871
8959
  /**
8872
8960
  * @license
@@ -8918,7 +9006,7 @@ declare type MCPServerToolCallStep = {
8918
9006
  id: string;
8919
9007
  };
8920
9008
 
8921
- declare type MCPServerToolResultDelta$ = MCPServerToolResultDelta;
9009
+ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
8922
9010
 
8923
9011
  declare type MCPServerToolResultDelta = {
8924
9012
  type: "mcp_server_tool_result";
@@ -8953,7 +9041,7 @@ declare type MCPServerToolResultStep = {
8953
9041
  /**
8954
9042
  * The output from the MCP server call. Can be simple text or rich content.
8955
9043
  */
8956
- result?: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent> | undefined;
9044
+ result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
8957
9045
  };
8958
9046
 
8959
9047
  declare type MCPServerToolResultStepResult = {};
@@ -9003,8 +9091,6 @@ export declare enum MediaModality {
9003
9091
  DOCUMENT = "DOCUMENT"
9004
9092
  }
9005
9093
 
9006
- declare type MediaResolution$ = MediaResolution_2;
9007
-
9008
9094
  /** The media resolution to use. */
9009
9095
  export declare enum MediaResolution {
9010
9096
  /**
@@ -9034,6 +9120,20 @@ export declare enum MediaResolution {
9034
9120
  */
9035
9121
  declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
9036
9122
 
9123
+ declare type Metadata$ = StreamMetadata;
9124
+
9125
+ declare type Metadata$2 = StreamMetadata;
9126
+
9127
+ declare type Metadata$3 = StreamMetadata;
9128
+
9129
+ declare type Metadata$4 = StreamMetadata;
9130
+
9131
+ declare type Metadata$5 = StepDeltaMetadata;
9132
+
9133
+ declare type Metadata$6 = StreamMetadata;
9134
+
9135
+ declare type Metadata$7 = StreamMetadata;
9136
+
9037
9137
  /** Server content modalities. */
9038
9138
  export declare enum Modality {
9039
9139
  /**
@@ -9066,8 +9166,6 @@ export declare interface ModalityTokenCount {
9066
9166
  tokenCount?: number;
9067
9167
  }
9068
9168
 
9069
- declare type ModalityTokens$ = ModalityTokens;
9070
-
9071
9169
  /**
9072
9170
  * The token count for a single response modality.
9073
9171
  */
@@ -9146,7 +9244,7 @@ export declare interface Model {
9146
9244
  /**
9147
9245
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9148
9246
  */
9149
- declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
9247
+ declare type Model_2 = "gemini-2.5-computer-use-preview-10-2025" | "gemini-2.5-flash" | "gemini-2.5-flash-image" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-lite-preview-09-2025" | "gemini-2.5-flash-native-audio-preview-12-2025" | "gemini-2.5-flash-preview-09-2025" | "gemini-2.5-flash-preview-tts" | "gemini-2.5-pro" | "gemini-2.5-pro-preview-tts" | "gemini-3-flash-preview" | "gemini-3-pro-image-preview" | "gemini-3-pro-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-flash-image-preview" | "gemini-3.1-flash-lite" | "gemini-3.1-flash-lite-preview" | "gemini-3.1-flash-tts-preview" | "gemini-3.5-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | (string & {});
9150
9248
 
9151
9249
  /** Configuration for Model Armor. Model Armor is a Google Cloud service that provides safety and security filtering for prompts and responses. It helps protect your AI applications from risks such as harmful content, sensitive data leakage, and prompt injection attacks. This data type is not supported in Gemini API. */
9152
9250
  export declare interface ModelArmorConfig {
@@ -9164,10 +9262,20 @@ declare type ModelOutputStep$ = ModelOutputStep;
9164
9262
  declare type ModelOutputStep = {
9165
9263
  type: "model_output";
9166
9264
  content?: Array<Content_2> | undefined;
9265
+ /**
9266
+ * The `Status` type defines a logical error model that is suitable for
9267
+ *
9268
+ * @remarks
9269
+ * different programming environments, including REST APIs and RPC APIs. It is
9270
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
9271
+ * three pieces of data: error code, error message, and error details.
9272
+ *
9273
+ * You can find out more about this error model and how to work with it in the
9274
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
9275
+ */
9276
+ error?: Status | undefined;
9167
9277
  };
9168
9278
 
9169
- declare type ModelParam$ = Model_2;
9170
-
9171
9279
  export declare class Models extends BaseModule {
9172
9280
  private readonly apiClient;
9173
9281
  constructor(apiClient: ApiClient);
@@ -9239,7 +9347,7 @@ export declare class Models extends BaseModule {
9239
9347
  * To maintain backward compatibility, we move the data that was treated as
9240
9348
  * JSON schema from the responseSchema field to the responseJsonSchema field.
9241
9349
  */
9242
- private maybeMoveToResponseJsonSchem;
9350
+ private maybeMoveToResponseJsonSchema;
9243
9351
  /**
9244
9352
  * Makes an API request to generate content with a given model and yields the
9245
9353
  * response in chunks.
@@ -9713,6 +9821,8 @@ export declare interface OutputInfo {
9713
9821
  gcsOutputDirectory?: string;
9714
9822
  }
9715
9823
 
9824
+ declare type OutputTokensByModality$ = ModalityTokens;
9825
+
9716
9826
  export declare enum PagedItem {
9717
9827
  PAGED_ITEM_BATCH_JOBS = "batchJobs",
9718
9828
  PAGED_ITEM_MODELS = "models",
@@ -9875,8 +9985,6 @@ export declare interface PairwiseMetricResult {
9875
9985
  pairwiseChoice?: PairwiseChoice;
9876
9986
  }
9877
9987
 
9878
- declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
9879
-
9880
9988
  /**
9881
9989
  * @license
9882
9990
  * Copyright 2026 Google LLC
@@ -10064,23 +10172,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10064
10172
  */
10065
10173
  declare type PingWebhookRequest = {};
10066
10174
 
10067
- declare type PingWebhookRequest_2 = {
10068
- /**
10069
- * Which version of the API to use.
10070
- */
10071
- api_version?: string | undefined;
10072
- /**
10073
- * Required. The ID of the webhook to ping.
10074
- *
10075
- * @remarks
10076
- * Format: `{webhook_id}`
10077
- */
10078
- id: string;
10079
- /**
10080
- * The request body.
10081
- */
10082
- body?: webhooks.PingWebhookRequest | undefined;
10083
- };
10175
+ declare type Place$ = GoogleMapsResultPlaces;
10176
+
10177
+ declare type Place$2 = GoogleMapsResultPlaces;
10084
10178
 
10085
10179
  declare type PlaceCitation$ = PlaceCitation;
10086
10180
 
@@ -10246,8 +10340,6 @@ export declare interface RagChunkPageSpan {
10246
10340
  lastPage?: number;
10247
10341
  }
10248
10342
 
10249
- declare type RagResource$ = RagResource;
10250
-
10251
10343
  /**
10252
10344
  * @license
10253
10345
  * Copyright 2026 Google LLC
@@ -10272,8 +10364,6 @@ declare type RagResource = {
10272
10364
  rag_file_ids?: Array<string> | undefined;
10273
10365
  };
10274
10366
 
10275
- declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
10276
-
10277
10367
  /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
10278
10368
  export declare interface RagRetrievalConfig {
10279
10369
  /** Optional. Config for filters. */
@@ -10344,8 +10434,6 @@ export declare interface RagRetrievalConfigRankingRankService {
10344
10434
  modelName?: string;
10345
10435
  }
10346
10436
 
10347
- declare type RagStoreConfig$ = RagStoreConfig;
10348
-
10349
10437
  /**
10350
10438
  * Use to specify configuration for RAG Store.
10351
10439
  */
@@ -10372,8 +10460,6 @@ declare type RagStoreConfig = {
10372
10460
  rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
10373
10461
  };
10374
10462
 
10375
- declare type Ranking$ = Ranking;
10376
-
10377
10463
  /**
10378
10464
  * @license
10379
10465
  * Copyright 2026 Google LLC
@@ -10789,14 +10875,10 @@ export declare enum ResourceScope {
10789
10875
  COLLECTION = "COLLECTION"
10790
10876
  }
10791
10877
 
10792
- declare type ResponseFormat$ = ResponseFormat;
10793
-
10794
- declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
10878
+ declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | VideoResponseFormat | {
10795
10879
  [k: string]: any;
10796
10880
  };
10797
10881
 
10798
- declare type ResponseModality$ = ResponseModality;
10799
-
10800
10882
  /**
10801
10883
  * @license
10802
10884
  * Copyright 2026 Google LLC
@@ -10822,6 +10904,12 @@ export declare enum ResponseParseType {
10822
10904
  REGEX_EXTRACT = "REGEX_EXTRACT"
10823
10905
  }
10824
10906
 
10907
+ declare type Result$ = GoogleMapsResult;
10908
+
10909
+ declare type Result$2 = GoogleSearchResult;
10910
+
10911
+ declare type Result$3 = URLContextResult;
10912
+
10825
10913
  declare type Retrieval$ = Retrieval_2;
10826
10914
 
10827
10915
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -10890,10 +10978,19 @@ declare type RetryConfig = {
10890
10978
  strategy: "backoff";
10891
10979
  backoff?: BackoffStrategy;
10892
10980
  retryConnectionErrors?: boolean;
10981
+ } | {
10982
+ strategy: "attempt-count-backoff";
10983
+ maxRetries: number;
10984
+ backoff?: Partial<BackoffStrategy>;
10985
+ retryConnectionErrors?: boolean;
10893
10986
  };
10894
10987
 
10895
10988
  declare type ReviewSnippet$ = ReviewSnippet;
10896
10989
 
10990
+ declare type ReviewSnippet$2 = ReviewSnippet;
10991
+
10992
+ declare type ReviewSnippet$3 = ReviewSnippet;
10993
+
10897
10994
  /**
10898
10995
  * @license
10899
10996
  * Copyright 2026 Google LLC
@@ -10946,24 +11043,6 @@ declare type RotateSigningSecretRequest = {
10946
11043
  revocation_behavior?: RevocationBehavior | undefined;
10947
11044
  };
10948
11045
 
10949
- declare type RotateSigningSecretRequest_2 = {
10950
- /**
10951
- * Which version of the API to use.
10952
- */
10953
- api_version?: string | undefined;
10954
- /**
10955
- * Required. The ID of the webhook for which to generate a signing secret.
10956
- *
10957
- * @remarks
10958
- * Format: `{webhook_id}`
10959
- */
10960
- id: string;
10961
- /**
10962
- * The request body.
10963
- */
10964
- body?: webhooks.RotateSigningSecretRequest | undefined;
10965
- };
10966
-
10967
11046
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
10968
11047
  export declare interface RougeMetricValue {
10969
11048
  /** Output only. Rouge score. */
@@ -10988,6 +11067,42 @@ export declare enum SafetyFilterLevel {
10988
11067
  BLOCK_NONE = "BLOCK_NONE"
10989
11068
  }
10990
11069
 
11070
+ /** SafetyPolicy */
11071
+ export declare enum SafetyPolicy {
11072
+ /**
11073
+ * Unspecified safety policy.
11074
+ */
11075
+ SAFETY_POLICY_UNSPECIFIED = "SAFETY_POLICY_UNSPECIFIED",
11076
+ /**
11077
+ * Safety policy for financial transactions.
11078
+ */
11079
+ FINANCIAL_TRANSACTIONS = "FINANCIAL_TRANSACTIONS",
11080
+ /**
11081
+ * Safety policy for sensitive data modification.
11082
+ */
11083
+ SENSITIVE_DATA_MODIFICATION = "SENSITIVE_DATA_MODIFICATION",
11084
+ /**
11085
+ * Safety policy for communication tools (e.g. Gmail, Chat, Meet).
11086
+ */
11087
+ COMMUNICATION_TOOL = "COMMUNICATION_TOOL",
11088
+ /**
11089
+ * Safety policy for account creation.
11090
+ */
11091
+ ACCOUNT_CREATION = "ACCOUNT_CREATION",
11092
+ /**
11093
+ * Safety policy for data modification.
11094
+ */
11095
+ DATA_MODIFICATION = "DATA_MODIFICATION",
11096
+ /**
11097
+ * Safety policy for user consent management.
11098
+ */
11099
+ USER_CONSENT_MANAGEMENT = "USER_CONSENT_MANAGEMENT",
11100
+ /**
11101
+ * Safety policy for legal terms and agreements.
11102
+ */
11103
+ LEGAL_TERMS_AND_AGREEMENTS = "LEGAL_TERMS_AND_AGREEMENTS"
11104
+ }
11105
+
10991
11106
  /** A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level. */
10992
11107
  export declare interface SafetyRating {
10993
11108
  /** Output only. Indicates whether the content was blocked because of this rating. */
@@ -11259,8 +11374,6 @@ export declare interface SendMessageParameters {
11259
11374
  config?: GenerateContentConfig;
11260
11375
  }
11261
11376
 
11262
- declare type ServiceTier$ = ServiceTier_2;
11263
-
11264
11377
  /** Pricing and performance service tier. */
11265
11378
  export declare enum ServiceTier {
11266
11379
  /**
@@ -11452,8 +11565,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
11452
11565
 
11453
11566
  declare type SigningSecret$ = SigningSecret;
11454
11567
 
11455
- declare type SigningSecret$2 = SigningSecret;
11456
-
11457
11568
  /**
11458
11569
  * @license
11459
11570
  * Copyright 2026 Google LLC
@@ -11620,6 +11731,48 @@ export declare enum StartSensitivity {
11620
11731
  START_SENSITIVITY_LOW = "START_SENSITIVITY_LOW"
11621
11732
  }
11622
11733
 
11734
+ /**
11735
+ * @license
11736
+ * Copyright 2026 Google LLC
11737
+ * SPDX-License-Identifier: Apache-2.0
11738
+ *
11739
+ * g3-prettier-ignore-file
11740
+ */
11741
+ /**
11742
+ * The `Status` type defines a logical error model that is suitable for
11743
+ *
11744
+ * @remarks
11745
+ * different programming environments, including REST APIs and RPC APIs. It is
11746
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
11747
+ * three pieces of data: error code, error message, and error details.
11748
+ *
11749
+ * You can find out more about this error model and how to work with it in the
11750
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
11751
+ */
11752
+ declare type Status = {
11753
+ /**
11754
+ * The status code, which should be an enum value of google.rpc.Code.
11755
+ */
11756
+ code?: number | undefined;
11757
+ /**
11758
+ * A developer-facing error message, which should be in English. Any
11759
+ *
11760
+ * @remarks
11761
+ * user-facing error message should be localized and sent in the
11762
+ * google.rpc.Status.details field, or localized by the client.
11763
+ */
11764
+ message?: string | undefined;
11765
+ /**
11766
+ * A list of messages that carry the error details. There is a common set of
11767
+ *
11768
+ * @remarks
11769
+ * message types for APIs to use.
11770
+ */
11771
+ details?: Array<{
11772
+ [k: string]: any;
11773
+ }> | undefined;
11774
+ };
11775
+
11623
11776
  declare type Step$ = Step;
11624
11777
 
11625
11778
  /**
@@ -11646,12 +11799,8 @@ declare type StepDelta = {
11646
11799
  metadata?: StepDeltaMetadata | undefined;
11647
11800
  };
11648
11801
 
11649
- declare type StepDeltaData$ = StepDeltaData;
11650
-
11651
11802
  declare type StepDeltaData = TextDelta | ImageDelta | AudioDelta | DocumentDelta | VideoDelta | ThoughtSummaryDelta | ThoughtSignatureDelta | TextAnnotationDelta | ArgumentsDelta | CodeExecutionCallDelta | URLContextCallDelta | GoogleSearchCallDelta | MCPServerToolCallDelta | FileSearchCallDelta | GoogleMapsCallDelta | CodeExecutionResultDelta | URLContextResultDelta | GoogleSearchResultDelta | MCPServerToolResultDelta | FileSearchResultDelta | GoogleMapsResultDelta | FunctionResultDelta;
11652
11803
 
11653
- declare type StepDeltaMetadata$ = StepDeltaMetadata;
11654
-
11655
11804
  /**
11656
11805
  * Optional metadata accompanying ANY streamed event.
11657
11806
  */
@@ -11686,6 +11835,14 @@ declare type StepStop$ = StepStop;
11686
11835
  declare type StepStop = {
11687
11836
  event_type: "step.stop";
11688
11837
  index: number;
11838
+ /**
11839
+ * Statistics on the interaction request's token usage.
11840
+ */
11841
+ usage?: Usage | undefined;
11842
+ /**
11843
+ * Statistics on the interaction request's token usage.
11844
+ */
11845
+ step_usage?: Usage | undefined;
11689
11846
  /**
11690
11847
  * The event_id token to be used to resume the interaction stream, from
11691
11848
  *
@@ -11700,7 +11857,8 @@ export declare class Stream<T> extends ReadableStream<T> {
11700
11857
  constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
11701
11858
  dataRequired?: boolean;
11702
11859
  });
11703
- [Symbol.asyncIterator](): any;
11860
+ [Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
11861
+ values(options?: unknown): StreamAsyncIterator<T>;
11704
11862
  }
11705
11863
 
11706
11864
  /** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
@@ -11717,7 +11875,23 @@ export declare interface StreamableHttpTransport {
11717
11875
  url?: string;
11718
11876
  }
11719
11877
 
11720
- declare type StreamMetadata$ = StreamMetadata;
11878
+ /**
11879
+ * @license
11880
+ * Copyright 2026 Google LLC
11881
+ * SPDX-License-Identifier: Apache-2.0
11882
+ *
11883
+ * g3-prettier-ignore-file
11884
+ */
11885
+ declare type StreamAsyncIterator<T> = {
11886
+ next(): Promise<IteratorResult<T, undefined>>;
11887
+ throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
11888
+ return?(): Promise<IteratorResult<T, undefined>>;
11889
+ [Symbol.asyncIterator](): StreamAsyncIterator<T>;
11890
+ } & {
11891
+ [K in typeof Symbol extends {
11892
+ readonly asyncDispose: infer SymbolType extends symbol;
11893
+ } ? SymbolType : never]: () => PromiseLike<void>;
11894
+ };
11721
11895
 
11722
11896
  declare type StreamMetadata = {
11723
11897
  /**
@@ -11881,6 +12055,22 @@ export declare interface SupervisedTuningSpec {
11881
12055
  validationDatasetUri?: string;
11882
12056
  }
11883
12057
 
12058
+ /**
12059
+ * @license
12060
+ * Copyright 2026 Google LLC
12061
+ * SPDX-License-Identifier: Apache-2.0
12062
+ *
12063
+ * g3-prettier-ignore-file
12064
+ */
12065
+ /**
12066
+ * Optional task mode for video generation. If not specified, the model
12067
+ *
12068
+ * @remarks
12069
+ * automatically determines the appropriate mode based on the provided text
12070
+ * prompt and input media.
12071
+ */
12072
+ declare type Task = "text_to_video" | "image_to_video" | "reference_to_video" | "edit" | (string & {});
12073
+
11884
12074
  export declare interface TestTableFile {
11885
12075
  comment?: string;
11886
12076
  testMethod?: string;
@@ -11907,6 +12097,8 @@ export declare interface TestTableItem {
11907
12097
  ignoreKeys?: string[];
11908
12098
  }
11909
12099
 
12100
+ declare type Text$ = TextDelta;
12101
+
11910
12102
  declare type TextAnnotationDelta$ = TextAnnotationDelta;
11911
12103
 
11912
12104
  declare type TextAnnotationDelta = {
@@ -11934,8 +12126,6 @@ declare type TextContent = {
11934
12126
  annotations?: Array<Annotation> | undefined;
11935
12127
  };
11936
12128
 
11937
- declare type TextDelta$ = TextDelta;
11938
-
11939
12129
  /**
11940
12130
  * @license
11941
12131
  * Copyright 2026 Google LLC
@@ -12029,8 +12219,6 @@ export declare enum ThinkingLevel {
12029
12219
  */
12030
12220
  declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
12031
12221
 
12032
- declare type ThinkingSummaries$ = ThinkingSummaries;
12033
-
12034
12222
  /**
12035
12223
  * @license
12036
12224
  * Copyright 2026 Google LLC
@@ -12040,7 +12228,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
12040
12228
  */
12041
12229
  declare type ThinkingSummaries = "auto" | "none" | (string & {});
12042
12230
 
12043
- declare type ThoughtSignatureDelta$ = ThoughtSignatureDelta;
12231
+ declare type ThoughtSignature$ = ThoughtSignatureDelta;
12044
12232
 
12045
12233
  /**
12046
12234
  * @license
@@ -12074,12 +12262,10 @@ declare type ThoughtStep = {
12074
12262
  summary?: Array<ThoughtSummaryContent> | undefined;
12075
12263
  };
12076
12264
 
12077
- declare type ThoughtSummaryContent$ = ThoughtSummaryContent;
12265
+ declare type ThoughtSummary$ = ThoughtSummaryDelta;
12078
12266
 
12079
12267
  declare type ThoughtSummaryContent = TextContent | ImageContent;
12080
12268
 
12081
- declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
12082
-
12083
12269
  declare type ThoughtSummaryDelta = {
12084
12270
  type: "thought_summary";
12085
12271
  /**
@@ -12194,9 +12380,7 @@ declare type Tool$ = Tool_2;
12194
12380
  export declare interface Tool {
12195
12381
  /** Optional. Retrieval tool type. System will always execute the provided retrieval tool(s) to get external knowledge to answer the prompt. Retrieval results are presented to the model for generation. This field is not supported in Gemini API. */
12196
12382
  retrieval?: Retrieval;
12197
- /** Optional. Tool to support the model interacting directly with the
12198
- computer. If enabled, it automatically populates computer-use specific
12199
- Function Declarations. */
12383
+ /** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
12200
12384
  computerUse?: ComputerUse;
12201
12385
  /** Optional. FileSearch tool type. Tool to retrieve knowledge from Semantic Retrieval corpora. This field is not supported in Vertex AI. */
12202
12386
  fileSearch?: FileSearch;
@@ -12338,6 +12522,8 @@ export declare enum ToolType {
12338
12522
 
12339
12523
  export declare type ToolUnion = Tool | CallableTool;
12340
12524
 
12525
+ declare type ToolUseTokensByModality$ = ModalityTokens;
12526
+
12341
12527
  /** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
12342
12528
  export declare enum TrafficType {
12343
12529
  /**
@@ -12362,7 +12548,7 @@ export declare enum TrafficType {
12362
12548
  PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
12363
12549
  }
12364
12550
 
12365
- /** Audio transcription in Server Conent. */
12551
+ /** Audio transcription in Server Content. */
12366
12552
  export declare interface Transcription {
12367
12553
  /** Optional. Transcription text. */
12368
12554
  text?: string;
@@ -12711,8 +12897,6 @@ export declare interface TuningValidationDataset {
12711
12897
  vertexDatasetResource?: string;
12712
12898
  }
12713
12899
 
12714
- declare type Turn$ = Turn;
12715
-
12716
12900
  /**
12717
12901
  * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
12718
12902
  */
@@ -12918,10 +13102,11 @@ declare namespace types {
12918
13102
  Language,
12919
13103
  FunctionResponseScheduling,
12920
13104
  Type,
12921
- Environment,
12922
13105
  AuthType,
12923
13106
  HttpElementLocation,
12924
13107
  ApiSpec,
13108
+ Environment,
13109
+ SafetyPolicy,
12925
13110
  PhishBlockThreshold,
12926
13111
  Behavior,
12927
13112
  DynamicRetrievalConfigMode,
@@ -13005,7 +13190,6 @@ declare namespace types {
13005
13190
  HttpOptions,
13006
13191
  Schema,
13007
13192
  ModelSelectionConfig,
13008
- ComputerUse,
13009
13193
  ApiKeyConfig,
13010
13194
  AuthConfigGoogleServiceAccountConfig,
13011
13195
  AuthConfigHttpBasicAuthConfig,
@@ -13029,6 +13213,7 @@ declare namespace types {
13029
13213
  RagRetrievalConfig,
13030
13214
  VertexRagStore,
13031
13215
  Retrieval,
13216
+ ComputerUse,
13032
13217
  FileSearch,
13033
13218
  WebSearch,
13034
13219
  ImageSearch,
@@ -13374,6 +13559,8 @@ declare namespace types {
13374
13559
  SessionResumptionConfig,
13375
13560
  SlidingWindow,
13376
13561
  ContextWindowCompressionConfig,
13562
+ LanguageAuto,
13563
+ LanguageHints,
13377
13564
  AudioTranscriptionConfig,
13378
13565
  ProactivityConfig,
13379
13566
  CustomizedAvatar,
@@ -13486,27 +13673,6 @@ export declare interface UpdateModelParameters {
13486
13673
  config?: UpdateModelConfig;
13487
13674
  }
13488
13675
 
13489
- declare type UpdateWebhookParams = Omit<UpdateWebhookRequest, "id" | "body"> & Partial<NonNullable<UpdateWebhookRequest["body"]>>;
13490
-
13491
- declare type UpdateWebhookRequest = {
13492
- /**
13493
- * Which version of the API to use.
13494
- */
13495
- api_version?: string | undefined;
13496
- /**
13497
- * Required. The ID of the webhook to update.
13498
- */
13499
- id: string;
13500
- /**
13501
- * Optional. The list of fields to update.
13502
- */
13503
- update_mask?: string | undefined;
13504
- /**
13505
- * Required. The webhook to update.
13506
- */
13507
- body?: webhooks.WebhookUpdate | undefined;
13508
- };
13509
-
13510
13676
  declare interface Uploader {
13511
13677
  /**
13512
13678
  * Uploads a file to the given upload url.
@@ -13761,6 +13927,8 @@ declare type URLContext = {
13761
13927
  export declare interface UrlContext {
13762
13928
  }
13763
13929
 
13930
+ declare type URLContextCall$ = URLContextCallDelta;
13931
+
13764
13932
  declare type URLContextCallArguments$ = URLContextCallArguments;
13765
13933
 
13766
13934
  /**
@@ -13780,8 +13948,6 @@ declare type URLContextCallArguments = {
13780
13948
  urls?: Array<string> | undefined;
13781
13949
  };
13782
13950
 
13783
- declare type URLContextCallDelta$ = URLContextCallDelta;
13784
-
13785
13951
  declare type URLContextCallDelta = {
13786
13952
  type: "url_context_call";
13787
13953
  /**
@@ -13812,7 +13978,7 @@ declare type URLContextCallStep = {
13812
13978
  /**
13813
13979
  * The arguments to pass to the URL context.
13814
13980
  */
13815
- arguments?: Arguments | undefined;
13981
+ arguments: Arguments;
13816
13982
  };
13817
13983
 
13818
13984
  /** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
@@ -13823,6 +13989,8 @@ export declare interface UrlContextMetadata {
13823
13989
 
13824
13990
  declare type URLContextResult$ = URLContextResult;
13825
13991
 
13992
+ declare type URLContextResult$2 = URLContextResultDelta;
13993
+
13826
13994
  /**
13827
13995
  * The result of the URL context.
13828
13996
  */
@@ -13837,8 +14005,6 @@ declare type URLContextResult = {
13837
14005
  status?: URLContextResultStatus | undefined;
13838
14006
  };
13839
14007
 
13840
- declare type URLContextResultDelta$ = URLContextResultDelta;
13841
-
13842
14008
  declare type URLContextResultDelta = {
13843
14009
  type: "url_context_result";
13844
14010
  result: Array<URLContextResult>;
@@ -13869,9 +14035,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
13869
14035
  declare type URLContextResultStep = {
13870
14036
  type: "url_context_result";
13871
14037
  /**
13872
- * The results of the URL context.
14038
+ * Required. The results of the URL context.
13873
14039
  */
13874
- result?: Array<URLContextResult> | undefined;
14040
+ result: Array<URLContextResult>;
13875
14041
  /**
13876
14042
  * Whether the URL context resulted in an error.
13877
14043
  */
@@ -14191,6 +14357,8 @@ export declare interface VertexRagStoreRagResource {
14191
14357
  ragFileIds?: string[];
14192
14358
  }
14193
14359
 
14360
+ declare type Video$ = VideoDelta;
14361
+
14194
14362
  /** A generated video. */
14195
14363
  export declare interface Video {
14196
14364
  /** Path to another storage. */
@@ -14216,6 +14384,22 @@ export declare enum VideoCompressionQuality {
14216
14384
  LOSSLESS = "LOSSLESS"
14217
14385
  }
14218
14386
 
14387
+ declare type VideoConfig$ = VideoConfig;
14388
+
14389
+ /**
14390
+ * Configuration options for video generation.
14391
+ */
14392
+ declare type VideoConfig = {
14393
+ /**
14394
+ * Optional task mode for video generation. If not specified, the model
14395
+ *
14396
+ * @remarks
14397
+ * automatically determines the appropriate mode based on the provided text
14398
+ * prompt and input media.
14399
+ */
14400
+ task?: Task | undefined;
14401
+ };
14402
+
14219
14403
  declare type VideoContent$ = VideoContent;
14220
14404
 
14221
14405
  /**
@@ -14243,10 +14427,6 @@ declare type VideoContent = {
14243
14427
  */
14244
14428
  declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
14245
14429
 
14246
- declare type VideoContentParam$ = VideoContent;
14247
-
14248
- declare type VideoDelta$ = VideoDelta;
14249
-
14250
14430
  declare type VideoDelta = {
14251
14431
  type: "video";
14252
14432
  data?: string | undefined;
@@ -14344,6 +14524,51 @@ export declare enum VideoOrientation {
14344
14524
  PORTRAIT = "PORTRAIT"
14345
14525
  }
14346
14526
 
14527
+ declare type VideoResponseFormat$ = VideoResponseFormat;
14528
+
14529
+ /**
14530
+ * Configuration for video output format.
14531
+ */
14532
+ declare type VideoResponseFormat = {
14533
+ type: "video";
14534
+ /**
14535
+ * The delivery mode for the video output.
14536
+ */
14537
+ delivery?: VideoResponseFormatDelivery | undefined;
14538
+ /**
14539
+ * The GCS URI to store the video output. Required for Vertex if delivery mode
14540
+ *
14541
+ * @remarks
14542
+ * is URI.
14543
+ */
14544
+ gcs_uri?: string | undefined;
14545
+ /**
14546
+ * The aspect ratio for the video output.
14547
+ */
14548
+ aspect_ratio?: VideoResponseFormatAspectRatio | undefined;
14549
+ /**
14550
+ * The duration for the video output.
14551
+ */
14552
+ duration?: string | undefined;
14553
+ };
14554
+
14555
+ /**
14556
+ * The aspect ratio for the video output.
14557
+ */
14558
+ declare type VideoResponseFormatAspectRatio = "16:9" | "9:16" | (string & {});
14559
+
14560
+ /**
14561
+ * @license
14562
+ * Copyright 2026 Google LLC
14563
+ * SPDX-License-Identifier: Apache-2.0
14564
+ *
14565
+ * g3-prettier-ignore-file
14566
+ */
14567
+ /**
14568
+ * The delivery mode for the video output.
14569
+ */
14570
+ declare type VideoResponseFormatDelivery = "inline" | "uri" | (string & {});
14571
+
14347
14572
  /**
14348
14573
  * Whether to include visualizations in the response.
14349
14574
  */
@@ -14353,6 +14578,8 @@ declare type Visualization = "off" | "auto" | (string & {});
14353
14578
  export declare interface VoiceActivity {
14354
14579
  /** The type of the voice activity signal. */
14355
14580
  voiceActivityType?: VoiceActivityType;
14581
+ /** The time voice activity detected in audio time, relative to the start of the audio stream. */
14582
+ audioOffset?: string;
14356
14583
  }
14357
14584
 
14358
14585
  export declare interface VoiceActivityDetectionSignal {
@@ -14388,8 +14615,6 @@ export declare interface VoiceConfig {
14388
14615
 
14389
14616
  declare type Webhook$ = Webhook;
14390
14617
 
14391
- declare type Webhook$2 = Webhook;
14392
-
14393
14618
  /**
14394
14619
  * A Webhook resource.
14395
14620
  */
@@ -14487,16 +14712,12 @@ declare type WebhookConfig_2 = {
14487
14712
  } | undefined;
14488
14713
  };
14489
14714
 
14490
- declare type WebhookCreateParams$ = WebhookInput;
14491
-
14492
- declare type WebhookCreateParams$2 = CreateWebhookParams;
14715
+ declare type WebhookCreateParams$ = CreateWebhookParams;
14493
14716
 
14494
14717
  declare type WebhookDeleteParams$ = DeleteWebhookParams;
14495
14718
 
14496
14719
  declare type WebhookDeleteResponse$ = Empty;
14497
14720
 
14498
- declare type WebhookDeleteResponse$2 = Empty;
14499
-
14500
14721
  declare type WebhookGetParams$ = GetWebhookParams;
14501
14722
 
14502
14723
  declare type WebhookInput$ = WebhookInput;
@@ -14531,8 +14752,6 @@ declare type WebhookInput = {
14531
14752
 
14532
14753
  declare type WebhookListParams$ = ListWebhooksParams;
14533
14754
 
14534
- declare type WebhookListParams$2 = ListWebhooksParams;
14535
-
14536
14755
  declare type WebhookListParams = {
14537
14756
  api_version?: string;
14538
14757
  page_size?: number;
@@ -14541,8 +14760,6 @@ declare type WebhookListParams = {
14541
14760
 
14542
14761
  declare type WebhookListResponse$ = WebhookListResponse;
14543
14762
 
14544
- declare type WebhookListResponse$2 = WebhookListResponse;
14545
-
14546
14763
  /**
14547
14764
  * Response message for WebhookService.ListWebhooks.
14548
14765
  */
@@ -14562,8 +14779,6 @@ declare type WebhookListResponse = {
14562
14779
 
14563
14780
  declare type WebhookPingParams$ = PingWebhookRequest;
14564
14781
 
14565
- declare type WebhookPingParams$2 = PingWebhookRequest_2;
14566
-
14567
14782
  declare type WebhookPingParams = {
14568
14783
  api_version?: string;
14569
14784
  body?: webhooks.PingWebhookRequest;
@@ -14571,8 +14786,6 @@ declare type WebhookPingParams = {
14571
14786
 
14572
14787
  declare type WebhookPingResponse$ = WebhookPingResponse;
14573
14788
 
14574
- declare type WebhookPingResponse$2 = WebhookPingResponse;
14575
-
14576
14789
  /**
14577
14790
  * @license
14578
14791
  * Copyright 2026 Google LLC
@@ -14587,16 +14800,12 @@ declare type WebhookPingResponse = {};
14587
14800
 
14588
14801
  declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
14589
14802
 
14590
- declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
14591
-
14592
14803
  declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
14593
14804
  api_version?: string;
14594
14805
  };
14595
14806
 
14596
14807
  declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
14597
14808
 
14598
- declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
14599
-
14600
14809
  /**
14601
14810
  * @license
14602
14811
  * Copyright 2026 Google LLC
@@ -14617,21 +14826,21 @@ declare type WebhookRotateSigningSecretResponse = {
14617
14826
  export declare namespace Webhooks {
14618
14827
  export type PingWebhookRequest = PingWebhookRequest$;
14619
14828
  export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
14620
- export type SigningSecret = SigningSecret$2;
14621
- export type Webhook = Webhook$2;
14622
- export type WebhookCreateParams = WebhookCreateParams$2;
14829
+ export type SigningSecret = SigningSecret$;
14830
+ export type Webhook = Webhook$;
14831
+ export type WebhookCreateParams = WebhookCreateParams$;
14623
14832
  export type WebhookDeleteParams = WebhookDeleteParams$;
14624
- export type WebhookDeleteResponse = WebhookDeleteResponse$2;
14833
+ export type WebhookDeleteResponse = WebhookDeleteResponse$;
14625
14834
  export type WebhookGetParams = WebhookGetParams$;
14626
- export type WebhookListParams = WebhookListParams$2;
14627
- export type WebhookListResponse = WebhookListResponse$2;
14628
- export type WebhookPingParams = WebhookPingParams$2;
14629
- export type WebhookPingResponse = WebhookPingResponse$2;
14630
- export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$2;
14631
- export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$2;
14632
- export type WebhookUpdate = WebhookUpdate$;
14633
- export type WebhookUpdateParams = WebhookUpdateParams$2;
14634
14835
  export type WebhookInput = WebhookInput$;
14836
+ export type WebhookListParams = WebhookListParams$;
14837
+ export type WebhookListResponse = WebhookListResponse$;
14838
+ export type WebhookPingParams = WebhookPingParams$;
14839
+ export type WebhookPingResponse = WebhookPingResponse$;
14840
+ export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
14841
+ export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
14842
+ export type WebhookUpdate = WebhookUpdate$;
14843
+ export type WebhookUpdateParams = WebhookUpdateParams$;
14635
14844
  }
14636
14845
 
14637
14846
  declare namespace webhooks {
@@ -14693,8 +14902,6 @@ declare type WebhookUpdate = {
14693
14902
 
14694
14903
  declare type WebhookUpdateParams$ = WebhookUpdate;
14695
14904
 
14696
- declare type WebhookUpdateParams$2 = UpdateWebhookParams;
14697
-
14698
14905
  declare type WebhookUpdateParams = {
14699
14906
  api_version?: string;
14700
14907
  update_mask?: string;