diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonConverters.InteractionSSEEvent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonConverters.InteractionSSEEvent.g.cs index 5205a53da..d784050d3 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonConverters.InteractionSSEEvent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonConverters.InteractionSSEEvent.g.cs @@ -45,6 +45,7 @@ public class InteractionSSEEventJsonConverter : global::System.Text.Json.Seriali if (__jsonProps.Contains("event_type")) __score1++; if (__jsonProps.Contains("interaction")) __score1++; if (__jsonProps.Contains("interaction.agent")) __score1++; + if (__jsonProps.Contains("interaction.continuation_token")) __score1++; if (__jsonProps.Contains("interaction.created")) __score1++; if (__jsonProps.Contains("interaction.id")) __score1++; if (__jsonProps.Contains("interaction.model")) __score1++; @@ -59,6 +60,7 @@ public class InteractionSSEEventJsonConverter : global::System.Text.Json.Seriali if (__jsonProps.Contains("event_type")) __score2++; if (__jsonProps.Contains("interaction")) __score2++; if (__jsonProps.Contains("interaction.agent")) __score2++; + if (__jsonProps.Contains("interaction.continuation_token")) __score2++; if (__jsonProps.Contains("interaction.created")) __score2++; if (__jsonProps.Contains("interaction.id")) __score2++; if (__jsonProps.Contains("interaction.model")) __score2++; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContext.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContext.g.cs index 63466d2b1..87f851b37 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContext.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContext.g.cs @@ -404,6 +404,7 @@ namespace Google.Gemini.NextGen [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.DeepResearchAgentConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.DynamicAgentConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.InteractionsInput), TypeInfoPropertyName = "InteractionsInput2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.OneOf>), TypeInfoPropertyName = "OneOfResponseFormat4IListResponseFormat42")] @@ -437,7 +438,6 @@ namespace Google.Gemini.NextGen [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.ArgumentsDelta))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.AudioContent))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.AudioContentMimeType), TypeInfoPropertyName = "AudioContentMimeType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.AudioData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.AudioDelta))] diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContextTypes.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContextTypes.g.cs index b18bc6e0e..65b2c25a7 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContextTypes.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.JsonSerializerContextTypes.g.cs @@ -89,131 +89,131 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Google.Gemini.NextGen.InteractionsInput? Type14 { get; set; } + public byte[]? Type14 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type15 { get; set; } + public global::Google.Gemini.NextGen.InteractionsInput? Type15 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.OneOf>? Type16 { get; set; } + public global::System.Collections.Generic.Dictionary? Type16 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.ResponseFormat4? Type17 { get; set; } + public global::Google.Gemini.NextGen.OneOf>? Type17 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type18 { get; set; } + public global::Google.Gemini.NextGen.ResponseFormat4? Type18 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type19 { get; set; } + public global::System.Collections.Generic.IList? Type19 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.ResponseModality? Type20 { get; set; } + public global::System.Collections.Generic.IList? Type20 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type21 { get; set; } + public global::Google.Gemini.NextGen.ResponseModality? Type21 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.SafetySetting? Type22 { get; set; } + public global::System.Collections.Generic.IList? Type22 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.ServiceTier? Type23 { get; set; } + public global::Google.Gemini.NextGen.SafetySetting? Type23 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type24 { get; set; } + public global::Google.Gemini.NextGen.ServiceTier? Type24 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.Tool? Type25 { get; set; } + public global::System.Collections.Generic.IList? Type25 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.WebhookConfig? Type26 { get; set; } + public global::Google.Gemini.NextGen.Tool? Type26 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.CodeExecution? Type27 { get; set; } + public global::Google.Gemini.NextGen.WebhookConfig? Type27 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.Function? Type28 { get; set; } + public global::Google.Gemini.NextGen.CodeExecution? Type28 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.GoogleSearch? Type29 { get; set; } + public global::Google.Gemini.NextGen.Function? Type29 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.MCPServer? Type30 { get; set; } + public global::Google.Gemini.NextGen.GoogleSearch? Type30 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.URLContext? Type31 { get; set; } + public global::Google.Gemini.NextGen.MCPServer? Type31 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.AllowedTools? Type32 { get; set; } + public global::Google.Gemini.NextGen.URLContext? Type32 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.AllowedToolsMode? Type33 { get; set; } + public global::Google.Gemini.NextGen.AllowedTools? Type33 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type34 { get; set; } + public global::Google.Gemini.NextGen.AllowedToolsMode? Type34 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.Annotation? Type35 { get; set; } + public global::System.Collections.Generic.IList? Type35 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.FileCitation? Type36 { get; set; } + public global::Google.Gemini.NextGen.Annotation? Type36 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.PlaceCitation? Type37 { get; set; } + public global::Google.Gemini.NextGen.FileCitation? Type37 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.SpeechAnnotation? Type38 { get; set; } + public global::Google.Gemini.NextGen.PlaceCitation? Type38 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.URLCitation? Type39 { get; set; } + public global::Google.Gemini.NextGen.SpeechAnnotation? Type39 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.WordInfo? Type40 { get; set; } + public global::Google.Gemini.NextGen.URLCitation? Type40 { get; set; } /// /// /// - public object? Type41 { get; set; } + public global::Google.Gemini.NextGen.WordInfo? Type41 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.ArgumentsDelta? Type42 { get; set; } + public object? Type42 { get; set; } /// /// /// - public global::Google.Gemini.NextGen.AudioContent? Type43 { get; set; } + public global::Google.Gemini.NextGen.ArgumentsDelta? Type43 { get; set; } /// /// /// - public int? Type44 { get; set; } + public global::Google.Gemini.NextGen.AudioContent? Type44 { get; set; } /// /// /// - public byte[]? Type45 { get; set; } + public int? Type45 { get; set; } /// /// /// diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateAgentInteraction.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateAgentInteraction.g.cs index 075cf1173..466e7b0fc 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateAgentInteraction.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateAgentInteraction.g.cs @@ -31,6 +31,14 @@ public sealed partial class CreateAgentInteraction [global::System.Text.Json.Serialization.JsonPropertyName("background")] public bool? Background { get; set; } + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("continuation_token")] + public byte[]? ContinuationToken { get; set; } + /// /// The environment configuration for the interaction. Can be an object
/// specifying remote environment sources or a string referencing an existing
@@ -146,6 +154,11 @@ public sealed partial class CreateAgentInteraction /// /// Input only. Whether to run the model interaction in the background. /// + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + /// /// /// The environment configuration for the interaction. Can be an object
/// specifying remote environment sources or a string referencing an existing
@@ -194,6 +207,7 @@ public CreateAgentInteraction( global::Google.Gemini.NextGen.AgentOption agent, global::Google.Gemini.NextGen.OneOf? agentConfig, bool? background, + byte[]? continuationToken, global::Google.Gemini.NextGen.OneOf? environment, global::Google.Gemini.NextGen.InteractionsInput? input, global::System.Collections.Generic.Dictionary? labels, @@ -210,6 +224,7 @@ public CreateAgentInteraction( this.Agent = agent; this.AgentConfig = agentConfig; this.Background = background; + this.ContinuationToken = continuationToken; this.Environment = environment; this.Input = input; this.Labels = labels; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateModelInteraction.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateModelInteraction.g.cs index a1e2ec2b2..fe9940270 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateModelInteraction.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CreateModelInteraction.g.cs @@ -24,6 +24,14 @@ public sealed partial class CreateModelInteraction [global::System.Obsolete("This property marked as deprecated.")] public string? CachedContent { get; set; } + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("continuation_token")] + public byte[]? ContinuationToken { get; set; } + /// /// Required. Output only. The time at which the response was created in ISO 8601 format
/// (YYYY-MM-DDThh:mm:ssZ).
@@ -196,6 +204,11 @@ public sealed partial class CreateModelInteraction /// Input only. Whether to run the model interaction in the background.
/// Included only in requests /// + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + /// /// /// The environment configuration for the interaction. Can be an object
/// specifying remote environment sources or a string referencing an existing
@@ -271,6 +284,7 @@ public sealed partial class CreateModelInteraction public CreateModelInteraction( global::Google.Gemini.NextGen.Model model, bool? background, + byte[]? continuationToken, global::Google.Gemini.NextGen.OneOf? environment, string? environmentId, global::Google.Gemini.NextGen.GenerationConfig? generationConfig, @@ -291,6 +305,7 @@ public CreateModelInteraction( string updated = default!) { this.Background = background; + this.ContinuationToken = continuationToken; this.Created = created; this.Environment = environment; this.EnvironmentId = environmentId; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Interaction.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Interaction.g.cs index 4f242c692..4ec7e4776 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Interaction.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Interaction.g.cs @@ -39,6 +39,14 @@ public sealed partial class Interaction [global::System.Obsolete("This property marked as deprecated.")] public string? CachedContent { get; set; } + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("continuation_token")] + public byte[]? ContinuationToken { get; set; } + /// /// Required. Output only. The time at which the response was created in ISO 8601 format
/// (YYYY-MM-DDThh:mm:ssZ).
@@ -231,6 +239,11 @@ public sealed partial class Interaction /// Input only. Whether to run the model interaction in the background.
/// Included only in requests /// + /// + /// Opaque token to resume a long decode. Output: set when status is
+ /// INCOMPLETE and decoding can be resumed. Input: pass the latest token
+ /// back unchanged in CreateInteraction to continue decoding. + /// /// /// Required. Output only. The time at which the response was created in ISO 8601 format
/// (YYYY-MM-DDThh:mm:ssZ).
@@ -322,6 +335,7 @@ public Interaction( global::Google.Gemini.NextGen.AgentOption? agent, global::Google.Gemini.NextGen.OneOf? agentConfig, bool? background, + byte[]? continuationToken, string? created, global::Google.Gemini.NextGen.OneOf? environment, string? environmentId, @@ -348,6 +362,7 @@ public Interaction( this.Agent = agent; this.AgentConfig = agentConfig; this.Background = background; + this.ContinuationToken = continuationToken; this.Created = created; this.Environment = environment; this.EnvironmentId = environmentId; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSseEventInteraction.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSseEventInteraction.g.cs index e52ea0500..9ab99a12c 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSseEventInteraction.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSseEventInteraction.g.cs @@ -16,6 +16,13 @@ public sealed partial class InteractionSseEventInteraction [global::System.Text.Json.Serialization.JsonPropertyName("agent")] public string? Agent { get; set; } + /// + /// Output only. Opaque token to resume a long decode when status is incomplete.
+ /// Included only in responses + ///
+ [global::System.Text.Json.Serialization.JsonPropertyName("continuation_token")] + public byte[]? ContinuationToken { get; set; } + /// /// Output only. The time at which the response was created in ISO 8601 format.
/// Included only in responses @@ -93,6 +100,10 @@ public sealed partial class InteractionSseEventInteraction /// /// The agent to interact with. /// + /// + /// Output only. Opaque token to resume a long decode when status is incomplete.
+ /// Included only in responses + /// /// /// Output only. The time at which the response was created in ISO 8601 format.
/// Included only in responses @@ -130,6 +141,7 @@ public sealed partial class InteractionSseEventInteraction #endif public InteractionSseEventInteraction( string? agent, + byte[]? continuationToken, string? created, string? model, string? @object, @@ -141,6 +153,7 @@ public InteractionSseEventInteraction( global::Google.Gemini.NextGen.InteractionSseEventInteractionStatus status = default!) { this.Agent = agent; + this.ContinuationToken = continuationToken; this.Created = created; this.Id = id; this.Model = model; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Model.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Model.g.cs index 8300a1437..bad3fb60c 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Model.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Model.g.cs @@ -116,6 +116,16 @@ public Model(string value) ///
public static Model GeminiFlashLiteLatest { get; } = new("gemini-flash-lite-latest"); + /// + /// Our high-performance multimodal model designed for fast, conversational video generation, editing, and cinematic control. + /// + public static Model GeminiOmni11Flash { get; } = new("gemini-omni-1.1-flash"); + + /// + /// Our high-performance multimodal model designed for fast, conversational video generation, editing, and cinematic control. + /// + public static Model GeminiOmniFlashPreview { get; } = new("gemini-omni-flash-preview"); + /// /// Latest release of Gemini Pro /// @@ -151,6 +161,11 @@ public Model(string value) ///
public static Model Lyria3ProPreview { get; } = new("lyria-3-pro-preview"); + /// + /// Our flagship music generation model, optimized for full-length songs with complex structural coherence. + /// + public static Model Lyria35 { get; } = new("lyria-3.5"); + /// /// Gemini 3 Pro Image Preview /// @@ -183,6 +198,8 @@ public static Model FromValue(string value) "gemini-3.8-flash-tts" => Gemini38FlashTts, "gemini-flash-latest" => GeminiFlashLatest, "gemini-flash-lite-latest" => GeminiFlashLiteLatest, + "gemini-omni-1.1-flash" => GeminiOmni11Flash, + "gemini-omni-flash-preview" => GeminiOmniFlashPreview, "gemini-pro-latest" => GeminiProLatest, "gemini-robotics-er-1.6-preview" => GeminiRoboticsEr16Preview, "gemini-robotics-er-2-preview" => GeminiRoboticsEr2Preview, @@ -190,6 +207,7 @@ public static Model FromValue(string value) "gemma-4-31b-it" => Gemma431bIt, "lyria-3-clip-preview" => Lyria3ClipPreview, "lyria-3-pro-preview" => Lyria3ProPreview, + "lyria-3.5" => Lyria35, "nano-banana-pro-preview" => NanoBananaProPreview, _ => new Model(value), }; @@ -219,6 +237,8 @@ public static Model FromValue(string value) "gemini-3.8-flash-tts" => true, "gemini-flash-latest" => true, "gemini-flash-lite-latest" => true, + "gemini-omni-1.1-flash" => true, + "gemini-omni-flash-preview" => true, "gemini-pro-latest" => true, "gemini-robotics-er-1.6-preview" => true, "gemini-robotics-er-2-preview" => true, @@ -226,6 +246,7 @@ public static Model FromValue(string value) "gemma-4-31b-it" => true, "lyria-3-clip-preview" => true, "lyria-3-pro-preview" => true, + "lyria-3.5" => true, "nano-banana-pro-preview" => true, _ => false, }; diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Voices.JsonSerializerContext.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Voices.JsonSerializerContext.g.cs index dac265b8f..425d896fd 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Voices.JsonSerializerContext.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Voices.JsonSerializerContext.g.cs @@ -15,10 +15,10 @@ namespace Google.Gemini.NextGen [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.ResponseModality), TypeInfoPropertyName = "ResponseModality2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.AudioData))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.CreateVoiceRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.NextGen.Voice))] diff --git a/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json b/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json index 2e6edb68d..d0463b659 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json +++ b/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json @@ -39,7 +39,7 @@ "Slug": "createinteraction", "Description": "Creates a new interaction.", "Language": "http", - "Code": "### Creates a new interaction.\n# @name CreateInteraction\nPOST {{host}}/v1beta/interactions\nx-goog-api-key: {{api_key}}\nContent-Type: application/json\nAccept: application/json, text/event-stream\n\n{\n \u0022agent\u0022: \u0022deep-research-pro-preview-12-2025\u0022,\n \u0022agent_config\u0022: {\n \u0022max_total_tokens\u0022: \u0022string\u0022,\n \u0022model\u0022: \u0022string\u0022,\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022background\u0022: true,\n \u0022environment\u0022: {\n \u0022env\u0022: {},\n \u0022environment_id\u0022: \u0022string\u0022,\n \u0022network\u0022: {\n \u0022allowlist\u0022: []\n },\n \u0022sources\u0022: [\n {}\n ],\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022input\u0022: {\n \u0022channels\u0022: 0,\n \u0022data\u0022: \u0022\u0022,\n \u0022mime_type\u0022: \u0022audio/wav\u0022,\n \u0022sample_rate\u0022: 0,\n \u0022type\u0022: \u0022string\u0022,\n \u0022uri\u0022: \u0022string\u0022\n },\n \u0022labels\u0022: {},\n \u0022previous_interaction_id\u0022: \u0022string\u0022,\n \u0022response_format\u0022: {\n \u0022bit_rate\u0022: 0,\n \u0022delivery\u0022: \u0022inline\u0022,\n \u0022mime_type\u0022: \u0022audio/mp3\u0022,\n \u0022sample_rate\u0022: 0,\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022response_mime_type\u0022: \u0022string\u0022,\n \u0022response_modalities\u0022: [\n \u0022text\u0022\n ],\n \u0022safety_settings\u0022: [\n {\n \u0022method\u0022: \u0022severity\u0022,\n \u0022threshold\u0022: \u0022block_low_and_above\u0022,\n \u0022type\u0022: \u0022hate_speech\u0022\n }\n ],\n \u0022service_tier\u0022: \u0022flex\u0022,\n \u0022store\u0022: true,\n \u0022stream\u0022: true,\n \u0022system_instruction\u0022: \u0022string\u0022,\n \u0022tools\u0022: [\n {\n \u0022type\u0022: \u0022string\u0022\n }\n ],\n \u0022webhook_config\u0022: {\n \u0022uris\u0022: [\n \u0022string\u0022\n ],\n \u0022user_metadata\u0022: {}\n }\n}\n\n## Responses\n# 200\n# Description: Successful operation\n# Content-Type: application/json, text/event-stream\n# 4XX\n# Description: Client Error\n# Content-Type: application/json\n# 5XX\n# Description: Server Error\n# Content-Type: application/json", + "Code": "### Creates a new interaction.\n# @name CreateInteraction\nPOST {{host}}/v1beta/interactions\nx-goog-api-key: {{api_key}}\nContent-Type: application/json\nAccept: application/json, text/event-stream\n\n{\n \u0022agent\u0022: \u0022deep-research-pro-preview-12-2025\u0022,\n \u0022agent_config\u0022: {\n \u0022max_total_tokens\u0022: \u0022string\u0022,\n \u0022model\u0022: \u0022string\u0022,\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022background\u0022: true,\n \u0022continuation_token\u0022: \u0022\u0022,\n \u0022environment\u0022: {\n \u0022env\u0022: {},\n \u0022environment_id\u0022: \u0022string\u0022,\n \u0022network\u0022: {\n \u0022allowlist\u0022: []\n },\n \u0022sources\u0022: [\n {}\n ],\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022input\u0022: {\n \u0022channels\u0022: 0,\n \u0022data\u0022: \u0022\u0022,\n \u0022mime_type\u0022: \u0022audio/wav\u0022,\n \u0022sample_rate\u0022: 0,\n \u0022type\u0022: \u0022string\u0022,\n \u0022uri\u0022: \u0022string\u0022\n },\n \u0022labels\u0022: {},\n \u0022previous_interaction_id\u0022: \u0022string\u0022,\n \u0022response_format\u0022: {\n \u0022bit_rate\u0022: 0,\n \u0022delivery\u0022: \u0022inline\u0022,\n \u0022mime_type\u0022: \u0022audio/mp3\u0022,\n \u0022sample_rate\u0022: 0,\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022response_mime_type\u0022: \u0022string\u0022,\n \u0022response_modalities\u0022: [\n \u0022text\u0022\n ],\n \u0022safety_settings\u0022: [\n {\n \u0022method\u0022: \u0022severity\u0022,\n \u0022threshold\u0022: \u0022block_low_and_above\u0022,\n \u0022type\u0022: \u0022hate_speech\u0022\n }\n ],\n \u0022service_tier\u0022: \u0022flex\u0022,\n \u0022store\u0022: true,\n \u0022stream\u0022: true,\n \u0022system_instruction\u0022: \u0022string\u0022,\n \u0022tools\u0022: [\n {\n \u0022type\u0022: \u0022string\u0022\n }\n ],\n \u0022webhook_config\u0022: {\n \u0022uris\u0022: [\n \u0022string\u0022\n ],\n \u0022user_metadata\u0022: {}\n }\n}\n\n## Responses\n# 200\n# Description: Successful operation\n# Content-Type: application/json, text/event-stream\n# 4XX\n# Description: Client Error\n# Content-Type: application/json\n# 5XX\n# Description: Server Error\n# Content-Type: application/json", "Format": "http", "OperationId": "CreateInteraction", "Setup": null diff --git a/src/libs/Google.Gemini/nextgen.openapi.json b/src/libs/Google.Gemini/nextgen.openapi.json index 95e606130..84d93e40e 100644 --- a/src/libs/Google.Gemini/nextgen.openapi.json +++ b/src/libs/Google.Gemini/nextgen.openapi.json @@ -3094,6 +3094,11 @@ "description": "Input only. Whether to run the model interaction in the background.", "type": "boolean" }, + "continuation_token": { + "description": "Opaque token to resume a long decode. Output: set when status is\nINCOMPLETE and decoding can be resumed. Input: pass the latest token\nback unchanged in CreateInteraction to continue decoding.", + "type": "string", + "format": "byte" + }, "environment": { "description": "The environment configuration for the interaction. Can be an object\nspecifying remote environment sources or a string referencing an existing\nenvironment ID.", "oneOf": [ @@ -6468,6 +6473,11 @@ "type": "string", "deprecated": true }, + "continuation_token": { + "description": "Opaque token to resume a long decode. Output: set when status is\nINCOMPLETE and decoding can be resumed. Input: pass the latest token\nback unchanged in CreateInteraction to continue decoding.", + "type": "string", + "format": "byte" + }, "created": { "description": "Required. Output only. The time at which the response was created in ISO 8601 format\n(YYYY-MM-DDThh:mm:ssZ).", "type": "string", @@ -6752,6 +6762,12 @@ "description": "The agent to interact with.", "type": "string" }, + "continuation_token": { + "description": "Output only. Opaque token to resume a long decode when status is incomplete.", + "type": "string", + "format": "byte", + "readOnly": true + }, "created": { "description": "Output only. The time at which the response was created in ISO 8601 format.", "type": "string", @@ -7396,6 +7412,11 @@ "type": "string", "deprecated": true }, + "continuation_token": { + "description": "Opaque token to resume a long decode. Output: set when status is\nINCOMPLETE and decoding can be resumed. Input: pass the latest token\nback unchanged in CreateInteraction to continue decoding.", + "type": "string", + "format": "byte" + }, "created": { "description": "Required. Output only. The time at which the response was created in ISO 8601 format\n(YYYY-MM-DDThh:mm:ssZ).", "type": "string", @@ -7604,7 +7625,10 @@ "lyria-3-clip-preview", "lyria-3-pro-preview", "gemini-robotics-er-1.6-preview", - "gemini-robotics-er-2-preview" + "gemini-robotics-er-2-preview", + "lyria-3.5", + "gemini-omni-1.1-flash", + "gemini-omni-flash-preview" ], "x-speakeasy-enum-descriptions": [ "Our first hybrid reasoning model which supports a 1M token context window and has thinking budgets.", @@ -7633,7 +7657,10 @@ "Our low-latency, music generation model optimized for high-fidelity audio clips and precise rhythmic control.", "Our advanced, full-song generative model with deep compositional understanding, optimized for precise structural control and complex transitions across diverse musical styles.", "Gemini Robotics-ER 1.6 Preview", - "Gemini Robotics Embodied Reasoning 2 Preview" + "Gemini Robotics Embodied Reasoning 2 Preview", + "Our flagship music generation model, optimized for full-length songs with complex structural coherence.", + "Our high-performance multimodal model designed for fast, conversational video generation, editing, and cinematic control.", + "Our high-performance multimodal model designed for fast, conversational video generation, editing, and cinematic control." ], "x-speakeasy-enum-format": "union", "x-speakeasy-exports": [