@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.
@@ -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
  *
@@ -5844,6 +5853,8 @@ declare type GoogleMaps_2 = {
5844
5853
  longitude?: number | undefined;
5845
5854
  };
5846
5855
 
5856
+ declare type GoogleMapsCall$ = GoogleMapsCallDelta;
5857
+
5847
5858
  declare type GoogleMapsCallArguments$ = GoogleMapsCallArguments;
5848
5859
 
5849
5860
  /**
@@ -5863,8 +5874,6 @@ declare type GoogleMapsCallArguments = {
5863
5874
  queries?: Array<string> | undefined;
5864
5875
  };
5865
5876
 
5866
- declare type GoogleMapsCallDelta$ = GoogleMapsCallDelta;
5867
-
5868
5877
  declare type GoogleMapsCallDelta = {
5869
5878
  type: "google_maps_call";
5870
5879
  /**
@@ -5900,6 +5909,8 @@ declare type GoogleMapsCallStep = {
5900
5909
 
5901
5910
  declare type GoogleMapsResult$ = GoogleMapsResult;
5902
5911
 
5912
+ declare type GoogleMapsResult$2 = GoogleMapsResultDelta;
5913
+
5903
5914
  /**
5904
5915
  * The result of the Google Maps.
5905
5916
  */
@@ -5908,8 +5919,6 @@ declare type GoogleMapsResult = {
5908
5919
  widget_context_token?: string | undefined;
5909
5920
  };
5910
5921
 
