@google/genai 2.11.0 → 2.13.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.
@@ -80,6 +80,10 @@ declare type Agent$ = Agent;
80
80
  * }
81
81
  */
82
82
  declare type Agent = {
83
+ /**
84
+ * Configuration parameters for the agent.
85
+ */
86
+ agent_config?: interactions.AntigravityAgentConfig | undefined;
83
87
  /**
84
88
  * The base agent to extend.
85
89
  */
@@ -106,6 +110,11 @@ declare type Agent = {
106
110
  tools?: Array<AgentTool> | undefined;
107
111
  };
108
112
 
113
+ /**
114
+ * Configuration parameters for the agent.
115
+ */
116
+ declare type AgentConfig = interactions.AntigravityAgentConfig;
117
+
109
118
  declare type AgentCreateParams$ = CreateAgentParams;
110
119
 
111
120
  declare type AgentDeleteParams$ = DeleteAgentParams;
@@ -150,6 +159,7 @@ declare namespace agents {
150
159
  export {
151
160
  AgentListResponse,
152
161
  AgentTool,
162
+ AgentConfig,
153
163
  BaseEnvironment,
154
164
  Agent
155
165
  }
@@ -284,7 +294,35 @@ declare type Annotation$ = Annotation;
284
294
  /**
285
295
  * Citation information for model-generated content.
286
296
  */
287
- declare type Annotation = URLCitation | FileCitation | PlaceCitation;
297
+ declare type Annotation = URLCitation | FileCitation | PlaceCitation | WordInfo;
298
+
299
+ declare type AntigravityAgentConfig$ = AntigravityAgentConfig;
300
+
301
+ /**
302
+ * @license
303
+ * Copyright 2026 Google LLC
304
+ * SPDX-License-Identifier: Apache-2.0
305
+ *
306
+ * g3-prettier-ignore-file
307
+ */
308
+ /**
309
+ * Configuration for the Antigravity agent runtime.
310
+ *
311
+ * @remarks
312
+ * Provides server-side control over the agent's execution environment
313
+ * and tool configuration.
314
+ */
315
+ declare type AntigravityAgentConfig = {
316
+ /**
317
+ * Max total tokens for the agent run.
318
+ */
319
+ max_total_tokens?: string | undefined;
320
+ /**
321
+ * The model to use for agent reasoning.
322
+ */
323
+ model?: string | undefined;
324
+ type: "antigravity";
325
+ };
288
326
 
289
327
  /** The generic reusable api auth config. Deprecated. Please use AuthConfig (google/cloud/aiplatform/master/auth.proto) instead. This data type is not supported in Gemini API. */
290
328
  export declare interface ApiAuth {
@@ -720,7 +758,9 @@ export declare interface AudioTranscriptionConfig {
720
758
  languageAuto?: LanguageAuto;
721
759
  /** Specifies one or more languages in the audio. Do not use together with LanguageAuto. */
722
760
  languageHints?: LanguageHints;
723
- /** A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
761
+ /** A list of custom vocabulary phrases, which biases the ASR model to improve recognition of these specific terms. */
762
+ customVocabulary?: string[];
763
+ /** Deprecated. A list of phrases used for speech adaptation, which biases the ASR model to improve recognition of these specific terms. */
724
764
  adaptationPhrases?: string[];
725
765
  }
726
766
 
@@ -1776,6 +1816,47 @@ declare type CodeExecutionResultStep = {
1776
1816
  type: "code_execution_result";
1777
1817
  };
1778
1818
 
1819
+ declare type CodeMenderAgentConfig$ = CodeMenderAgentConfig;
1820
+
1821
+ /**
1822
+ * Configuration for the CodeMender agent.
1823
+ */
1824
+ declare type CodeMenderAgentConfig = {
1825
+ /**
1826
+ * Request parameters specific to FIND sessions, used for discovering
1827
+ *
1828
+ * @remarks
1829
+ * vulnerabilities in a codebase.
1830
+ */
1831
+ find_request?: FindRequest | undefined;
1832
+ /**
1833
+ * Request parameters specific to FIX sessions, used for generating and
1834
+ *
1835
+ * @remarks
1836
+ * validating security patches.
1837
+ */
1838
+ fix_request?: FixRequest | undefined;
1839
+ /**
1840
+ * The name of the model to use for the CodeMender agent. One
1841
+ *
1842
+ * @remarks
1843
+ * CodeMender session will only use one model.
1844
+ */
1845
+ model?: string | undefined;
1846
+ /**
1847
+ * The configuration of CodeMender sessions.
1848
+ */
1849
+ session_config?: SessionConfig | undefined;
1850
+ /**
1851
+ * Parameter for grouping multiple interactions that belong to
1852
+ *
1853
+ * @remarks
1854
+ * the same CodeMender session.
1855
+ */
1856
+ session_id?: string | undefined;
1857
+ type: "code-mender";
1858
+ };
1859
+
1779
1860
  /** Success and error statistics of processing multiple entities (for example, DataItems or structured data rows) in batch. This data type is not supported in Gemini API. */
1780
1861
  export declare interface CompletionStats {
1781
1862
  /** Output only. The number of entities for which any error was encountered. */
@@ -1917,6 +1998,9 @@ export declare interface ContentEmbeddingStatistics {
1917
1998
  /** Gemini Enterprise Agent Platform only. Number of tokens of the input text.
1918
1999
  */
1919
2000
  tokenCount?: number;
2001
+ /** Gemini Enterprise Agent Platform only. List of modalities and their token count for the input content.
2002
+ */
2003
+ tokensDetails?: ModalityTokenCount[];
1920
2004
  }
1921
2005
 
1922
2006
  export declare type ContentListUnion = Content | Content[] | PartUnion | PartUnion[];
@@ -2096,7 +2180,7 @@ declare type CreateAgentInteraction = {
2096
2180
  /**
2097
2181
  * Configuration parameters for the agent interaction.
2098
2182
  */
2099
- agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | undefined;
2183
+ agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig | undefined;
2100
2184
  /**
2101
2185
  * Safety settings for the interaction.
2102
2186
  */
@@ -2116,7 +2200,7 @@ declare type CreateAgentInteraction = {
2116
2200
  /**
2117
2201
  * Configuration parameters for the agent interaction.
2118
2202
  */
2119
- declare type CreateAgentInteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
2203
+ declare type CreateAgentInteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig;
2120
2204
 
2121
2205
  /**
2122
2206
  * The environment configuration for the interaction. Can be an object specifying remote environment sources or a string referencing an existing environment ID.
@@ -2493,16 +2577,6 @@ declare type CreateModelInteraction = {
2493
2577
  * Configuration parameters for model interactions.
2494
2578
  */
2495
2579
  generation_config?: GenerationConfig_2 | undefined;
2496
- /**
2497
- * The name of the cached content used as context to serve the prediction.
2498
- *
2499
- * @remarks
2500
- * Note: only used in explicit caching, where users can have control over
2501
- * caching (e.g. what content to cache) and enjoy guaranteed cost savings.
2502
- * Format:
2503
- * `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
2504
- */
2505
- cached_content?: string | undefined;
2506
2580
  /**
2507
2581
  * Safety settings for the interaction.
2508
2582
  */
@@ -2578,6 +2652,16 @@ export declare function createPartFromText(text: string): Part;
2578
2652
  */
2579
2653
  export declare function createPartFromUri(uri: string, mimeType: string, mediaResolution?: PartMediaResolutionLevel): Part;
2580
2654
 
2655
+ declare type CreateTriggerParams = Omit<CreateTriggerRequest, "body"> & CreateTriggerRequest["body"];
2656
+
2657
+ declare type CreateTriggerRequest = {
2658
+ /**
2659
+ * Which version of the API to use.
2660
+ */
2661
+ api_version?: string | undefined;
2662
+ body: triggers.TriggerCreateParams;
2663
+ };
2664
+
2581
2665
  /** Fine-tuning job creation request - optional fields. */
2582
2666
  export declare interface CreateTuningJobConfig {
2583
2667
  /** Used to override HTTP request options. */
@@ -2997,6 +3081,19 @@ export declare interface DeleteResourceJob {
2997
3081
  error?: JobError;
2998
3082
  }
2999
3083
 
3084
+ declare type DeleteTriggerParams = Omit<DeleteTriggerRequest, "id">;
3085
+
3086
+ declare type DeleteTriggerRequest = {
3087
+ /**
3088
+ * Which version of the API to use.
3089
+ */
3090
+ api_version?: string | undefined;
3091
+ /**
3092
+ * Resource name of the trigger.
3093
+ */
3094
+ id: string;
3095
+ };
3096
+
3000
3097
  declare type DeleteWebhookParams = Omit<DeleteWebhookRequest, "id">;
3001
3098
 
3002
3099
  declare type DeleteWebhookRequest = {
@@ -3914,6 +4011,27 @@ declare type FileCitation = {
3914
4011
  type: "file_citation";
3915
4012
  };
3916
4013
 
4014
+ /**
4015
+ * @license
4016
+ * Copyright 2026 Google LLC
4017
+ * SPDX-License-Identifier: Apache-2.0
4018
+ *
4019
+ * g3-prettier-ignore-file
4020
+ */
4021
+ /**
4022
+ * Content of a single file in the codebase.
4023
+ */
4024
+ declare type FileContent = {
4025
+ /**
4026
+ * The UTF-8 encoded text content of the file.
4027
+ */
4028
+ content?: string | undefined;
4029
+ /**
4030
+ * The relative path of the file from the project root.
4031
+ */
4032
+ path?: string | undefined;
4033
+ };
4034
+
3917
4035
  /** URI-based data. A FileData message contains a URI pointing to data of a specific media type. It is used to represent images, audio, and video stored in Google Cloud Storage. */
3918
4036
  export declare interface FileData {
3919
4037
  /** Optional. The display name of the file. Used to provide a label or filename to distinguish files. This field is only returned in `PromptMessage` for prompt management. It is used in the Gemini calls only when server side tools (`code_execution`, `google_search`, and `url_context`) are enabled. This field is not supported in Gemini API. */
@@ -4364,6 +4482,40 @@ declare type Filter = {
4364
4482
  vector_similarity_threshold?: number | undefined;
4365
4483
  };
4366
4484
 
4485
+ declare type FindRequest$ = FindRequest;
4486
+
4487
+ /**
4488
+ * Request parameters specific to FIND sessions, used for discovering
4489
+ *
4490
+ * @remarks
4491
+ * vulnerabilities in a codebase.
4492
+ */
4493
+ declare type FindRequest = {
4494
+ /**
4495
+ * Additional context or custom instructions provided by the user to guide
4496
+ *
4497
+ * @remarks
4498
+ * the vulnerability analysis.
4499
+ */
4500
+ description?: string | undefined;
4501
+ /**
4502
+ * The identifier of a specific finding to verify. This is primarily used in
4503
+ *
4504
+ * @remarks
4505
+ * VERIFY mode to focus the agent's execution-based validation on a single
4506
+ * vulnerability.
4507
+ */
4508
+ finding_id?: string | undefined;
4509
+ /**
4510
+ * The mode of the find session.
4511
+ */
4512
+ mode?: Mode | undefined;
4513
+ /**
4514
+ * A list of source files to provide as context for the scan.
4515
+ */
4516
+ source_files?: Array<FileContent> | undefined;
4517
+ };
4518
+
4367
4519
  /** Output only. The reason why the model stopped generating tokens.
4368
4520
 
4369
4521
  If empty, the model has not stopped generating the tokens. */
@@ -4438,6 +4590,38 @@ export declare enum FinishReason {
4438
4590
  IMAGE_OTHER = "IMAGE_OTHER"
4439
4591
  }
4440
4592
 
4593
+ declare type FixRequest$ = FixRequest;
4594
+
4595
+ /**
4596
+ * Request parameters specific to FIX sessions, used for generating and
4597
+ *
4598
+ * @remarks
4599
+ * validating security patches.
4600
+ */
4601
+ declare type FixRequest = {
4602
+ /**
4603
+ * Additional context or custom instructions provided by the user to guide
4604
+ *
4605
+ * @remarks
4606
+ * the patch generation process.
4607
+ */
4608
+ description?: string | undefined;
4609
+ /**
4610
+ * The identifier of the specific security finding to be remediated. This ID
4611
+ *
4612
+ * @remarks
4613
+ * maps to a previously discovered vulnerability.
4614
+ */
4615
+ finding_id?: string | undefined;
4616
+ /**
4617
+ * A list of source files providing context for the remediation. These files
4618
+ *
4619
+ * @remarks
4620
+ * are typically the ones containing the identified vulnerability.
4621
+ */
4622
+ source_files?: Array<FileContent> | undefined;
4623
+ };
4624
+
4441
4625
  /** Tuning Spec for Full Fine Tuning. This data type is not supported in Gemini API. */
4442
4626
  export declare interface FullFineTuningSpec {
4443
4627
  /** Optional. Hyperparameters for Full Fine Tuning. */
@@ -4647,7 +4831,7 @@ declare type FunctionResultStep = {
4647
4831
  */
4648
4832
  name?: string | undefined;
4649
4833
  /**
4650
- * The result of the tool call.
4834
+ * Required. The result of the tool call.
4651
4835
  */
4652
4836
  result: FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
4653
4837
  type: "function_result";
@@ -4656,7 +4840,7 @@ declare type FunctionResultStep = {
4656
4840
  declare type FunctionResultStepResult = {};
4657
4841
 
4658
4842
  /**
4659
- * The result of the tool call.
4843
+ * Required. The result of the tool call.
4660
4844
  */
4661
4845
  declare type FunctionResultStepResultUnion = FunctionResultStepResult | Array<FunctionResultSubcontent> | string;
4662
4846
 
@@ -4728,6 +4912,20 @@ declare class GeminiNextGenInteractions {
4728
4912
  private getClient;
4729
4913
  }
4730
4914
 
4915
+ declare class GeminiNextGenTriggers {
4916
+ private readonly parentClient;
4917
+ private sdk;
4918
+ constructor(parentClient: GoogleGenAIParentClient);
4919
+ create(params: CreateTriggerParams, options?: GoogleGenAIRequestOptions): Promise<triggers.Trigger>;
4920
+ list(params?: ListTriggersParams_2 | null | undefined, options?: GoogleGenAIRequestOptions): Promise<triggers.ListTriggersResponse>;
4921
+ get(id: string, params?: GetTriggerParams | null | undefined, options?: GoogleGenAIRequestOptions): Promise<triggers.Trigger>;
4922
+ update(id: string, params: UpdateTriggerParams, options?: GoogleGenAIRequestOptions): Promise<triggers.Trigger>;
4923
+ delete(id: string, params?: DeleteTriggerParams | null | undefined, options?: GoogleGenAIRequestOptions): Promise<interactions.Empty>;
4924
+ run(trigger_id: string, params?: RunTriggerParams | null | undefined, options?: GoogleGenAIRequestOptions): Promise<triggers.TriggerExecution>;
4925
+ listExecutions(trigger_id: string, params?: ListTriggerExecutionsParams_2 | null | undefined, options?: GoogleGenAIRequestOptions): Promise<triggers.ListTriggerExecutionsResponse>;
4926
+ private getClient;
4927
+ }
4928
+
4731
4929
  declare class GeminiNextGenWebhooks {
4732
4930
  private readonly parentClient;
4733
4931
  private sdk;
@@ -5462,6 +5660,10 @@ declare type GenerationConfig_2 = {
5462
5660
  * The maximum cumulative probability of tokens to consider when sampling.
5463
5661
  */
5464
5662
  top_p?: number | undefined;
5663
+ /**
5664
+ * Configuration for speech recognition (transcription).
5665
+ */
5666
+ transcription_config?: TranscriptionConfig | undefined;
5465
5667
  /**
5466
5668
  * Configuration options for video generation.
5467
5669
  */
@@ -5691,6 +5893,19 @@ export declare interface GetOperationParameters {
5691
5893
  config?: GetOperationConfig;
5692
5894
  }
5693
5895
 
5896
+ declare type GetTriggerParams = Omit<GetTriggerRequest, "id">;
5897
+
5898
+ declare type GetTriggerRequest = {
5899
+ /**
5900
+ * Which version of the API to use.
5901
+ */
5902
+ api_version?: string | undefined;
5903
+ /**
5904
+ * Resource name of the trigger.
5905
+ */
5906
+ id: string;
5907
+ };
5908
+
5694
5909
  /** Optional parameters for tunings.get method. */
5695
5910
  export declare interface GetTuningJobConfig {
5696
5911
  /** Used to override HTTP request options. */
@@ -5787,10 +6002,12 @@ export declare class GoogleGenAI {
5787
6002
  private _webhooks;
5788
6003
  private _agents;
5789
6004
  private _nextGenClient;
6005
+ private _triggers;
5790
6006
  private getNextGenClient;
5791
6007
  get interactions(): GeminiNextGenInteractions;
5792
6008
  get webhooks(): GeminiNextGenWebhooks;
5793
6009
  get agents(): GeminiNextGenAgents;
6010
+ get triggers(): GeminiNextGenTriggers;
5794
6011
  constructor(options: GoogleGenAIOptions);
5795
6012
  }
5796
6013
 
@@ -5885,6 +6102,7 @@ declare interface GoogleGenAIParentClient {
5885
6102
  getBaseUrl(): string;
5886
6103
  getApiVersion(): string;
5887
6104
  getDefaultHeaders?(): Record<string, string>;
6105
+ getHeaders?(): Record<string, string> | undefined;
5888
6106
  getAuthHeaders(url?: string): Headers | Promise<Headers>;
5889
6107
  }
5890
6108
 
@@ -6616,6 +6834,16 @@ export declare enum HarmSeverity {
6616
6834
  HARM_SEVERITY_HIGH = "HARM_SEVERITY_HIGH"
6617
6835
  }
6618
6836
 
6837
+ /** Configuration for history exchange between client and server. */
6838
+ export declare interface HistoryConfig {
6839
+ /** If true, after sending `setup_complete`, the server will wait
6840
+ and at first process `client_content` messages until `turn_complete` is
6841
+ `true`. This initial history will not trigger a model call and
6842
+ may end with model content. After `turn_complete` is `true`, the client
6843
+ can start the realtime conversation via `realtime_input`. */
6844
+ initialHistoryInClientContent?: boolean;
6845
+ }
6846
+
6619
6847
  /** The location of the API key. This enum is not supported in Gemini API. */
6620
6848
  export declare enum HttpElementLocation {
6621
6849
  HTTP_IN_UNSPECIFIED = "HTTP_IN_UNSPECIFIED",
@@ -7186,20 +7414,10 @@ declare type Interaction = {
7186
7414
  * Configuration parameters for model interactions.
7187
7415
  */
7188
7416
  generation_config?: GenerationConfig_2 | undefined;
7189
- /**
7190
- * The name of the cached content used as context to serve the prediction.
7191
- *
7192
- * @remarks
7193
- * Note: only used in explicit caching, where users can have control over
7194
- * caching (e.g. what content to cache) and enjoy guaranteed cost savings.
7195
- * Format:
7196
- * `projects/{project}/locations/{location}/cachedContents/{cachedContent}`
7197
- */
7198
- cached_content?: string | undefined;
7199
7417
  /**
7200
7418
  * Configuration parameters for the agent interaction.
7201
7419
  */
7202
- agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | undefined;
7420
+ agent_config?: DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig | undefined;
7203
7421
  /**
7204
7422
  * Safety settings for the interaction.
7205
7423
  */
@@ -7236,10 +7454,15 @@ declare type Interaction = {
7236
7454
  output_video?: VideoContent | undefined;
7237
7455
  };
7238
7456
 
7457
+ /**
7458
+ * Required. The interaction request template to be executed.
7459
+ */
7460
+ declare type Interaction_2 = interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
7461
+
7239
7462
  /**
7240
7463
  * Configuration parameters for the agent interaction.
7241
7464
  */
7242
- declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig;
7465
+ declare type InteractionAgentConfig = DynamicAgentConfig | DeepResearchAgentConfig | CodeMenderAgentConfig | AntigravityAgentConfig;
7243
7466
 
7244
7467
  declare type InteractionCancelParams$ = CancelInteractionByIdParams;
7245
7468
 
@@ -7328,12 +7551,15 @@ declare type InteractionResponseFormat = Array<ResponseFormat_2> | ResponseForma
7328
7551
  export declare namespace Interactions {
7329
7552
  export type AllowedTools = AllowedTools$;
7330
7553
  export type Annotation = Annotation$;
7554
+ export type AntigravityAgentConfig = AntigravityAgentConfig$;
7331
7555
  export type AudioContent = AudioContent$;
7332
7556
  export type AudioResponseFormat = AudioResponseFormat$;
7333
7557
  export type CodeExecutionCallArguments = CodeExecutionCallArguments$;
7334
7558
  export interface CodeExecutionCallStep extends CodeExecutionCallStep$ {
7335
7559
  }
7336
7560
  export type CodeExecutionResultStep = CodeExecutionResultStep$;
7561
+ export interface CodeMenderAgentConfig extends CodeMenderAgentConfig$ {
7562
+ }
7337
7563
  export type Content = Content$;
7338
7564
  export type CreateAgentInteractionParamsNonStreaming = CreateAgentInteractionParamsNonStreaming$;
7339
7565
  export type CreateAgentInteractionParamsStreaming = CreateAgentInteractionParamsStreaming$;
@@ -7412,6 +7638,7 @@ export declare namespace Interactions {
7412
7638
  export type Tool = Tool$;
7413
7639
  export type ToolChoiceConfig = ToolChoiceConfig$;
7414
7640
  export type ToolChoiceType = ToolChoiceType$;
7641
+ export type TranscriptionConfig = TranscriptionConfig$;
7415
7642
  export type URLCitation = URLCitation$;
7416
7643
  export type URLContextCallArguments = URLContextCallArguments$;
7417
7644
  export interface URLContextCallStep extends URLContextCallStep$ {
@@ -7426,9 +7653,23 @@ export declare namespace Interactions {
7426
7653
  export type VideoContent = VideoContent$;
7427
7654
  export type VideoResponseFormat = VideoResponseFormat$;
7428
7655
  export type WebhookConfig = WebhookConfig$;
7656
+ export type WordInfo = WordInfo$;
7429
7657
  export namespace CodeExecutionCallStep {
7430
7658
  export type Arguments = Arguments$;
7431
7659
  }
7660
+ export namespace CodeMenderAgentConfig {
7661
+ export interface FindRequest extends FindRequest$ {
7662
+ }
7663
+ export interface FixRequest extends FixRequest$ {
7664
+ }
7665
+ export type SessionConfig = SessionConfig$;
7666
+ export namespace FindRequest {
7667
+ export type SourceFile = SourceFile$;
7668
+ }
7669
+ export namespace FixRequest {
7670
+ export type SourceFile = SourceFile$2;
7671
+ }
7672
+ }
7432
7673
  export namespace Environment {
7433
7674
  export type Allowlist = Allowlist$;
7434
7675
  export type Source = Source$;
@@ -7553,6 +7794,7 @@ declare namespace interactions {
7553
7794
  Transform,
7554
7795
  AllowlistEntry,
7555
7796
  Annotation,
7797
+ AntigravityAgentConfig,
7556
7798
  ArgumentsDelta,
7557
7799
  AudioContentMimeType,
7558
7800
  AudioContent,
@@ -7568,6 +7810,7 @@ declare namespace interactions {
7568
7810
  CodeExecutionResultDelta,
7569
7811
  CodeExecutionResultStep,
7570
7812
  CodeExecution,
7813
+ CodeMenderAgentConfig,
7571
7814
  DisabledSafetyPolicy,
7572
7815
  EnvironmentEnum,
7573
7816
  ComputerUse_2 as ComputerUse,
@@ -7597,6 +7840,7 @@ declare namespace interactions {
7597
7840
  ErrorT,
7598
7841
  ExaAISearchConfig,
7599
7842
  FileCitation,
7843
+ FileContent,
7600
7844
  FileSearchCallDelta,
7601
7845
  FileSearchCallStep,
7602
7846
  FileSearchResultDelta,
@@ -7604,6 +7848,9 @@ declare namespace interactions {
7604
7848
  FileSearchResult,
7605
7849
  FileSearch_2 as FileSearch,
7606
7850
  Filter,
7851
+ Mode,
7852
+ FindRequest,
7853
+ FixRequest,
7607
7854
  FunctionCallStep,
7608
7855
  FunctionResultDeltaResult,
7609
7856
  FunctionResultDeltaResultUnion,
@@ -7694,6 +7941,7 @@ declare namespace interactions {
7694
7941
  Threshold,
7695
7942
  SafetySetting_2 as SafetySetting,
7696
7943
  ServiceTier_2 as ServiceTier,
7944
+ SessionConfig,
7697
7945
  SourceType,
7698
7946
  Source,
7699
7947
  SpeechConfig_2 as SpeechConfig,
@@ -7719,6 +7967,7 @@ declare namespace interactions {
7719
7967
  ToolChoiceConfig,
7720
7968
  ToolChoiceType,
7721
7969
  Tool_2 as Tool,
7970
+ TranscriptionConfig,
7722
7971
  TurnContent,
7723
7972
  Turn,
7724
7973
  URLCitation,
@@ -7742,7 +7991,8 @@ declare namespace interactions {
7742
7991
  VideoResponseFormatAspectRatio,
7743
7992
  VideoResponseFormatDelivery,
7744
7993
  VideoResponseFormat_2 as VideoResponseFormat,
7745
- WebhookConfig_2 as WebhookConfig
7994
+ WebhookConfig_2 as WebhookConfig,
7995
+ WordInfo
7746
7996
  }
7747
7997
  }
7748
7998
 
@@ -7814,7 +8064,7 @@ declare type InteractionSSEStreamEvent = {
7814
8064
  /**
7815
8065
  * Required. Output only. The status of the interaction.
7816
8066
  */
7817
- declare type InteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | "budget_exceeded" | (string & {});
8067
+ declare type InteractionStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | "budget_exceeded" | "queued" | (string & {});
7818
8068
 
7819
8069
  declare type InteractionStatusUpdate$ = InteractionStatusUpdate;
7820
8070
 
@@ -7832,7 +8082,7 @@ declare type InteractionStatusUpdate = {
7832
8082
  status: InteractionStatusUpdateStatus;
7833
8083
  };
7834
8084
 
7835
- declare type InteractionStatusUpdateStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | "budget_exceeded" | (string & {});
8085
+ declare type InteractionStatusUpdateStatus = "in_progress" | "requires_action" | "completed" | "failed" | "cancelled" | "incomplete" | "budget_exceeded" | "queued" | (string & {});
7836
8086
 
7837
8087
  /** Parameters for the private _Register method. */
7838
8088
  export declare interface InternalRegisterFilesParameters {
@@ -8154,6 +8404,99 @@ export declare class ListModelsResponse {
8154
8404
  models?: Model[];
8155
8405
  }
8156
8406
 
8407
+ declare type ListTriggerExecutionsParams = Omit<ListTriggerExecutionsRequest, "trigger_id">;
8408
+
8409
+ declare type ListTriggerExecutionsParams_2 = {
8410
+ api_version?: string;
8411
+ pageSize?: number;
8412
+ pageToken?: string;
8413
+ };
8414
+
8415
+ declare type ListTriggerExecutionsRequest = {
8416
+ /**
8417
+ * Which version of the API to use.
8418
+ */
8419
+ api_version?: string | undefined;
8420
+ /**
8421
+ * Resource name of the trigger.
8422
+ */
8423
+ trigger_id: string;
8424
+ /**
8425
+ * Optional. The maximum number of executions to return per page.
8426
+ */
8427
+ page_size?: number | undefined;
8428
+ /**
8429
+ * Optional. A page token from a previous ListTriggerExecutions call.
8430
+ */
8431
+ page_token?: string | undefined;
8432
+ };
8433
+
8434
+ declare type ListTriggerExecutionsResponse$ = ListTriggerExecutionsResponse;
8435
+
8436
+ /**
8437
+ * Response message for TriggerService.ListTriggerExecutions.
8438
+ */
8439
+ declare type ListTriggerExecutionsResponse = {
8440
+ /**
8441
+ * A page token, received from a previous `ListTriggerExecutions` call.
8442
+ *
8443
+ * @remarks
8444
+ * Provide this to retrieve the subsequent page.
8445
+ */
8446
+ next_page_token?: string | undefined;
8447
+ /**
8448
+ * The list of trigger executions.
8449
+ */
8450
+ trigger_executions?: Array<TriggerExecution> | undefined;
8451
+ };
8452
+
8453
+ declare type ListTriggersParams = ListTriggersRequest;
8454
+
8455
+ declare type ListTriggersParams_2 = {
8456
+ api_version?: string;
8457
+ filter?: string;
8458
+ pageSize?: number;
8459
+ pageToken?: string;
8460
+ };
8461
+
8462
+ declare type ListTriggersRequest = {
8463
+ /**
8464
+ * Which version of the API to use.
8465
+ */
8466
+ api_version?: string | undefined;
8467
+ /**
8468
+ * Optional. Filter expression (e.g., by state).
8469
+ */
8470
+ filter?: string | undefined;
8471
+ /**
8472
+ * Optional. The maximum number of triggers to return per page.
8473
+ */
8474
+ page_size?: number | undefined;
8475
+ /**
8476
+ * Optional. A page token from a previous ListTriggers call.
8477
+ */
8478
+ page_token?: string | undefined;
8479
+ };
8480
+
8481
+ declare type ListTriggersResponse$ = ListTriggersResponse;
8482
+
8483
+ /**
8484
+ * Response message for TriggerService.ListTriggers.
8485
+ */
8486
+ declare type ListTriggersResponse = {
8487
+ /**
8488
+ * A page token, received from a previous `ListTriggers` call.
8489
+ *
8490
+ * @remarks
8491
+ * Provide this to retrieve the subsequent page.
8492
+ */
8493
+ next_page_token?: string | undefined;
8494
+ /**
8495
+ * The list of triggers.
8496
+ */
8497
+ triggers?: Array<Trigger> | undefined;
8498
+ };
8499
+
8157
8500
  /** Configuration for the list tuning jobs method. */
8158
8501
  export declare interface ListTuningJobsConfig {
8159
8502
  /** Used to override HTTP request options. */
@@ -8409,6 +8752,8 @@ export declare interface LiveClientSetup {
8409
8752
  response.
8410
8753
  */
8411
8754
  safetySettings?: SafetySetting[];
8755
+ /** Configures the exchange of history between the client and the server. */
8756
+ historyConfig?: HistoryConfig;
8412
8757
  }
8413
8758
 
8414
8759
  /** Client generated response to a `ToolCall` received from the server.
@@ -9209,7 +9554,7 @@ declare type MCPServerToolResultStep = {
9209
9554
  */
9210
9555
  name?: string | undefined;
9211
9556
  /**
9212
- * The output from the MCP server call. Can be simple text or rich content.
9557
+ * Required. The output from the MCP server call. Can be simple text or rich content.
9213
9558
  */
9214
9559
  result: MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
9215
9560
  /**
@@ -9222,7 +9567,7 @@ declare type MCPServerToolResultStep = {
9222
9567
  declare type MCPServerToolResultStepResult = {};
9223
9568
 
9224
9569
  /**
9225
- * The output from the MCP server call. Can be simple text or rich content.
9570
+ * Required. The output from the MCP server call. Can be simple text or rich content.
9226
9571
  */
9227
9572
  declare type MCPServerToolResultStepResultUnion = MCPServerToolResultStepResult | string | Array<FunctionResultSubcontent>;
9228
9573
 
@@ -9360,6 +9705,11 @@ declare type ModalityTokens = {
9360
9705
  tokens?: number | undefined;
9361
9706
  };
9362
9707
 
9708
+ /**
9709
+ * The mode of the find session.
9710
+ */
9711
+ declare type Mode = "scan" | "verify" | (string & {});
9712
+
9363
9713
  declare type Model$ = Model_2;
9364
9714
 
9365
9715
  /** A trained machine learning model. */
@@ -9427,7 +9777,7 @@ export declare interface Model {
9427
9777
  /**
9428
9778
  * The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.
9429
9779
  */
9430
- 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 & {});
9780
+ declare type Model_2 = "gemini-2.5-flash" | "gemini-2.5-pro" | "gemma-4-26b-a4b-it" | "gemma-4-31b-it" | "gemini-flash-latest" | "gemini-flash-lite-latest" | "gemini-pro-latest" | "gemini-2.5-flash-lite" | "gemini-2.5-flash-image" | "gemini-3-flash-preview" | "gemini-3.1-pro-preview" | "gemini-3.1-pro-preview-customtools" | "gemini-3.1-flash-lite" | "gemini-3-pro-image" | "nano-banana-pro-preview" | "gemini-3.1-flash-image" | "gemini-3.5-flash" | "lyria-3-clip-preview" | "lyria-3-pro-preview" | "gemini-robotics-er-1.6-preview" | (string & {});
9431
9781
 
9432
9782
  /** 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. */
9433
9783
  export declare interface ModelArmorConfig {
@@ -11340,6 +11690,19 @@ export declare interface RougeMetricValue {
11340
11690
  score?: number;
11341
11691
  }
11342
11692
 
11693
+ declare type RunTriggerParams = Omit<RunTriggerRequest, "trigger_id">;
11694
+
11695
+ declare type RunTriggerRequest = {
11696
+ /**
11697
+ * Which version of the API to use.
11698
+ */
11699
+ api_version?: string | undefined;
11700
+ /**
11701
+ * Resource name of the trigger.
11702
+ */
11703
+ trigger_id: string;
11704
+ };
11705
+
11343
11706
  /** Safety attributes of a GeneratedImage or the user-provided prompt. */
11344
11707
  export declare interface SafetyAttributes {
11345
11708
  /** List of RAI categories. */
@@ -11850,6 +12213,28 @@ export declare class Session {
11850
12213
  close(): void;
11851
12214
  }
11852
12215
 
12216
+ declare type SessionConfig$ = SessionConfig;
12217
+
12218
+ /**
12219
+ * @license
12220
+ * Copyright 2026 Google LLC
12221
+ * SPDX-License-Identifier: Apache-2.0
12222
+ *
12223
+ * g3-prettier-ignore-file
12224
+ */
12225
+ /**
12226
+ * The configuration of CodeMender sessions.
12227
+ */
12228
+ declare type SessionConfig = {
12229
+ /**
12230
+ * The maximum number of interaction rounds the agent is allowed to perform
12231
+ *
12232
+ * @remarks
12233
+ * before reaching a timeout.
12234
+ */
12235
+ max_rounds?: number | undefined;
12236
+ };
12237
+
11853
12238
  /** Configuration of session resumption mechanism.
11854
12239
 
11855
12240
  Included in `LiveConnectConfig.session_resumption`. If included server
@@ -11974,6 +12359,10 @@ declare type Source = {
11974
12359
  type?: SourceType | undefined;
11975
12360
  };
11976
12361
 
12362
+ declare type SourceFile$ = FileContent;
12363
+
12364
+ declare type SourceFile$2 = FileContent;
12365
+
11977
12366
  /**
11978
12367
  * @license
11979
12368
  * Copyright 2026 Google LLC
@@ -12906,6 +13295,53 @@ export declare interface Transcription {
12906
13295
  languageCode?: string;
12907
13296
  }
12908
13297
 
13298
+ declare type TranscriptionConfig$ = TranscriptionConfig;
13299
+
13300
+ /**
13301
+ * @license
13302
+ * Copyright 2026 Google LLC
13303
+ * SPDX-License-Identifier: Apache-2.0
13304
+ *
13305
+ * g3-prettier-ignore-file
13306
+ */
13307
+ /**
13308
+ * Configuration for speech recognition (transcription).
13309
+ */
13310
+ declare type TranscriptionConfig = {
13311
+ /**
13312
+ * Optional. A list of phrases to bias the ASR model towards.
13313
+ *
13314
+ * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
13315
+ */
13316
+ adaptation_phrases?: Array<string> | undefined;
13317
+ /**
13318
+ * Optional. A list of custom vocabulary phrases to bias the speech recognition model
13319
+ *
13320
+ * @remarks
13321
+ * toward recognizing specific terms.
13322
+ */
13323
+ custom_vocabulary?: Array<string> | undefined;
13324
+ /**
13325
+ * Optional. Configures speaker diarization. Supported values: "speaker".
13326
+ */
13327
+ diarization_mode?: string | undefined;
13328
+ /**
13329
+ * Required. BCP-47 language codes providing hints about the languages present in the
13330
+ *
13331
+ * @remarks
13332
+ * audio. At least one must be specified, or set to ["auto"] to enable
13333
+ * automatic language detection.
13334
+ */
13335
+ language_hints: Array<string>;
13336
+ /**
13337
+ * Optional. The granularity of timestamps to include in the transcription output.
13338
+ *
13339
+ * @remarks
13340
+ * Supported values: "word". If empty, no timestamps are generated.
13341
+ */
13342
+ timestamp_granularities?: Array<string> | undefined;
13343
+ };
13344
+
12909
13345
  /**
12910
13346
  * @license
12911
13347
  * Copyright 2026 Google LLC
@@ -12930,6 +13366,267 @@ export declare interface TranslationConfig {
12930
13366
  targetLanguageCode?: string;
12931
13367
  }
12932
13368
 
13369
+ declare type Trigger$ = Trigger;
13370
+
13371
+ /**
13372
+ * A trigger configuration that is scheduled to run an agent.
13373
+ */
13374
+ declare type Trigger = {
13375
+ /**
13376
+ * Output only. The number of consecutive failures that have occurred
13377
+ *
13378
+ * @remarks
13379
+ * since the last successful execution.
13380
+ */
13381
+ consecutive_failure_count?: number | undefined;
13382
+ /**
13383
+ * Output only. The time when the trigger was created.
13384
+ */
13385
+ create_time?: string | undefined;
13386
+ /**
13387
+ * Optional. The display name of the trigger.
13388
+ */
13389
+ display_name?: string | undefined;
13390
+ /**
13391
+ * Optional. The environment ID for the trigger execution.
13392
+ */
13393
+ environment_id?: string | undefined;
13394
+ /**
13395
+ * Optional. The execution timeout for the triggered interaction.
13396
+ */
13397
+ execution_timeout_seconds?: number | undefined;
13398
+ /**
13399
+ * Required. Output only. Identifier. The ID of the trigger.
13400
+ */
13401
+ id: string;
13402
+ /**
13403
+ * The Interaction resource.
13404
+ */
13405
+ interaction: interactions.Interaction;
13406
+ /**
13407
+ * Output only. The time when the trigger was last paused.
13408
+ */
13409
+ last_pause_time?: string | undefined;
13410
+ /**
13411
+ * Output only. The time when the trigger was last resumed.
13412
+ */
13413
+ last_resume_time?: string | undefined;
13414
+ /**
13415
+ * Output only. The time when the trigger was last run.
13416
+ */
13417
+ last_run_time?: string | undefined;
13418
+ /**
13419
+ * Optional. The maximum number of consecutive failures allowed before
13420
+ *
13421
+ * @remarks
13422
+ * the trigger is automatically paused (status becomes ERROR).
13423
+ */
13424
+ max_consecutive_failures?: number | undefined;
13425
+ /**
13426
+ * Output only. The time when the trigger is scheduled to run next.
13427
+ */
13428
+ next_run_time?: string | undefined;
13429
+ /**
13430
+ * Output only. The ID of the last interaction created by this trigger.
13431
+ */
13432
+ previous_interaction_id?: string | undefined;
13433
+ /**
13434
+ * Required. The cron schedule on which the trigger should run.
13435
+ *
13436
+ * @remarks
13437
+ * Standard cron format.
13438
+ */
13439
+ schedule: string;
13440
+ /**
13441
+ * Output only. The current status of the trigger.
13442
+ */
13443
+ status?: TriggerStatus | undefined;
13444
+ /**
13445
+ * Required. Time zone in which the schedule should be interpreted.
13446
+ */
13447
+ time_zone: string;
13448
+ /**
13449
+ * Output only. The time when the trigger was last updated.
13450
+ */
13451
+ update_time?: string | undefined;
13452
+ };
13453
+
13454
+ declare type TriggerCreateParams$ = TriggerCreateParams;
13455
+
13456
+ /**
13457
+ * Parameters for creating a trigger.
13458
+ */
13459
+ declare type TriggerCreateParams = {
13460
+ /**
13461
+ * Required. The cron schedule on which the trigger should run. Standard cron format.
13462
+ */
13463
+ schedule: string;
13464
+ /**
13465
+ * Required. Time zone in which the schedule should be interpreted.
13466
+ */
13467
+ time_zone: string;
13468
+ /**
13469
+ * Optional. The display name of the trigger.
13470
+ */
13471
+ display_name?: string | undefined;
13472
+ /**
13473
+ * Optional. The environment ID for the trigger execution.
13474
+ */
13475
+ environment_id?: string | undefined;
13476
+ /**
13477
+ * Optional. The maximum number of consecutive failures allowed before the trigger is automatically paused (status becomes ERROR).
13478
+ */
13479
+ max_consecutive_failures?: number | undefined;
13480
+ /**
13481
+ * Optional. The execution timeout for the triggered interaction.
13482
+ */
13483
+ execution_timeout_seconds?: number | undefined;
13484
+ /**
13485
+ * Required. The interaction request template to be executed.
13486
+ */
13487
+ interaction: interactions.CreateAgentInteraction | interactions.CreateModelInteraction;
13488
+ };
13489
+
13490
+ declare type TriggerDeleteParams$ = DeleteTriggerParams;
13491
+
13492
+ declare type TriggerDeleteResponse$ = Empty;
13493
+
13494
+ declare type TriggerExecution$ = TriggerExecution;
13495
+
13496
+ /**
13497
+ * An execution instance of a trigger.
13498
+ */
13499
+ declare type TriggerExecution = {
13500
+ /**
13501
+ * Output only. The time when the execution finished.
13502
+ */
13503
+ end_time?: string | undefined;
13504
+ /**
13505
+ * Output only. The environment ID used for the execution.
13506
+ */
13507
+ environment_id?: string | undefined;
13508
+ /**
13509
+ * Output only. The error message if the execution failed.
13510
+ */
13511
+ error?: string | undefined;
13512
+ /**
13513
+ * Required. Output only. Identifier. The ID of the trigger execution.
13514
+ */
13515
+ id: string;
13516
+ /**
13517
+ * Output only. The ID of the interaction created by this execution, if any.
13518
+ */
13519
+ interaction_id?: string | undefined;
13520
+ /**
13521
+ * Output only. The time when the execution was scheduled to run.
13522
+ */
13523
+ scheduled_time?: string | undefined;
13524
+ /**
13525
+ * Output only. The time when the execution started.
13526
+ */
13527
+ start_time?: string | undefined;
13528
+ /**
13529
+ * Output only. The status of the execution.
13530
+ */
13531
+ status?: TriggerExecutionStatus | undefined;
13532
+ /**
13533
+ * Required. Output only. Identifier. The ID of the trigger that created this execution.
13534
+ */
13535
+ trigger_id: string;
13536
+ };
13537
+
13538
+ /**
13539
+ * @license
13540
+ * Copyright 2026 Google LLC
13541
+ * SPDX-License-Identifier: Apache-2.0
13542
+ *
13543
+ * g3-prettier-ignore-file
13544
+ */
13545
+ /**
13546
+ * Output only. The status of the execution.
13547
+ */
13548
+ declare type TriggerExecutionStatus = "in_progress" | "completed" | "failed" | "skipped" | "timed_out" | (string & {});
13549
+
13550
+ declare type TriggerGetParams$ = GetTriggerParams;
13551
+
13552
+ declare type TriggerListExecutionsParams$ = ListTriggerExecutionsParams;
13553
+
13554
+ declare type TriggerListExecutionsResponse$ = ListTriggerExecutionsResponse;
13555
+
13556
+ declare type TriggerListParams$ = ListTriggersParams;
13557
+
13558
+ declare type TriggerListResponse$ = ListTriggersResponse;
13559
+
13560
+ declare type TriggerRunParams$ = RunTriggerParams;
13561
+
13562
+ export declare namespace Triggers {
13563
+ export type ListTriggerExecutionsResponse = ListTriggerExecutionsResponse$;
13564
+ export type ListTriggersResponse = ListTriggersResponse$;
13565
+ export type Trigger = Trigger$;
13566
+ export type TriggerCreateParams = TriggerCreateParams$;
13567
+ export type TriggerDeleteParams = TriggerDeleteParams$;
13568
+ export type TriggerDeleteResponse = TriggerDeleteResponse$;
13569
+ export type TriggerExecution = TriggerExecution$;
13570
+ export type TriggerGetParams = TriggerGetParams$;
13571
+ export type TriggerListExecutionsParams = TriggerListExecutionsParams$;
13572
+ export type TriggerListExecutionsResponse = TriggerListExecutionsResponse$;
13573
+ export type TriggerListParams = TriggerListParams$;
13574
+ export type TriggerListResponse = TriggerListResponse$;
13575
+ export type TriggerRunParams = TriggerRunParams$;
13576
+ export type TriggerUpdate = TriggerUpdate$;
13577
+ export type TriggerUpdateParams = TriggerUpdateParams$;
13578
+ }
13579
+
13580
+ declare namespace triggers {
13581
+ export {
13582
+ ListTriggerExecutionsResponse,
13583
+ ListTriggersResponse,
13584
+ Interaction_2 as Interaction,
13585
+ TriggerCreateParams,
13586
+ TriggerExecutionStatus,
13587
+ TriggerExecution,
13588
+ TriggerUpdateStatus,
13589
+ TriggerUpdate,
13590
+ TriggerStatus,
13591
+ Trigger
13592
+ }
13593
+ }
13594
+
13595
+ /**
13596
+ * Output only. The current status of the trigger.
13597
+ */
13598
+ declare type TriggerStatus = "active" | "paused" | "error" | (string & {});
13599
+
13600
+ declare type TriggerUpdate$ = TriggerUpdate;
13601
+
13602
+ /**
13603
+ * Represents the fields of a Trigger that can be updated.
13604
+ */
13605
+ declare type TriggerUpdate = {
13606
+ /**
13607
+ * Optional. The display name of the trigger.
13608
+ */
13609
+ display_name?: string | undefined;
13610
+ /**
13611
+ * Optional. The status of the trigger.
13612
+ */
13613
+ status?: TriggerUpdateStatus | undefined;
13614
+ };
13615
+
13616
+ declare type TriggerUpdateParams$ = UpdateTriggerParams;
13617
+
13618
+ /**
13619
+ * @license
13620
+ * Copyright 2026 Google LLC
13621
+ * SPDX-License-Identifier: Apache-2.0
13622
+ *
13623
+ * g3-prettier-ignore-file
13624
+ */
13625
+ /**
13626
+ * Optional. The status of the trigger.
13627
+ */
13628
+ declare type TriggerUpdateStatus = "active" | "paused" | "error";
13629
+
12933
13630
  /** TunedModel for the Tuned Model of a Tuning Job. */
12934
13631
  export declare interface TunedModel {
12935
13632
  /** Output only. The resource name of the TunedModel.
@@ -13939,6 +14636,7 @@ declare namespace types {
13939
14636
  LanguageHints,
13940
14637
  AudioTranscriptionConfig,
13941
14638
  ProactivityConfig,
14639
+ HistoryConfig,
13942
14640
  CustomizedAvatar,
13943
14641
  AvatarConfig,
13944
14642
  LiveClientSetup,
@@ -14048,6 +14746,20 @@ export declare interface UpdateModelParameters {
14048
14746
  config?: UpdateModelConfig;
14049
14747
  }
14050
14748
 
14749
+ declare type UpdateTriggerParams = Omit<UpdateTriggerRequest, "id" | "body"> & UpdateTriggerRequest["body"];
14750
+
14751
+ declare type UpdateTriggerRequest = {
14752
+ /**
14753
+ * Which version of the API to use.
14754
+ */
14755
+ api_version?: string | undefined;
14756
+ /**
14757
+ * Resource name of the trigger.
14758
+ */
14759
+ id: string;
14760
+ body: triggers.TriggerUpdate;
14761
+ };
14762
+
14051
14763
  declare interface Uploader {
14052
14764
  /**
14053
14765
  * Uploads a file to the given upload url.
@@ -15374,4 +16086,60 @@ export declare interface WhiteSpaceConfig {
15374
16086
  maxOverlapTokens?: number;
15375
16087
  }
15376
16088
 
16089
+ declare type WordInfo$ = WordInfo;
16090
+
16091
+ /**
16092
+ * @license
16093
+ * Copyright 2026 Google LLC
16094
+ * SPDX-License-Identifier: Apache-2.0
16095
+ *
16096
+ * g3-prettier-ignore-file
16097
+ */
16098
+ /**
16099
+ * Word-level ASR annotation for transcription output.
16100
+ *
16101
+ * @remarks
16102
+ * Carries the word text, optional timing, and optional speaker attribution.
16103
+ */
16104
+ declare type WordInfo = {
16105
+ /**
16106
+ * End of the attributed segment, exclusive.
16107
+ */
16108
+ end_index?: number | undefined;
16109
+ /**
16110
+ * End offset in time of the word relative to the start of the audio.
16111
+ *
16112
+ * @remarks
16113
+ * Present when timestamp_granularities contains "word".
16114
+ */
16115
+ end_offset?: string | undefined;
16116
+ /**
16117
+ * Optional. Speaker label for this word (e.g. "spk_1", "spk_2").
16118
+ *
16119
+ * @remarks
16120
+ * Present when diarization_mode is set in TranscriptionConfig.
16121
+ */
16122
+ speaker?: string | undefined;
16123
+ /**
16124
+ * Start of segment of the response that is attributed to this source.
16125
+ *
16126
+ * @remarks
16127
+ *
16128
+ * Index indicates the start of the segment, measured in bytes.
16129
+ */
16130
+ start_index?: number | undefined;
16131
+ /**
16132
+ * Start offset in time of the word relative to the start of the audio.
16133
+ *
16134
+ * @remarks
16135
+ * Present when timestamp_granularities contains "word".
16136
+ */
16137
+ start_offset?: string | undefined;
16138
+ /**
16139
+ * The transcribed word.
16140
+ */
16141
+ text?: string | undefined;
16142
+ type: "word_info";
16143
+ };
16144
+
15377
16145
  export { }