5911
- declare type GoogleMapsResultDelta$ = GoogleMapsResultDelta;
5912
-
5913
5922
  declare type GoogleMapsResultDelta = {
5914
5923
  type: "google_maps_result";
5915
5924
  /**
@@ -5922,8 +5931,6 @@ declare type GoogleMapsResultDelta = {
5922
5931
  signature?: string | undefined;
5923
5932
  };
5924
5933
 
5925
- declare type GoogleMapsResultPlaces$ = GoogleMapsResultPlaces;
5926
-
5927
5934
  declare type GoogleMapsResultPlaces = {
5928
5935
  place_id?: string | undefined;
5929
5936
  name?: string | undefined;
@@ -5938,7 +5945,7 @@ declare type GoogleMapsResultStep$ = GoogleMapsResultStep;
5938
5945
  */
5939
5946
  declare type GoogleMapsResultStep = {
5940
5947
  type: "google_maps_result";
5941
- result?: Array<GoogleMapsResult> | undefined;
5948
+ result: Array<GoogleMapsResult>;
5942
5949
  /**
5943
5950
  * Required. ID to match the ID from the function call block.
5944
5951
  */
@@ -5984,6 +5991,8 @@ declare type GoogleSearch_2 = {
5984
5991
  search_types?: Array<GoogleSearchSearchType> | undefined;
5985
5992
  };
5986
5993
 
5994
+ declare type GoogleSearchCall$ = GoogleSearchCallDelta;
5995
+
5987
5996
  declare type GoogleSearchCallArguments$ = GoogleSearchCallArguments;
5988
5997
 
5989
5998
  /**
@@ -6003,8 +6012,6 @@ declare type GoogleSearchCallArguments = {
6003
6012
  queries?: Array<string> | undefined;
6004
6013
  };
6005
6014
 
6006
- declare type GoogleSearchCallDelta$ = GoogleSearchCallDelta;
6007
-
6008
6015
  declare type GoogleSearchCallDelta = {
6009
6016
  type: "google_search_call";
6010
6017
  /**
@@ -6027,7 +6034,7 @@ declare type GoogleSearchCallStep = {
6027
6034
  /**
6028
6035
  * The arguments to pass to Google Search.
6029
6036
  */
6030
- arguments?: GoogleSearchCallArguments | undefined;
6037
+ arguments: GoogleSearchCallArguments;
6031
6038
  /**
6032
6039
  * The type of search grounding enabled.
6033
6040
  */
@@ -6049,6 +6056,8 @@ declare type GoogleSearchCallStepSearchType = "web_search" | "image_search" | "e
6049
6056
 
6050
6057
  declare type GoogleSearchResult$ = GoogleSearchResult;
6051
6058
 
6059
+ declare type GoogleSearchResult$2 = GoogleSearchResultDelta;
6060
+
6052
6061
  /**
6053
6062
  * @license
6054
6063
  * Copyright 2026 Google LLC
@@ -6066,8 +6075,6 @@ declare type GoogleSearchResult = {
6066
6075
  search_suggestions?: string | undefined;
6067
6076
  };
6068
6077
 
6069
- declare type GoogleSearchResultDelta$ = GoogleSearchResultDelta;
6070
-
6071
6078
  declare type GoogleSearchResultDelta = {
6072
6079
  type: "google_search_result";
6073
6080
  result: Array<GoogleSearchResult>;
@@ -6086,9 +6093,9 @@ declare type GoogleSearchResultStep$ = GoogleSearchResultStep;
6086
6093
  declare type GoogleSearchResultStep = {
6087
6094
  type: "google_search_result";
6088
6095
  /**
6089
- * The results of the Google Search.
6096
+ * Required. The results of the Google Search.
6090
6097
  */
6091
- result?: Array<GoogleSearchResult> | undefined;
6098
+ result: Array<GoogleSearchResult>;
6092
6099
  /**
6093
6100
  * Whether the Google Search resulted in an error.
6094
6101
  */
@@ -6619,8 +6626,6 @@ export declare interface HttpRetryOptions {
6619
6626
  attempts?: number;
6620
6627
  }
6621
6628
 
6622
- declare type HybridSearch$ = HybridSearch;
6623
-
6624
6629
  /**
6625
6630
  * @license
6626
6631
  * Copyright 2026 Google LLC
@@ -6641,6 +6646,8 @@ declare type HybridSearch = {
6641
6646
  alpha?: number | undefined;
6642
6647
  };
6643
6648
 
6649
+ declare type Image$ = ImageDelta;
6650
+
6644
6651
  /** An image. */
6645
6652
  declare interface Image_2 {
6646
6653
  /** The Cloud Storage URI of the image. ``Image`` can contain a value
@@ -6683,6 +6690,8 @@ export declare interface ImageConfig {
6683
6690
 
6684
6691
  /**
6685
6692
  * The configuration for image interaction.
6693
+ *
6694
+ * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
6686
6695
  */
6687
6696
  declare type ImageConfig_2 = {
6688
6697
  aspect_ratio?: ImageConfigAspectRatio | undefined;
@@ -6735,8 +6744,6 @@ declare type ImageContent = {
6735
6744
  */
6736
6745
  declare type ImageContentMimeType = "image/png" | "image/jpeg" | "image/webp" | "image/heic" | "image/heif" | "image/gif" | "image/bmp" | "image/tiff" | (string & {});
6737
6746
 
6738
- declare type ImageDelta$ = ImageDelta;
6739
-
6740
6747
  declare type ImageDelta = {
6741
6748
  type: "image";
6742
6749
  data?: string | undefined;
@@ -6947,6 +6954,8 @@ export declare class InlinedResponse {
6947
6954
  error?: JobError;
6948
6955
  }
6949
6956
 
6957
+ declare type InputTokensByModality$ = ModalityTokens;
6958
+
6950
6959
  declare type Interaction$ = Interaction;
6951
6960
 
6952
6961
  /**
@@ -7082,6 +7091,8 @@ declare type Interaction = {
7082
7091
  */
7083
7092
  declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7084
7093
 
7094
+ declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7095
+
7085
7096
  declare type InteractionCompletedEvent$ = InteractionCompletedEvent;
7086
7097
 
7087
7098
  declare type InteractionCompletedEvent = {
@@ -7130,12 +7141,14 @@ declare type InteractionCreateParams$ = CreateInteractionParams;
7130
7141
 
7131
7142
  declare type InteractionCreateParams = CreateInteractionParams;
7132
7143
 
7133
- declare type InteractionCreateParamsNonStreaming$ = CreateInteractionParamsNonStreaming;
7144
+ declare type InteractionCreateParamsNonStreaming = CreateInteractionParamsNonStreaming;
7134
7145
 
7135
- declare type InteractionCreateParamsStreaming$ = CreateInteractionParamsStreaming;
7146
+ declare type InteractionCreateParamsStreaming = CreateInteractionParamsStreaming;
7136
7147
 
7137
7148
  declare type InteractionDeleteParams$ = DeleteInteractionParams;
7138
7149
 
7150
+ declare type InteractionDeleteResponse$ = Empty;
7151
+
7139
7152
  /**
7140
7153
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
7141
7154
  */
@@ -7147,10 +7160,14 @@ declare type InteractionGetParams = GetInteractionByIdParams;
7147
7160
 
7148
7161
  declare type InteractionGetParamsNonStreaming$ = GetInteractionByIdParamsNonStreaming;
7149
7162
 
7163
+ declare type InteractionGetParamsNonStreaming$2 = GetInteractionByIdParamsNonStreaming;
7164
+
7150
7165
  declare type InteractionGetParamsNonStreaming = GetInteractionByIdParamsNonStreaming;
7151
7166
 
7152
7167
  declare type InteractionGetParamsStreaming$ = GetInteractionByIdParamsStreaming;
7153
7168
 
7169
+ declare type InteractionGetParamsStreaming$2 = GetInteractionByIdParamsStreaming;
7170
+
7154
7171
  declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7155
7172
 
7156
7173
  /**
@@ -7159,161 +7176,219 @@ declare type InteractionGetParamsStreaming = GetInteractionByIdParamsStreaming;
7159
7176
  declare type InteractionResponseFormat = Array<ResponseFormat> | ResponseFormat;
7160
7177
 
7161
7178
  export declare namespace Interactions {
7162
- export type AgentDeleteResponse = AgentDeleteResponse$2;
7163
- export type AgentListParams = AgentListParams$2;
7164
- export type AgentOption = AgentOption$;
7165
7179
  export type AllowedTools = AllowedTools$;
7166
- export type AllowlistEntry = AllowlistEntry$;
7167
7180
  export type Annotation = Annotation$;
7168
- export type ArgumentsDelta = ArgumentsDelta$;
7169
7181
  export type AudioContent = AudioContent$;
7170
- export type AudioDelta = AudioDelta$;
7171
7182
  export type AudioResponseFormat = AudioResponseFormat$;
7172
- export type CodeExecution = CodeExecution$;
7173
7183
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7174
- export type CodeExecutionCallDelta = CodeExecutionCallDelta$;
7175
- export type CodeExecutionCallStep = CodeExecutionCallStep$;
7176
- export type CodeExecutionResultDelta = CodeExecutionResultDelta$;
7184
+ export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7185
+ }
7177
7186
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7178
- export type ComputerUse = ComputerUse$;
7179
7187
  export type Content = Content$;
7180
- export type CreateAgentInteraction = CreateAgentInteraction$;
7181
- export type CreateModelInteraction = CreateModelInteraction$;
7188
+ export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7189
+ export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
7190
+ export type CreateModelInteractionParamsNonStreaming = CreateModelInteractionParamsNonStreaming$;
7191
+ export type CreateModelInteractionParamsStreaming = CreateModelInteractionParamsStreaming$;
7182
7192
  export type DeepResearchAgentConfig = DeepResearchAgentConfig$;
7183
7193
  export type DocumentContent = DocumentContent$;
7184
- export type DocumentDelta = DocumentDelta$;
7185
7194
  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$;
7195
+ export interface Environment extends Environment$ {
7196
+ }
7197
+ export interface ErrorEvent extends ErrorEvent$ {
7198
+ }
7191
7199
  export type FileCitation = FileCitation$;
7192
- export type FileSearch = FileSearch$;
7193
- export type FileSearchCallDelta = FileSearchCallDelta$;
7194
7200
  export type FileSearchCallStep = FileSearchCallStep$;
7195
- export type FileSearchResult = FileSearchResult$;
7196
- export type FileSearchResultDelta = FileSearchResultDelta$;
7197
7201
  export type FileSearchResultStep = FileSearchResultStep$;
7198
- export type Filter = Filter$;
7199
- export type FunctionT = FunctionT$;
7202
+ export type Function = Function$;
7200
7203
  export type FunctionCallStep = FunctionCallStep$;
7201
- export type FunctionResultDelta = FunctionResultDelta$;
7202
7204
  export type FunctionResultStep = FunctionResultStep$;
7203
- export type FunctionResultSubcontent = FunctionResultSubcontent$;
7204
7205
  export type GenerationConfig = GenerationConfig$;
7205
- export type GoogleMaps = GoogleMaps$;
7206
7206
  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$;
7207
+ export interface GoogleMapsCallStep extends GoogleMapsCallStep$ {
7208
+ }
7209
+ export interface GoogleMapsResult extends GoogleMapsResult$ {
7210
+ }
7211
+ export interface GoogleMapsResultStep extends GoogleMapsResultStep$ {
7212
+ }
7214
7213
  export type GoogleSearchCallArguments = GoogleSearchCallArguments$;
7215
- export type GoogleSearchCallDelta = GoogleSearchCallDelta$;
7216
- export type GoogleSearchCallStep = GoogleSearchCallStep$;
7214
+ export interface GoogleSearchCallStep extends GoogleSearchCallStep$ {
7215
+ }
7217
7216
  export type GoogleSearchResult = GoogleSearchResult$;
7218
- export type GoogleSearchResultDelta = GoogleSearchResultDelta$;
7219
- export type GoogleSearchResultStep = GoogleSearchResultStep$;
7220
- export type GroundingToolCount = GroundingToolCount$;
7221
- export type HybridSearch = HybridSearch$;
7217
+ export interface GoogleSearchResultStep extends GoogleSearchResultStep$ {
7218
+ }
7222
7219
  export type ImageConfig = ImageConfig$;
7223
7220
  export type ImageContent = ImageContent$;
7224
- export type ImageDelta = ImageDelta$;
7225
7221
  export type ImageResponseFormat = ImageResponseFormat$;
7226
7222
  export type Interaction = Interaction$;
7227
- export type InteractionCompletedEvent = InteractionCompletedEvent$;
7223
+ export type InteractionCancelParams = InteractionCancelParams$;
7224
+ export interface InteractionCompletedEvent extends InteractionCompletedEvent$ {
7225
+ }
7226
+ export interface InteractionCreatedEvent extends InteractionCreatedEvent$ {
7227
+ }
7228
7228
  export type InteractionCreateParams = InteractionCreateParams$;
7229
- export type InteractionCreateParamsNonStreaming = InteractionCreateParamsNonStreaming$;
7230
- export type InteractionCreateParamsStreaming = InteractionCreateParamsStreaming$;
7231
- export type InteractionCreatedEvent = InteractionCreatedEvent$;
7232
7229
  export type InteractionDeleteParams = InteractionDeleteParams$;
7230
+ export type InteractionDeleteResponse = InteractionDeleteResponse$;
7233
7231
  export type InteractionGetParams = InteractionGetParams$;
7234
7232
  export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$;
7235
7233
  export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$;
7236
7234
  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$;
7235
+ export interface InteractionStatusUpdate extends InteractionStatusUpdate$ {
7236
+ }
7243
7237
  export type MCPServerToolCallStep = MCPServerToolCallStep$;
7244
- export type MCPServerToolResultDelta = MCPServerToolResultDelta$;
7245
7238
  export type MCPServerToolResultStep = MCPServerToolResultStep$;
7246
- export type MediaResolution = MediaResolution$;
7247
- export type ModalityTokens = ModalityTokens$;
7248
- 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$;
7239
+ export type Model = Model$;
7240
+ export interface ModelOutputStep extends ModelOutputStep$ {
7241
+ }
7242
+ export interface PlaceCitation extends PlaceCitation$ {
7243
+ }
7261
7244
  export type SpeechConfig = SpeechConfig$;
7262
7245
  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$;
7246
+ export interface StepDelta extends StepDelta$ {
7247
+ }
7248
+ export interface StepStart extends StepStart$ {
7249
+ }
7250
+ export interface StepStop extends StepStop$ {
7251
+ }
7270
7252
  export type TextContent = TextContent$;
7271
- export type TextDelta = TextDelta$;
7272
7253
  export type TextResponseFormat = TextResponseFormat$;
7273
7254
  export type ThinkingLevel = ThinkingLevel$;
7274
- export type ThinkingSummaries = ThinkingSummaries$;
7275
- export type ThoughtSignatureDelta = ThoughtSignatureDelta$;
7276
7255
  export type ThoughtStep = ThoughtStep$;
7277
- export type ThoughtSummaryContent = ThoughtSummaryContent$;
7278
- export type ThoughtSummaryDelta = ThoughtSummaryDelta$;
7279
7256
  export type Tool = Tool$;
7280
7257
  export type ToolChoiceConfig = ToolChoiceConfig$;
7281
7258
  export type ToolChoiceType = ToolChoiceType$;
7282
- export type Turn = Turn$;
7283
7259
  export type URLCitation = URLCitation$;
7284
- export type URLContext = URLContext$;
7285
7260
  export type URLContextCallArguments = URLContextCallArguments$;
7286
- export type URLContextCallDelta = URLContextCallDelta$;
7287
- export type URLContextCallStep = URLContextCallStep$;
7261
+ export interface URLContextCallStep extends URLContextCallStep$ {
7262
+ }
7288
7263
  export type URLContextResult = URLContextResult$;
7289
- export type URLContextResultDelta = URLContextResultDelta$;
7290
- export type URLContextResultStep = URLContextResultStep$;
7291
- export type Usage = Usage$;
7264
+ export interface URLContextResultStep extends URLContextResultStep$ {
7265
+ }
7266
+ export interface Usage extends Usage$ {
7267
+ }
7292
7268
  export type UserInputStep = UserInputStep$;
7293
- export type VertexAISearchConfig = VertexAISearchConfig$;
7269
+ export type VideoConfig = VideoConfig$;
7294
7270
  export type VideoContent = VideoContent$;
7295
- export type VideoDelta = VideoDelta$;
7271
+ export type VideoResponseFormat = VideoResponseFormat$;
7296
7272
  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$;
7273
+ export namespace CodeExecutionCallStep {
7274
+ export type Arguments = Arguments$;
7275
+ }
7276
+ export namespace Environment {
7277
+ export interface Allowlist extends Allowlist$ {
7278
+ }
7279
+ export type Source = Source$;
7280
+ export namespace Allowlist {
7281
+ export type Allowlist = Allowlist$2;
7282
+ }
7283
+ }
7284
+ export namespace ErrorEvent {
7285
+ export type Error = Error$;
7286
+ export type Metadata = Metadata$;
7287
+ }
7288
+ export namespace GoogleMapsCallStep {
7289
+ export type Arguments = Arguments$2;
7290
+ }
7291
+ export namespace GoogleMapsResult {
7292
+ export interface Place extends Place$ {
7293
+ }
7294
+ export namespace Place {
7295
+ export type ReviewSnippet = ReviewSnippet$;
7296
+ }
7297
+ }
7298
+ export namespace GoogleMapsResultStep {
7299
+ export interface Result extends Result$ {
7300
+ }
7301
+ export namespace Result {
7302
+ export interface Place extends Place$2 {
7303
+ }
7304
+ export namespace Place {
7305
+ export type ReviewSnippet = ReviewSnippet$2;
7306
+ }
7307
+ }
7308
+ }
7309
+ export namespace GoogleSearchCallStep {
7310
+ export type Arguments = Arguments$3;
7311
+ }
7312
+ export namespace GoogleSearchResultStep {
7313
+ export type Result = Result$2;
7314
+ }
7315
+ export namespace InteractionCompletedEvent {
7316
+ export type Metadata = Metadata$2;
7317
+ }
7318
+ export namespace InteractionCreatedEvent {
7319
+ export type Metadata = Metadata$3;
7320
+ }
7321
+ export namespace InteractionGetParams {
7322
+ export type InteractionGetParamsNonStreaming = InteractionGetParamsNonStreaming$2;
7323
+ export type InteractionGetParamsStreaming = InteractionGetParamsStreaming$2;
7324
+ }
7325
+ export namespace InteractionStatusUpdate {
7326
+ export type Metadata = Metadata$4;
7327
+ }
7328
+ export namespace ModelOutputStep {
7329
+ export type Error = Error$2;
7330
+ }
7331
+ export namespace PlaceCitation {
7332
+ export type ReviewSnippet = ReviewSnippet$3;
7333
+ }
7334
+ export namespace StepDelta {
7335
+ export type ArgumentsDelta = ArgumentsDelta$;
7336
+ export type Audio = Audio$;
7337
+ export type CodeExecutionCall = CodeExecutionCall$;
7338
+ export type CodeExecutionResult = CodeExecutionResult$;
7339
+ export type Document = Document$;
7340
+ export type FileSearchCall = FileSearchCall$;
7341
+ export type FileSearchResult = FileSearchResult$;
7342
+ export type FunctionResult = FunctionResult$;
7343
+ export type GoogleMapsCall = GoogleMapsCall$;
7344
+ export type GoogleMapsResult = GoogleMapsResult$2;
7345
+ export type GoogleSearchCall = GoogleSearchCall$;
7346
+ export type GoogleSearchResult = GoogleSearchResult$2;
7347
+ export type Image = Image$;
7348
+ export type MCPServerToolCall = MCPServerToolCall$;
7349
+ export type MCPServerToolResult = MCPServerToolResult$;
7350
+ export type Metadata = Metadata$5;
7351
+ export type Text = Text$;
7352
+ export type TextAnnotationDelta = TextAnnotationDelta$;
7353
+ export type ThoughtSignature = ThoughtSignature$;
7354
+ export type ThoughtSummary = ThoughtSummary$;
7355
+ export type URLContextCall = URLContextCall$;
7356
+ export type URLContextResult = URLContextResult$2;
7357
+ export type Video = Video$;
7358
+ }
7359
+ export namespace StepStart {
7360
+ export type Metadata = Metadata$6;
7361
+ }
7362
+ export namespace StepStop {
7363
+ export type Metadata = Metadata$7;
7364
+ }
7365
+ export namespace Tool {
7366
+ export type CodeExecution = CodeExecution$;
7367
+ export type ComputerUse = ComputerUse$;
7368
+ export type FileSearch = FileSearch$;
7369
+ export type GoogleMaps = GoogleMaps$;
7370
+ export type GoogleSearch = GoogleSearch$;
7371
+ export type MCPServer = MCPServer$;
7372
+ export interface Retrieval extends Retrieval$ {
7373
+ }
7374
+ export type URLContext = URLContext$;
7375
+ export namespace Retrieval {
7376
+ export type VertexAISearchConfig = VertexAISearchConfig$;
7377
+ }
7378
+ }
7379
+ export namespace URLContextCallStep {
7380
+ export type Arguments = Arguments$4;
7381
+ }
7382
+ export namespace URLContextResultStep {
7383
+ export type Result = Result$3;
7384
+ }
7385
+ export namespace Usage {
7386
+ export type CachedTokensByModality = CachedTokensByModality$;
7387
+ export type GroundingToolCount = GroundingToolCount$;
7388
+ export type InputTokensByModality = InputTokensByModality$;
7389
+ export type OutputTokensByModality = OutputTokensByModality$;
7390
+ export type ToolUseTokensByModality = ToolUseTokensByModality$;
7391
+ }
7317
7392
  }
7318
7393
 
7319
7394
  declare namespace interactions {
@@ -7338,6 +7413,7 @@ declare namespace interactions {
7338
7413
  CodeExecutionResultStep,
7339
7414
  CodeExecution,
7340
7415
  EnvironmentEnum,
7416
+ DisabledSafetyPolicy,
7341
7417
  ComputerUse_2 as ComputerUse,
7342
7418
  Content_2 as Content,
7343
7419
  CreateAgentInteractionResponseFormat,
@@ -7457,6 +7533,7 @@ declare namespace interactions {
7457
7533
  SourceType,
7458
7534
  Source,
7459
7535
  SpeechConfig_2 as SpeechConfig,
7536
+ Status,
7460
7537
  StepDeltaData,
7461
7538
  StepDeltaMetadata,
7462
7539
  StepDelta,
@@ -7493,16 +7570,19 @@ declare namespace interactions {
7493
7570
  Usage,
7494
7571
  UserInputStep,
7495
7572
  VertexAISearchConfig,
7573
+ Task,
7574
+ VideoConfig,
7496
7575
  VideoContentMimeType,
7497
7576
  VideoContent,
7498
7577
  VideoDeltaMimeType,
7499
7578
  VideoDelta,
7579
+ VideoResponseFormatDelivery,
7580
+ VideoResponseFormatAspectRatio,
7581
+ VideoResponseFormat,
7500
7582
  WebhookConfig_2 as WebhookConfig
7501
7583
  }
7502
7584
  }
7503
7585
 
7504
- declare type InteractionsInput$ = InteractionsInput;
7505
-
7506
7586
  /**
7507
7587
  * The input for the interaction.
7508
7588
  */
@@ -7512,8 +7592,6 @@ declare type InteractionSSEEvent$ = InteractionSSEEvent;
7512
7592
 
7513
7593
  declare type InteractionSSEEvent = InteractionCreatedEvent | InteractionCompletedEvent | InteractionStatusUpdate | ErrorEvent_2 | StepStart | StepDelta | StepStop;
7514
7594
 
7515
- declare type InteractionSseEventInteraction$ = InteractionSseEventInteraction;
7516
-
7517
7595
  /**
7518
7596
  * Partial interaction resource emitted by interaction lifecycle SSE events.
7519
7597
  *
@@ -7566,8 +7644,6 @@ declare type InteractionSseEventInteraction = {
7566
7644
  */
7567
7645
  declare type InteractionSseEventInteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | (string & {});
7568
7646
 
7569
- declare type InteractionSSEStreamEvent$ = InteractionSSEStreamEvent;
7570
-
7571
7647
  declare type InteractionSSEStreamEvent = {
7572
7648
  data: InteractionSSEEvent;
7573
7649
  };
@@ -7697,6 +7773,16 @@ export declare enum Language {
7697
7773
  */
7698
7774
  declare type Language_2 = "python";
7699
7775
 
7776
+ /** Indicates the language of the audio should be automatically detected. */
7777
+ export declare interface LanguageAuto {
7778
+ }
7779
+
7780
+ /** Provides hints to the model about possible languages present in the audio. */
7781
+ export declare interface LanguageHints {
7782
+ /** BCP-47 language codes. At least one must be specified. */
7783
+ languageCodes?: string[];
7784
+ }
7785
+
7700
7786
  /** 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
7787
  export declare interface LatLng {
7702
7788
  /** The latitude in degrees. It must be in the range [-90.0, +90.0]. */
@@ -8660,6 +8746,8 @@ export declare interface LiveServerContent {
8660
8746
  it is waiting for more input from the user, e.g. because it expects the
8661
8747
  user to continue talking. */
8662
8748
  waitingForInput?: boolean;
8749
+ /** Low latency transcription updated while the user is speaking. */
8750
+ interimInputTranscription?: Transcription;
8663
8751
  }
8664
8752
 
8665
8753
  /** Server will not be able to service client soon. */
@@ -8717,9 +8805,9 @@ export declare interface LiveServerSessionResumptionUpdate {
8717
8805
  resumable?: boolean;
8718
8806
  /** Index of last message sent by client that is included in state represented by this SessionResumptionToken. Only sent when `SessionResumptionConfig.transparent` is set.
8719
8807
 
8720
- 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).
8808
+ 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).
8721
8809
 
8722
- 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. */
8810
+ 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. */
8723
8811
  lastConsumedClientMessageIndex?: string;
8724
8812
  }
8725
8813
 
@@ -8873,7 +8961,7 @@ export declare interface McpServer {
8873
8961
  streamableHttpTransport?: StreamableHttpTransport;
8874
8962
  }
8875
8963
 
8876
- declare type MCPServerToolCallDelta$ = MCPServerToolCallDelta;
8964
+ declare type MCPServerToolCall$ = MCPServerToolCallDelta;
8877
8965
 
8878
8966
  /**
8879
8967
  * @license
@@ -8925,7 +9013,7 @@ declare type MCPServerToolCallStep = {
8925
9013
  id: string;
8926
9014
  };
8927
9015
 
8928
- declare type MCPServerToolResultDelta$ = MCPServerToolResultDelta;
9016
+ declare type MCPServerToolResult$ = MCPServerToolResultDelta;
8929
9017
 
8930
9018
  declare type MCPServerToolResultDelta = {
8931
9019
  type: "mcp_server_tool_result";
@@ -8960,7 +9048,7 @@ declare type MCPServerToolResultStep = {
8960
9048
  /**
8961
9049
  * The output from the MCP server call. Can be simple text or rich content.
8962
9050
  */
8963
- result?: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent> | undefined;
9051
+ result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
8964
9052
  };
8965
9053
 
8966
9054
  declare type MCPServerToolResultStepResult = {};
@@ -9010,8 +9098,6 @@ export declare enum MediaModality {
9010
9098
  DOCUMENT = "DOCUMENT"
9011
9099
  }
9012
9100
 
9013
- declare type MediaResolution$ = MediaResolution_2;
9014
-
9015
9101
  /** The media resolution to use. */
9016
9102
  export declare enum MediaResolution {
9017
9103
  /**
@@ -9041,6 +9127,20 @@ export declare enum MediaResolution {
9041
9127
  */
9042
9128
  declare type MediaResolution_2 = "low" | "medium" | "high" | "ultra_high" | (string & {});
9043
9129
 
9130
+ declare type Metadata$ = StreamMetadata;
9131
+
9132
+ declare type Metadata$2 = StreamMetadata;
9133
+
9134
+ declare type Metadata$3 = StreamMetadata;
9135
+
9136
+ declare type Metadata$4 = StreamMetadata;
9137
+
9138
+ declare type Metadata$5 = StepDeltaMetadata;
9139
+
9140
+ declare type Metadata$6 = StreamMetadata;
9141
+
9142
+ declare type Metadata$7 = StreamMetadata;
9143
+
9044
9144
  /** Server content modalities. */
9045
9145
  export declare enum Modality {
9046
9146
  /**
@@ -9073,8 +9173,6 @@ export declare interface ModalityTokenCount {
9073
9173
  tokenCount?: number;
9074
9174
  }
9075
9175
 
9076
- declare type ModalityTokens$ = ModalityTokens;
9077
-
9078
9176
  /**
9079
9177
  * The token count for a single response modality.
9080
9178
  */
@@ -9153,7 +9251,7 @@ export declare interface Model {
9153
9251
  /**
9154
9252
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9155
9253
  */
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 & {});
9254
+ 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
9255
 
9158
9256
  /** 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
9257
  export declare interface ModelArmorConfig {
@@ -9171,10 +9269,20 @@ declare type ModelOutputStep$ = ModelOutputStep;
9171
9269
  declare type ModelOutputStep = {
9172
9270
  type: "model_output";
9173
9271
  content?: Array<Content_2> | undefined;
9272
+ /**
9273
+ * The `Status` type defines a logical error model that is suitable for
9274
+ *
9275
+ * @remarks
9276
+ * different programming environments, including REST APIs and RPC APIs. It is
9277
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
9278
+ * three pieces of data: error code, error message, and error details.
9279
+ *
9280
+ * You can find out more about this error model and how to work with it in the
9281
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
9282
+ */
9283
+ error?: Status | undefined;
9174
9284
  };
9175
9285
 
9176
- declare type ModelParam$ = Model_2;
9177
-
9178
9286
  export declare class Models extends BaseModule {
9179
9287
  private readonly apiClient;
9180
9288
  constructor(apiClient: ApiClient);
@@ -9246,7 +9354,7 @@ export declare class Models extends BaseModule {
9246
9354
  * To maintain backward compatibility, we move the data that was treated as
9247
9355
  * JSON schema from the responseSchema field to the responseJsonSchema field.
9248
9356
  */
9249
- private maybeMoveToResponseJsonSchem;
9357
+ private maybeMoveToResponseJsonSchema;
9250
9358
  /**
9251
9359
  * Makes an API request to generate content with a given model and yields the
9252
9360
  * response in chunks.
@@ -9720,6 +9828,8 @@ export declare interface OutputInfo {
9720
9828
  gcsOutputDirectory?: string;
9721
9829
  }
9722
9830
 
9831
+ declare type OutputTokensByModality$ = ModalityTokens;
9832
+
9723
9833
  export declare enum PagedItem {
9724
9834
  PAGED_ITEM_BATCH_JOBS = "batchJobs",
9725
9835
  PAGED_ITEM_MODELS = "models",
@@ -9882,8 +9992,6 @@ export declare interface PairwiseMetricResult {
9882
9992
  pairwiseChoice?: PairwiseChoice;
9883
9993
  }
9884
9994
 
9885
- declare type ParallelAISearchConfig$ = ParallelAISearchConfig;
9886
-
9887
9995
  /**
9888
9996
  * @license
9889
9997
  * Copyright 2026 Google LLC
@@ -10071,23 +10179,9 @@ declare type PingWebhookRequest$ = PingWebhookRequest;
10071
10179
  */
10072
10180
  declare type PingWebhookRequest = {};
10073
10181
 
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
- };
10182
+ declare type Place$ = GoogleMapsResultPlaces;
10183
+
10184
+ declare type Place$2 = GoogleMapsResultPlaces;
10091
10185
 
10092
10186
  declare type PlaceCitation$ = PlaceCitation;
10093
10187
 
@@ -10253,8 +10347,6 @@ export declare interface RagChunkPageSpan {
10253
10347
  lastPage?: number;
10254
10348
  }
10255
10349
 
10256
- declare type RagResource$ = RagResource;
10257
-
10258
10350
  /**
10259
10351
  * @license
10260
10352
  * Copyright 2026 Google LLC
@@ -10279,8 +10371,6 @@ declare type RagResource = {
10279
10371
  rag_file_ids?: Array<string> | undefined;
10280
10372
  };
10281
10373
 
10282
- declare type RagRetrievalConfig$ = RagRetrievalConfig_2;
10283
-
10284
10374
  /** Specifies the context retrieval config. This data type is not supported in Gemini API. */
10285
10375
  export declare interface RagRetrievalConfig {
10286
10376
  /** Optional. Config for filters. */
@@ -10351,8 +10441,6 @@ export declare interface RagRetrievalConfigRankingRankService {
10351
10441
  modelName?: string;
10352
10442
  }
10353
10443
 
10354
- declare type RagStoreConfig$ = RagStoreConfig;
10355
-
10356
10444
  /**
10357
10445
  * Use to specify configuration for RAG Store.
10358
10446
  */
@@ -10379,8 +10467,6 @@ declare type RagStoreConfig = {
10379
10467
  rag_retrieval_config?: RagRetrievalConfig_2 | undefined;
10380
10468
  };
10381
10469
 
10382
- declare type Ranking$ = Ranking;
10383
-
10384
10470
  /**
10385
10471
  * @license
10386
10472
  * Copyright 2026 Google LLC
@@ -10796,14 +10882,10 @@ export declare enum ResourceScope {
10796
10882
  COLLECTION = "COLLECTION"
10797
10883
  }
10798
10884
 
10799
- declare type ResponseFormat$ = ResponseFormat;
10800
-
10801
- declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | {
10885
+ declare type ResponseFormat = AudioResponseFormat | TextResponseFormat | ImageResponseFormat | VideoResponseFormat | {
10802
10886
  [k: string]: any;
10803
10887
  };
10804
10888
 
10805
- declare type ResponseModality$ = ResponseModality;
10806
-
10807
10889
  /**
10808
10890
  * @license
10809
10891
  * Copyright 2026 Google LLC
@@ -10829,6 +10911,12 @@ export declare enum ResponseParseType {
10829
10911
  REGEX_EXTRACT = "REGEX_EXTRACT"
10830
10912
  }
10831
10913
 
10914
+ declare type Result$ = GoogleMapsResult;
10915
+
10916
+ declare type Result$2 = GoogleSearchResult;
10917
+
10918
+ declare type Result$3 = URLContextResult;
10919
+
10832
10920
  declare type Retrieval$ = Retrieval_2;
10833
10921
 
10834
10922
  /** Defines a retrieval tool that model can call to access external knowledge. This data type is not supported in Gemini API. */
@@ -10897,10 +10985,19 @@ declare type RetryConfig = {
10897
10985
  strategy: "backoff";
10898
10986
  backoff?: BackoffStrategy;
10899
10987
  retryConnectionErrors?: boolean;
10988
+ } | {
10989
+ strategy: "attempt-count-backoff";
10990
+ maxRetries: number;
10991
+ backoff?: Partial<BackoffStrategy>;
10992
+ retryConnectionErrors?: boolean;
10900
10993
  };
10901
10994
 
10902
10995
  declare type ReviewSnippet$ = ReviewSnippet;
10903
10996
 
10997
+ declare type ReviewSnippet$2 = ReviewSnippet;
10998
+
10999
+ declare type ReviewSnippet$3 = ReviewSnippet;
11000
+
10904
11001
  /**
10905
11002
  * @license
10906
11003
  * Copyright 2026 Google LLC
@@ -10953,24 +11050,6 @@ declare type RotateSigningSecretRequest = {
10953
11050
  revocation_behavior?: RevocationBehavior | undefined;
10954
11051
  };
10955
11052
 
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
11053
  /** Rouge metric value for an instance. This data type is not supported in Gemini API. */
10975
11054
  export declare interface RougeMetricValue {
10976
11055
  /** Output only. Rouge score. */
@@ -10995,6 +11074,42 @@ export declare enum SafetyFilterLevel {
10995
11074
  BLOCK_NONE = "BLOCK_NONE"
10996
11075
  }
10997
11076
 
11077
+ /** SafetyPolicy */
11078
+ export declare enum SafetyPolicy {
11079
+ /**
11080
+ * Unspecified safety policy.
11081
+ */
11082
+ SAFETY_POLICY_UNSPECIFIED = "SAFETY_POLICY_UNSPECIFIED",
11083
+ /**
11084
+ * Safety policy for financial transactions.
11085
+ */
11086
+ FINANCIAL_TRANSACTIONS = "FINANCIAL_TRANSACTIONS",
11087
+ /**
11088
+ * Safety policy for sensitive data modification.
11089
+ */
11090
+ SENSITIVE_DATA_MODIFICATION = "SENSITIVE_DATA_MODIFICATION",
11091
+ /**
11092
+ * Safety policy for communication tools (e.g. Gmail, Chat, Meet).
11093
+ */
11094
+ COMMUNICATION_TOOL = "COMMUNICATION_TOOL",
11095
+ /**
11096
+ * Safety policy for account creation.
11097
+ */
11098
+ ACCOUNT_CREATION = "ACCOUNT_CREATION",
11099
+ /**
11100
+ * Safety policy for data modification.
11101
+ */
11102
+ DATA_MODIFICATION = "DATA_MODIFICATION",
11103
+ /**
11104
+ * Safety policy for user consent management.
11105
+ */
11106
+ USER_CONSENT_MANAGEMENT = "USER_CONSENT_MANAGEMENT",
11107
+ /**
11108
+ * Safety policy for legal terms and agreements.
11109
+ */
11110
+ LEGAL_TERMS_AND_AGREEMENTS = "LEGAL_TERMS_AND_AGREEMENTS"
11111
+ }
11112
+
10998
11113
  /** A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level. */
10999
11114
  export declare interface SafetyRating {
11000
11115
  /** Output only. Indicates whether the content was blocked because of this rating. */
@@ -11266,8 +11381,6 @@ export declare interface SendMessageParameters {
11266
11381
  config?: GenerateContentConfig;
11267
11382
  }
11268
11383
 
11269
- declare type ServiceTier$ = ServiceTier_2;
11270
-
11271
11384
  /** Pricing and performance service tier. */
11272
11385
  export declare enum ServiceTier {
11273
11386
  /**
@@ -11459,8 +11572,6 @@ export declare function setDefaultBaseUrls(baseUrlParams: BaseUrlParameters): vo
11459
11572
 
11460
11573
  declare type SigningSecret$ = SigningSecret;
11461
11574
 
11462
- declare type SigningSecret$2 = SigningSecret;
11463
-
11464
11575
  /**
11465
11576
  * @license
11466
11577
  * Copyright 2026 Google LLC
@@ -11627,6 +11738,48 @@ export declare enum StartSensitivity {
11627
11738
  START_SENSITIVITY_LOW = "START_SENSITIVITY_LOW"
11628
11739
  }
11629
11740
 
11741
+ /**
11742
+ * @license
11743
+ * Copyright 2026 Google LLC
11744
+ * SPDX-License-Identifier: Apache-2.0
11745
+ *
11746
+ * g3-prettier-ignore-file
11747
+ */
11748
+ /**
11749
+ * The `Status` type defines a logical error model that is suitable for
11750
+ *
11751
+ * @remarks
11752
+ * different programming environments, including REST APIs and RPC APIs. It is
11753
+ * used by [gRPC](https://github.com/grpc). Each `Status` message contains
11754
+ * three pieces of data: error code, error message, and error details.
11755
+ *
11756
+ * You can find out more about this error model and how to work with it in the
11757
+ * [API Design Guide](https://cloud.google.com/apis/design/errors).
11758
+ */
11759
+ declare type Status = {
11760
+ /**
11761
+ * The status code, which should be an enum value of google.rpc.Code.
11762
+ */
11763
+ code?: number | undefined;
11764
+ /**
11765
+ * A developer-facing error message, which should be in English. Any
11766
+ *
11767
+ * @remarks
11768
+ * user-facing error message should be localized and sent in the
11769
+ * google.rpc.Status.details field, or localized by the client.
11770
+ */
11771
+ message?: string | undefined;
11772
+ /**
11773
+ * A list of messages that carry the error details. There is a common set of
11774
+ *
11775
+ * @remarks
11776
+ * message types for APIs to use.
11777
+ */
11778
+ details?: Array<{
11779
+ [k: string]: any;
11780
+ }> | undefined;
11781
+ };
11782
+
11630
11783
  declare type Step$ = Step;
11631
11784
 
11632
11785
  /**
@@ -11653,12 +11806,8 @@ declare type StepDelta = {
11653
11806
  metadata?: StepDeltaMetadata | undefined;
11654
11807
  };
11655
11808
 
11656
- declare type StepDeltaData$ = StepDeltaData;
11657
-
11658
11809
  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
11810
 
11660
- declare type StepDeltaMetadata$ = StepDeltaMetadata;
11661
-
11662
11811
  /**
11663
11812
  * Optional metadata accompanying ANY streamed event.
11664
11813
  */
@@ -11693,6 +11842,14 @@ declare type StepStop$ = StepStop;
11693
11842
  declare type StepStop = {
11694
11843
  event_type: "step.stop";
11695
11844
  index: number;
11845
+ /**
11846
+ * Statistics on the interaction request's token usage.
11847
+ */
11848
+ usage?: Usage | undefined;
11849
+ /**
11850
+ * Statistics on the interaction request's token usage.
11851
+ */
11852
+ step_usage?: Usage | undefined;
11696
11853
  /**
11697
11854
  * The event_id token to be used to resume the interaction stream, from
11698
11855
  *
@@ -11707,7 +11864,8 @@ export declare class Stream<T> extends ReadableStream<T> {
11707
11864
  constructor(responseBody: ReadableStream<Uint8Array>, parse: (x: SseMessage<string>) => IteratorResult<T, undefined>, opts?: {
11708
11865
  dataRequired?: boolean;
11709
11866
  });
11710
- [Symbol.asyncIterator](): any;
11867
+ [Symbol.asyncIterator](options?: unknown): StreamAsyncIterator<T>;
11868
+ values(options?: unknown): StreamAsyncIterator<T>;
11711
11869
  }
11712
11870
 
11713
11871
  /** A transport that can stream HTTP requests and responses. Next ID: 6. This data type is not supported in Vertex AI. */
@@ -11724,7 +11882,23 @@ export declare interface StreamableHttpTransport {
11724
11882
  url?: string;
11725
11883
  }
11726
11884
 
11727
- declare type StreamMetadata$ = StreamMetadata;
11885
+ /**
11886
+ * @license
11887
+ * Copyright 2026 Google LLC
11888
+ * SPDX-License-Identifier: Apache-2.0
11889
+ *
11890
+ * g3-prettier-ignore-file
11891
+ */
11892
+ declare type StreamAsyncIterator<T> = {
11893
+ next(): Promise<IteratorResult<T, undefined>>;
11894
+ throw?(e?: unknown): Promise<IteratorResult<T, undefined>>;
11895
+ return?(): Promise<IteratorResult<T, undefined>>;
11896
+ [Symbol.asyncIterator](): StreamAsyncIterator<T>;
11897
+ } & {
11898
+ [K in typeof Symbol extends {
11899
+ readonly asyncDispose: infer SymbolType extends symbol;
11900
+ } ? SymbolType : never]: () => PromiseLike<void>;
11901
+ };
11728
11902
 
11729
11903
  declare type StreamMetadata = {
11730
11904
  /**
@@ -11888,6 +12062,22 @@ export declare interface SupervisedTuningSpec {
11888
12062
  validationDatasetUri?: string;
11889
12063
  }
11890
12064
 
12065
+ /**
12066
+ * @license
12067
+ * Copyright 2026 Google LLC
12068
+ * SPDX-License-Identifier: Apache-2.0
12069
+ *
12070
+ * g3-prettier-ignore-file
12071
+ */
12072
+ /**
12073
+ * Optional task mode for video generation. If not specified, the model
12074
+ *
12075
+ * @remarks
12076
+ * automatically determines the appropriate mode based on the provided text
12077
+ * prompt and input media.
12078
+ */
12079
+ declare type Task = "text_to_video" | "image_to_video" | "reference_to_video" | "edit" | (string & {});
12080
+
11891
12081
  export declare interface TestTableFile {
11892
12082
  comment?: string;
11893
12083
  testMethod?: string;
@@ -11914,6 +12104,8 @@ export declare interface TestTableItem {
11914
12104
  ignoreKeys?: string[];
11915
12105
  }
11916
12106
 
12107
+ declare type Text$ = TextDelta;
12108
+
11917
12109
  declare type TextAnnotationDelta$ = TextAnnotationDelta;
11918
12110
 
11919
12111
  declare type TextAnnotationDelta = {
@@ -11941,8 +12133,6 @@ declare type TextContent = {
11941
12133
  annotations?: Array<Annotation> | undefined;
11942
12134
  };
11943
12135
 
11944
- declare type TextDelta$ = TextDelta;
11945
-
11946
12136
  /**
11947
12137
  * @license
11948
12138
  * Copyright 2026 Google LLC
@@ -12036,8 +12226,6 @@ export declare enum ThinkingLevel {
12036
12226
  */
12037
12227
  declare type ThinkingLevel_2 = "minimal" | "low" | "medium" | "high" | (string & {});
12038
12228
 
12039
- declare type ThinkingSummaries$ = ThinkingSummaries;
12040
-
12041
12229
  /**
12042
12230
  * @license
12043
12231
  * Copyright 2026 Google LLC
@@ -12047,7 +12235,7 @@ declare type ThinkingSummaries$ = ThinkingSummaries;
12047
12235
  */
12048
12236
  declare type ThinkingSummaries = "auto" | "none" | (string & {});
12049
12237
 
12050
- declare type ThoughtSignatureDelta$ = ThoughtSignatureDelta;
12238
+ declare type ThoughtSignature$ = ThoughtSignatureDelta;
12051
12239
 
12052
12240
  /**
12053
12241
  * @license
@@ -12081,12 +12269,10 @@ declare type ThoughtStep = {
12081
12269
  summary?: Array<ThoughtSummaryContent> | undefined;
12082
12270
  };
12083
12271
 
12084
- declare type ThoughtSummaryContent$ = ThoughtSummaryContent;
12272
+ declare type ThoughtSummary$ = ThoughtSummaryDelta;
12085
12273
 
12086
12274
  declare type ThoughtSummaryContent = TextContent | ImageContent;
12087
12275
 
12088
- declare type ThoughtSummaryDelta$ = ThoughtSummaryDelta;
12089
-
12090
12276
  declare type ThoughtSummaryDelta = {
12091
12277
  type: "thought_summary";
12092
12278
  /**
@@ -12201,9 +12387,7 @@ declare type Tool$ = Tool_2;
12201
12387
  export declare interface Tool {
12202
12388
  /** 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. */
12203
12389
  retrieval?: Retrieval;
12204
- /** Optional. Tool to support the model interacting directly with the
12205
- computer. If enabled, it automatically populates computer-use specific
12206
- Function Declarations. */
12390
+ /** Optional. Tool to support the model interacting directly with the computer. If enabled, it automatically populates computer-use specific Function Declarations. */
12207
12391
  computerUse?: ComputerUse;
12208
12392
  /** Optional. FileSearch tool type. Tool to retrieve knowledge from Semantic Retrieval corpora. This field is not supported in Vertex AI. */
12209
12393
  fileSearch?: FileSearch;
@@ -12345,6 +12529,8 @@ export declare enum ToolType {
12345
12529
 
12346
12530
  export declare type ToolUnion = Tool | CallableTool;
12347
12531
 
12532
+ declare type ToolUseTokensByModality$ = ModalityTokens;
12533
+
12348
12534
  /** Output only. The traffic type for this request. This enum is not supported in Gemini API. */
12349
12535
  export declare enum TrafficType {
12350
12536
  /**
@@ -12369,7 +12555,7 @@ export declare enum TrafficType {
12369
12555
  PROVISIONED_THROUGHPUT = "PROVISIONED_THROUGHPUT"
12370
12556
  }
12371
12557
 
12372
- /** Audio transcription in Server Conent. */
12558
+ /** Audio transcription in Server Content. */
12373
12559
  export declare interface Transcription {
12374
12560
  /** Optional. Transcription text. */
12375
12561
  text?: string;
@@ -12718,8 +12904,6 @@ export declare interface TuningValidationDataset {
12718
12904
  vertexDatasetResource?: string;
12719
12905
  }
12720
12906
 
12721
- declare type Turn$ = Turn;
12722
-
12723
12907
  /**
12724
12908
  * @deprecated class: This will be removed in a future release, please migrate away from it as soon as possible.
12725
12909
  */
@@ -12925,10 +13109,11 @@ declare namespace types {
12925
13109
  Language,
12926
13110
  FunctionResponseScheduling,
12927
13111
  Type,
12928
- Environment,
12929
13112
  AuthType,
12930
13113
  HttpElementLocation,
12931
13114
  ApiSpec,
13115
+ Environment,
13116
+ SafetyPolicy,
12932
13117
  PhishBlockThreshold,
12933
13118
  Behavior,
12934
13119
  DynamicRetrievalConfigMode,
@@ -13012,7 +13197,6 @@ declare namespace types {
13012
13197
  HttpOptions,
13013
13198
  Schema,
13014
13199
  ModelSelectionConfig,
13015
- ComputerUse,
13016
13200
  ApiKeyConfig,
13017
13201
  AuthConfigGoogleServiceAccountConfig,
13018
13202
  AuthConfigHttpBasicAuthConfig,
@@ -13036,6 +13220,7 @@ declare namespace types {
13036
13220
  RagRetrievalConfig,
13037
13221
  VertexRagStore,
13038
13222
  Retrieval,
13223
+ ComputerUse,
13039
13224
  FileSearch,
13040
13225
  WebSearch,
13041
13226
  ImageSearch,
@@ -13381,6 +13566,8 @@ declare namespace types {
13381
13566
  SessionResumptionConfig,
13382
13567
  SlidingWindow,
13383
13568
  ContextWindowCompressionConfig,
13569
+ LanguageAuto,
13570
+ LanguageHints,
13384
13571
  AudioTranscriptionConfig,
13385
13572
  ProactivityConfig,
13386
13573
  CustomizedAvatar,
@@ -13493,27 +13680,6 @@ export declare interface UpdateModelParameters {
13493
13680
  config?: UpdateModelConfig;
13494
13681
  }
13495
13682
 
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
13683
  declare interface Uploader {
13518
13684
  /**
13519
13685
  * Uploads a file to the given upload url.
@@ -13768,6 +13934,8 @@ declare type URLContext = {
13768
13934
  export declare interface UrlContext {
13769
13935
  }
13770
13936
 
13937
+ declare type URLContextCall$ = URLContextCallDelta;
13938
+
13771
13939
  declare type URLContextCallArguments$ = URLContextCallArguments;
13772
13940
 
13773
13941
  /**
@@ -13787,8 +13955,6 @@ declare type URLContextCallArguments = {
13787
13955
  urls?: Array<string> | undefined;
13788
13956
  };
13789
13957
 
13790
- declare type URLContextCallDelta$ = URLContextCallDelta;
13791
-
13792
13958
  declare type URLContextCallDelta = {
13793
13959
  type: "url_context_call";
13794
13960
  /**
@@ -13819,7 +13985,7 @@ declare type URLContextCallStep = {
13819
13985
  /**
13820
13986
  * The arguments to pass to the URL context.
13821
13987
  */
13822
- arguments?: Arguments | undefined;
13988
+ arguments: Arguments;
13823
13989
  };
13824
13990
 
13825
13991
  /** Metadata returned when the model uses the `url_context` tool to get information from a user-provided URL. */
@@ -13830,6 +13996,8 @@ export declare interface UrlContextMetadata {
13830
13996
 
13831
13997
  declare type URLContextResult$ = URLContextResult;
13832
13998
 
13999
+ declare type URLContextResult$2 = URLContextResultDelta;
14000
+
13833
14001
  /**
13834
14002
  * The result of the URL context.
13835
14003
  */
@@ -13844,8 +14012,6 @@ declare type URLContextResult = {
13844
14012
  status?: URLContextResultStatus | undefined;
13845
14013
  };
13846
14014
 
13847
- declare type URLContextResultDelta$ = URLContextResultDelta;
13848
-
13849
14015
  declare type URLContextResultDelta = {
13850
14016
  type: "url_context_result";
13851
14017
  result: Array<URLContextResult>;
@@ -13876,9 +14042,9 @@ declare type URLContextResultStep$ = URLContextResultStep;
13876
14042
  declare type URLContextResultStep = {
13877
14043
  type: "url_context_result";
13878
14044
  /**
13879
- * The results of the URL context.
14045
+ * Required. The results of the URL context.
13880
14046
  */
13881
- result?: Array<URLContextResult> | undefined;
14047
+ result: Array<URLContextResult>;
13882
14048
  /**
13883
14049
  * Whether the URL context resulted in an error.
13884
14050
  */
@@ -14198,6 +14364,8 @@ export declare interface VertexRagStoreRagResource {
14198
14364
  ragFileIds?: string[];
14199
14365
  }
14200
14366
 
14367
+ declare type Video$ = VideoDelta;
14368
+
14201
14369
  /** A generated video. */
14202
14370
  export declare interface Video {
14203
14371
  /** Path to another storage. */
@@ -14223,6 +14391,22 @@ export declare enum VideoCompressionQuality {
14223
14391
  LOSSLESS = "LOSSLESS"
14224
14392
  }
14225
14393
 
14394
+ declare type VideoConfig$ = VideoConfig;
14395
+
14396
+ /**
14397
+ * Configuration options for video generation.
14398
+ */
14399
+ declare type VideoConfig = {
14400
+ /**
14401
+ * Optional task mode for video generation. If not specified, the model
14402
+ *
14403
+ * @remarks
14404
+ * automatically determines the appropriate mode based on the provided text
14405
+ * prompt and input media.
14406
+ */
14407
+ task?: Task | undefined;
14408
+ };
14409
+
14226
14410
  declare type VideoContent$ = VideoContent;
14227
14411
 
14228
14412
  /**
@@ -14250,10 +14434,6 @@ declare type VideoContent = {
14250
14434
  */
14251
14435
  declare type VideoContentMimeType = "video/mp4" | "video/mpeg" | "video/mpg" | "video/mov" | "video/avi" | "video/x-flv" | "video/webm" | "video/wmv" | "video/3gpp" | (string & {});
14252
14436
 
14253
- declare type VideoContentParam$ = VideoContent;
14254
-
14255
- declare type VideoDelta$ = VideoDelta;
14256
-
14257
14437
  declare type VideoDelta = {
14258
14438
  type: "video";
14259
14439
  data?: string | undefined;
@@ -14351,6 +14531,51 @@ export declare enum VideoOrientation {
14351
14531
  PORTRAIT = "PORTRAIT"
14352
14532
  }
14353
14533
 
14534
+ declare type VideoResponseFormat$ = VideoResponseFormat;
14535
+
14536
+ /**
14537
+ * Configuration for video output format.
14538
+ */
14539
+ declare type VideoResponseFormat = {
14540
+ type: "video";
14541
+ /**
14542
+ * The delivery mode for the video output.
14543
+ */
14544
+ delivery?: VideoResponseFormatDelivery | undefined;
14545
+ /**
14546
+ * The GCS URI to store the video output. Required for Vertex if delivery mode
14547
+ *
14548
+ * @remarks
14549
+ * is URI.
14550
+ */
14551
+ gcs_uri?: string | undefined;
14552
+ /**
14553
+ * The aspect ratio for the video output.
14554
+ */
14555
+ aspect_ratio?: VideoResponseFormatAspectRatio | undefined;
14556
+ /**
14557
+ * The duration for the video output.
14558
+ */
14559
+ duration?: string | undefined;
14560
+ };
14561
+
14562
+ /**
14563
+ * The aspect ratio for the video output.
14564
+ */
14565
+ declare type VideoResponseFormatAspectRatio = "16:9" | "9:16" | (string & {});
14566
+
14567
+ /**
14568
+ * @license
14569
+ * Copyright 2026 Google LLC
14570
+ * SPDX-License-Identifier: Apache-2.0
14571
+ *
14572
+ * g3-prettier-ignore-file
14573
+ */
14574
+ /**
14575
+ * The delivery mode for the video output.
14576
+ */
14577
+ declare type VideoResponseFormatDelivery = "inline" | "uri" | (string & {});
14578
+
14354
14579
  /**
14355
14580
  * Whether to include visualizations in the response.
14356
14581
  */
@@ -14360,6 +14585,8 @@ declare type Visualization = "off" | "auto" | (string & {});
14360
14585
  export declare interface VoiceActivity {
14361
14586
  /** The type of the voice activity signal. */
14362
14587
  voiceActivityType?: VoiceActivityType;
14588
+ /** The time voice activity detected in audio time, relative to the start of the audio stream. */
14589
+ audioOffset?: string;
14363
14590
  }
14364
14591
 
14365
14592
  export declare interface VoiceActivityDetectionSignal {
@@ -14395,8 +14622,6 @@ export declare interface VoiceConfig {
14395
14622
 
14396
14623
  declare type Webhook$ = Webhook;
14397
14624
 
14398
- declare type Webhook$2 = Webhook;
14399
-
14400
14625
  /**
14401
14626
  * A Webhook resource.
14402
14627
  */
@@ -14494,16 +14719,12 @@ declare type WebhookConfig_2 = {
14494
14719
  } | undefined;
14495
14720
  };
14496
14721
 
14497
- declare type WebhookCreateParams$ = WebhookInput;
14498
-
14499
- declare type WebhookCreateParams$2 = CreateWebhookParams;
14722
+ declare type WebhookCreateParams$ = CreateWebhookParams;
14500
14723
 
14501
14724
  declare type WebhookDeleteParams$ = DeleteWebhookParams;
14502
14725
 
14503
14726
  declare type WebhookDeleteResponse$ = Empty;
14504
14727
 
14505
- declare type WebhookDeleteResponse$2 = Empty;
14506
-
14507
14728
  declare type WebhookGetParams$ = GetWebhookParams;
14508
14729
 
14509
14730
  declare type WebhookInput$ = WebhookInput;
@@ -14538,8 +14759,6 @@ declare type WebhookInput = {
14538
14759
 
14539
14760
  declare type WebhookListParams$ = ListWebhooksParams;
14540
14761
 
14541
- declare type WebhookListParams$2 = ListWebhooksParams;
14542
-
14543
14762
  declare type WebhookListParams = {
14544
14763
  api_version?: string;
14545
14764
  page_size?: number;
@@ -14548,8 +14767,6 @@ declare type WebhookListParams = {
14548
14767
 
14549
14768
  declare type WebhookListResponse$ = WebhookListResponse;
14550
14769
 
14551
- declare type WebhookListResponse$2 = WebhookListResponse;
14552
-
14553
14770
  /**
14554
14771
  * Response message for WebhookService.ListWebhooks.
14555
14772
  */
@@ -14569,8 +14786,6 @@ declare type WebhookListResponse = {
14569
14786
 
14570
14787
  declare type WebhookPingParams$ = PingWebhookRequest;
14571
14788
 
14572
- declare type WebhookPingParams$2 = PingWebhookRequest_2;
14573
-
14574
14789
  declare type WebhookPingParams = {
14575
14790
  api_version?: string;
14576
14791
  body?: webhooks.PingWebhookRequest;
@@ -14578,8 +14793,6 @@ declare type WebhookPingParams = {
14578
14793
 
14579
14794
  declare type WebhookPingResponse$ = WebhookPingResponse;
14580
14795
 
14581
- declare type WebhookPingResponse$2 = WebhookPingResponse;
14582
-
14583
14796
  /**
14584
14797
  * @license
14585
14798
  * Copyright 2026 Google LLC
@@ -14594,16 +14807,12 @@ declare type WebhookPingResponse = {};
14594
14807
 
14595
14808
  declare type WebhookRotateSigningSecretParams$ = RotateSigningSecretRequest;
14596
14809
 
14597
- declare type WebhookRotateSigningSecretParams$2 = RotateSigningSecretRequest_2;
14598
-
14599
14810
  declare type WebhookRotateSigningSecretParams = webhooks.RotateSigningSecretRequest & {
14600
14811
  api_version?: string;
14601
14812
  };
14602
14813
 
14603
14814
  declare type WebhookRotateSigningSecretResponse$ = WebhookRotateSigningSecretResponse;
14604
14815
 
14605
- declare type WebhookRotateSigningSecretResponse$2 = WebhookRotateSigningSecretResponse;
14606
-
14607
14816
  /**
14608
14817
  * @license
14609
14818
  * Copyright 2026 Google LLC
@@ -14624,21 +14833,21 @@ declare type WebhookRotateSigningSecretResponse = {
14624
14833
  export declare namespace Webhooks {
14625
14834
  export type PingWebhookRequest = PingWebhookRequest$;
14626
14835
  export type RotateSigningSecretRequest = RotateSigningSecretRequest$;
14627
- export type SigningSecret = SigningSecret$2;
14628
- export type Webhook = Webhook$2;
14629
- export type WebhookCreateParams = WebhookCreateParams$2;
14836
+ export type SigningSecret = SigningSecret$;
14837
+ export type Webhook = Webhook$;
14838
+ export type WebhookCreateParams = WebhookCreateParams$;
14630
14839
  export type WebhookDeleteParams = WebhookDeleteParams$;
14631
- export type WebhookDeleteResponse = WebhookDeleteResponse$2;
14840
+ export type WebhookDeleteResponse = WebhookDeleteResponse$;
14632
14841
  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
14842
  export type WebhookInput = WebhookInput$;
14843
+ export type WebhookListParams = WebhookListParams$;
14844
+ export type WebhookListResponse = WebhookListResponse$;
14845
+ export type WebhookPingParams = WebhookPingParams$;
14846
+ export type WebhookPingResponse = WebhookPingResponse$;
14847
+ export type WebhookRotateSigningSecretParams = WebhookRotateSigningSecretParams$;
14848
+ export type WebhookRotateSigningSecretResponse = WebhookRotateSigningSecretResponse$;
14849
+ export type WebhookUpdate = WebhookUpdate$;
14850
+ export type WebhookUpdateParams = WebhookUpdateParams$;
14642
14851
  }
14643
14852
 
14644
14853
  declare namespace webhooks {
@@ -14700,8 +14909,6 @@ declare type WebhookUpdate = {
14700
14909
 
14701
14910
  declare type WebhookUpdateParams$ = WebhookUpdate;
14702
14911
 
14703
- declare type WebhookUpdateParams$2 = UpdateWebhookParams;
14704
-
14705
14912
  declare type WebhookUpdateParams = {
14706
14913
  api_version?: string;
14707
14914
  update_mask?: string;