From c9e09c762a463fa317ecfaaeecaec84cfb44c93b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 6 Oct 2026 19:58:09 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...le.Gemini.NextGen.Models.AudioContent.g.cs | 3 +- ...ni.NextGen.Models.AudioResponseFormat.g.cs | 3 +- ....NextGen.Models.CodeExecutionCallStep.g.cs | 3 +- ...extGen.Models.CodeExecutionResultStep.g.cs | 3 +- .../Google.Gemini.NextGen.Models.Content.g.cs | 15 +- ...Gemini.NextGen.Models.DocumentContent.g.cs | 3 +- ...els.EnvironmentNetworkEgressAllowlist.g.cs | 3 +- ...ogle.Gemini.NextGen.Models.ErrorEvent.g.cs | 2 +- ...ini.NextGen.Models.FileSearchCallStep.g.cs | 3 +- ...i.NextGen.Models.FileSearchResultStep.g.cs | 3 +- ...emini.NextGen.Models.FunctionCallStep.g.cs | 3 +- ...ini.NextGen.Models.FunctionResultStep.g.cs | 3 +- ...xtGen.Models.FunctionResultSubcontent.g.cs | 6 +- ...ini.NextGen.Models.GoogleMapsCallStep.g.cs | 3 +- ...i.NextGen.Models.GoogleMapsResultStep.g.cs | 3 +- ...i.NextGen.Models.GoogleSearchCallStep.g.cs | 3 +- ...NextGen.Models.GoogleSearchResultStep.g.cs | 3 +- ...le.Gemini.NextGen.Models.ImageContent.g.cs | 3 +- ...ni.NextGen.Models.ImageResponseFormat.g.cs | 3 +- ...tGen.Models.InteractionCompletedEvent.g.cs | 3 +- ...extGen.Models.InteractionCreatedEvent.g.cs | 3 +- ...ni.NextGen.Models.InteractionSSEEvent.g.cs | 16 +- ...extGen.Models.InteractionStatusUpdate.g.cs | 2 +- ....NextGen.Models.MCPServerToolCallStep.g.cs | 3 +- ...extGen.Models.MCPServerToolResultStep.g.cs | 3 +- ...Gemini.NextGen.Models.ModelOutputStep.g.cs | 3 +- ...Gemini.NextGen.Models.ResponseFormat4.g.cs | 12 +- .../Google.Gemini.NextGen.Models.Step.g.cs | 51 +- ...oogle.Gemini.NextGen.Models.StepDelta.g.cs | 2 +- ...oogle.Gemini.NextGen.Models.StepStart.g.cs | 2 +- ...Google.Gemini.NextGen.Models.StepStop.g.cs | 2 +- ...gle.Gemini.NextGen.Models.TextContent.g.cs | 3 +- ...ini.NextGen.Models.TextResponseFormat.g.cs | 3 +- ...gle.Gemini.NextGen.Models.ThoughtStep.g.cs | 3 +- ....NextGen.Models.ThoughtSummaryContent.g.cs | 6 +- ...emini.NextGen.Models.ToolChoiceConfig.g.cs | 3 +- ...ini.NextGen.Models.URLContextCallStep.g.cs | 3 +- ...i.NextGen.Models.URLContextResultStep.g.cs | 3 +- ...e.Gemini.NextGen.Models.UserInputStep.g.cs | 3 +- ...le.Gemini.NextGen.Models.VideoContent.g.cs | 3 +- ...ni.NextGen.Models.VideoResponseFormat.g.cs | 3 +- .../Generated/autosdk.generated-examples.json | 32 +- src/libs/Google.Gemini/nextgen.openapi.json | 546 ++++++++++++++++++ 43 files changed, 707 insertions(+), 77 deletions(-) diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioContent.g.cs index 5c2bc97a6..e92f17f2d 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioContent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// An audio content block. + /// An audio content block.
+ /// Example: {"type":"audio","data":"BASE64_ENCODED_AUDIO","mime_type":"audio/wav"} ///
public sealed partial class AudioContent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioResponseFormat.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioResponseFormat.g.cs index 64f1c5d6b..d197b9b4d 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioResponseFormat.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.AudioResponseFormat.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Configuration for audio output format. + /// Configuration for audio output format.
+ /// Example: {"type":"audio","sample_rate":24000} ///
public sealed partial class AudioResponseFormat { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionCallStep.g.cs index 578999e63..7af66884f 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Code execution call step. + /// Code execution call step.
+ /// Example: {"type":"code_execution_call","arguments":{"code":"print(sum(range(1, 11)))","language":"python"},"id":"code_call_71021"} ///
public sealed partial class CodeExecutionCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionResultStep.g.cs index f91c1b5e4..a3f6ed923 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.CodeExecutionResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Code execution result step. + /// Code execution result step.
+ /// Example: {"type":"code_execution_result","call_id":"code_call_71021","result":"55\n"} ///
public sealed partial class CodeExecutionResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Content.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Content.g.cs index a7aeafae7..d5a04e635 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Content.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Content.g.cs @@ -10,7 +10,8 @@ namespace Google.Gemini.NextGen public readonly partial struct Content : global::System.IEquatable { /// - /// An audio content block. + /// An audio content block.
+ /// Example: {"type":"audio","data":"BASE64_ENCODED_AUDIO","mime_type":"audio/wav"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.AudioContent? Audio { get; init; } @@ -47,7 +48,8 @@ public bool TryPickAudio( : throw new global::System.InvalidOperationException($"Expected union variant 'Audio' but the value was {ToString()}."); /// - /// A document content block. + /// A document content block.
+ /// Example: {"type":"document","data":"BASE64_ENCODED_DOCUMENT","mime_type":"application/pdf"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.DocumentContent? Document { get; init; } @@ -84,7 +86,8 @@ public bool TryPickDocument( : throw new global::System.InvalidOperationException($"Expected union variant 'Document' but the value was {ToString()}."); /// - /// An image content block. + /// An image content block.
+ /// Example: {"type":"image","data":"BASE64_ENCODED_IMAGE","mime_type":"image/png"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ImageContent? Image { get; init; } @@ -121,7 +124,8 @@ public bool TryPickImage( : throw new global::System.InvalidOperationException($"Expected union variant 'Image' but the value was {ToString()}."); /// - /// A text content block. + /// A text content block.
+ /// Example: {"type":"text","text":"Hello, how are you?"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.TextContent? Text { get; init; } @@ -158,7 +162,8 @@ public bool TryPickText( : throw new global::System.InvalidOperationException($"Expected union variant 'Text' but the value was {ToString()}."); /// - /// A video content block. + /// A video content block.
+ /// Example: {"type":"video","uri":"https://www.youtube.com/watch?v=9hE5-98ZeCg"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.VideoContent? Video { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.DocumentContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.DocumentContent.g.cs index 464e43ba1..405364950 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.DocumentContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.DocumentContent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// A document content block. + /// A document content block.
+ /// Example: {"type":"document","data":"BASE64_ENCODED_DOCUMENT","mime_type":"application/pdf"} ///
public sealed partial class DocumentContent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.EnvironmentNetworkEgressAllowlist.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.EnvironmentNetworkEgressAllowlist.g.cs index 99bffa828..21260979b 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.EnvironmentNetworkEgressAllowlist.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.EnvironmentNetworkEgressAllowlist.g.cs @@ -5,7 +5,8 @@ namespace Google.Gemini.NextGen { /// - /// 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. + /// 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.
+ /// Example: {"allowlist":[{"domain":"github.com","transform":[{"Authorization":"Bearer your-token"}]},{"domain":"*.googleapis.com"}]} ///
public readonly partial struct EnvironmentNetworkEgressAllowlist : global::System.IEquatable { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ErrorEvent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ErrorEvent.g.cs index 5810b5795..1081d5da1 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ErrorEvent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ErrorEvent.g.cs @@ -4,7 +4,7 @@ namespace Google.Gemini.NextGen { /// - /// + /// Example: {"error":{"code":"not_found","message":"Failed to get completed interaction: Result not found."},"event_type":"error"} /// public sealed partial class ErrorEvent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchCallStep.g.cs index 511b168e4..967f967ab 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// File Search call step. + /// File Search call step.
+ /// Example: {"type":"file_search_call","id":"file_call_88192"} ///
public sealed partial class FileSearchCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchResultStep.g.cs index 4ca55d569..125a15838 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FileSearchResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// File Search result step. + /// File Search result step.
+ /// Example: {"type":"file_search_result","call_id":"file_call_88192"} ///
public sealed partial class FileSearchResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionCallStep.g.cs index e57ece3f0..8adf3b60e 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// A function tool call step. + /// A function tool call step.
+ /// Example: {"name":"get_weather","type":"function_call","arguments":{"location":"Boston, MA"},"id":"call_98231"} ///
public sealed partial class FunctionCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultStep.g.cs index e4cfd3764..159b22ddc 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Result of a function tool call. + /// Result of a function tool call.
+ /// Example: {"name":"get_weather","type":"function_result","call_id":"call_98231","result":[{"type":"text","text":"{\u0022weather\u0022:\u0022sunny\u0022}"}]} ///
public sealed partial class FunctionResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultSubcontent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultSubcontent.g.cs index b7b9b120e..83a49eea8 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultSubcontent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.FunctionResultSubcontent.g.cs @@ -10,7 +10,8 @@ namespace Google.Gemini.NextGen public readonly partial struct FunctionResultSubcontent : global::System.IEquatable { /// - /// An image content block. + /// An image content block.
+ /// Example: {"type":"image","data":"BASE64_ENCODED_IMAGE","mime_type":"image/png"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ImageContent? ImageContent { get; init; } @@ -47,7 +48,8 @@ public bool TryPickImageContent( : throw new global::System.InvalidOperationException($"Expected union variant 'ImageContent' but the value was {ToString()}."); /// - /// A text content block. + /// A text content block.
+ /// Example: {"type":"text","text":"Hello, how are you?"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.TextContent? TextContent { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsCallStep.g.cs index 42aa256d1..ed3fc2ae7 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Google Maps call step. + /// Google Maps call step.
+ /// Example: {"type":"google_maps_call","arguments":{"queries":["parks near San Francisco"]},"id":"maps_call_39201"} ///
public sealed partial class GoogleMapsCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsResultStep.g.cs index 0559d9cb9..d4bf940ef 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleMapsResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Google Maps result step. + /// Google Maps result step.
+ /// Example: {"type":"google_maps_result","call_id":"maps_call_39201","result":[{"places":[{"url":"https://maps.google.com/?cid=12345","name":"Golden Gate Park","place_id":"ChIJIQBpAG2ahYAR9R7bNdTLg8M"}]}]} ///
public sealed partial class GoogleMapsResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchCallStep.g.cs index 8a8f3098b..53245ef92 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Google Search call step. + /// Google Search call step.
+ /// Example: {"type":"google_search_call","arguments":{"queries":["Who won the men\u0027s 100m in Paris 2024?"]},"id":"search_call_19201"} ///
public sealed partial class GoogleSearchCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchResultStep.g.cs index 7080a0771..78b611575 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.GoogleSearchResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Google Search result step. + /// Google Search result step.
+ /// Example: {"type":"google_search_result","call_id":"search_call_19201","result":[{"search_suggestions":"\u003Cdiv class=\u0022container\u0022\u003E...\u003C/div\u003E"}]} ///
public sealed partial class GoogleSearchResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageContent.g.cs index cef41953f..bbf29b8ba 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageContent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// An image content block. + /// An image content block.
+ /// Example: {"type":"image","data":"BASE64_ENCODED_IMAGE","mime_type":"image/png"} ///
public sealed partial class ImageContent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageResponseFormat.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageResponseFormat.g.cs index e9c39ec36..fbb15edcd 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageResponseFormat.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ImageResponseFormat.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Configuration for image output format. + /// Configuration for image output format.
+ /// Example: {"type":"image","aspect_ratio":"16:9","image_size":"1K","mime_type":"image/jpeg"} ///
public sealed partial class ImageResponseFormat { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCompletedEvent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCompletedEvent.g.cs index 3b055de77..af22877e7 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCompletedEvent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCompletedEvent.g.cs @@ -6,7 +6,8 @@ namespace Google.Gemini.NextGen /// /// Signals that the Interaction completed. Sent when the Interaction receives
/// Complete/Cancel or naturally terminates. No more input can be sent to the
- /// Interaction after this. + /// Interaction after this.
+ /// Example: {"event_id":"evt_123","event_type":"interaction.completed","interaction":{"created":"2025-12-04T15:01:45Z","id":"v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg","model":"gemini-3.6-flash","status":"completed","updated":"2025-12-04T15:01:45Z"}} ///
public sealed partial class InteractionCompletedEvent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCreatedEvent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCreatedEvent.g.cs index 7c607fdff..488918214 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCreatedEvent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionCreatedEvent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Server response confirming that a new interaction was created. + /// Server response confirming that a new interaction was created.
+ /// Example: {"event_id":"evt_123","event_type":"interaction.created","interaction":{"created":"2025-12-04T15:01:45Z","id":"v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg","model":"gemini-3.6-flash","status":"in_progress","updated":"2025-12-04T15:01:45Z"}} ///
public sealed partial class InteractionCreatedEvent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSSEEvent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSSEEvent.g.cs index 1ccb0d67a..a134049d5 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSSEEvent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionSSEEvent.g.cs @@ -10,7 +10,7 @@ namespace Google.Gemini.NextGen public readonly partial struct InteractionSSEEvent : global::System.IEquatable { /// - /// + /// Example: {"error":{"code":"not_found","message":"Failed to get completed interaction: Result not found."},"event_type":"error"} /// #if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ErrorEvent? Error { get; init; } @@ -49,7 +49,8 @@ public bool TryPickError( /// /// Signals that the Interaction completed. Sent when the Interaction receives
/// Complete/Cancel or naturally terminates. No more input can be sent to the
- /// Interaction after this. + /// Interaction after this.
+ /// Example: {"event_id":"evt_123","event_type":"interaction.completed","interaction":{"created":"2025-12-04T15:01:45Z","id":"v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg","model":"gemini-3.6-flash","status":"completed","updated":"2025-12-04T15:01:45Z"}} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.InteractionCompletedEvent? Completed { get; init; } @@ -86,7 +87,8 @@ public bool TryPickCompleted( : throw new global::System.InvalidOperationException($"Expected union variant 'Completed' but the value was {ToString()}."); /// - /// Server response confirming that a new interaction was created. + /// Server response confirming that a new interaction was created.
+ /// Example: {"event_id":"evt_123","event_type":"interaction.created","interaction":{"created":"2025-12-04T15:01:45Z","id":"v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg","model":"gemini-3.6-flash","status":"in_progress","updated":"2025-12-04T15:01:45Z"}} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.InteractionCreatedEvent? Created { get; init; } @@ -123,7 +125,7 @@ public bool TryPickCreated( : throw new global::System.InvalidOperationException($"Expected union variant 'Created' but the value was {ToString()}."); /// - /// + /// Example: {"event_type":"interaction.status_update","interaction_id":"v1_ChdTMjQ0YWJ5TUF1TzcxZThQdjRpcnFRcxIXUzI0NGFieU1BdU83MWU4UHY0aXJxUXM","status":"in_progress"} /// #if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.InteractionStatusUpdate? StatusUpdate { get; init; } @@ -160,7 +162,7 @@ public bool TryPickStatusUpdate( : throw new global::System.InvalidOperationException($"Expected union variant 'StatusUpdate' but the value was {ToString()}."); /// - /// + /// Example: {"delta":{"type":"text","text":"Hello"},"event_type":"step.delta","index":0} /// #if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.StepDelta? StepDelta { get; init; } @@ -197,7 +199,7 @@ public bool TryPickStepDelta( : throw new global::System.InvalidOperationException($"Expected union variant 'StepDelta' but the value was {ToString()}."); /// - /// + /// Example: {"event_type":"step.start","index":0,"step":{"type":"model_output"}} /// #if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.StepStart? StepStart { get; init; } @@ -234,7 +236,7 @@ public bool TryPickStepStart( : throw new global::System.InvalidOperationException($"Expected union variant 'StepStart' but the value was {ToString()}."); /// - /// + /// Example: {"event_type":"step.stop","index":0} /// #if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.StepStop? StepStop { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionStatusUpdate.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionStatusUpdate.g.cs index 4063ef859..75694583f 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionStatusUpdate.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.InteractionStatusUpdate.g.cs @@ -4,7 +4,7 @@ namespace Google.Gemini.NextGen { /// - /// + /// Example: {"event_type":"interaction.status_update","interaction_id":"v1_ChdTMjQ0YWJ5TUF1TzcxZThQdjRpcnFRcxIXUzI0NGFieU1BdU83MWU4UHY0aXJxUXM","status":"in_progress"} /// public sealed partial class InteractionStatusUpdate { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolCallStep.g.cs index 30f99cce5..61c0d52c4 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// MCPServer tool call step. + /// MCPServer tool call step.
+ /// Example: {"name":"calculate_tax","type":"mcp_server_tool_call","arguments":{"income":120000,"state":"CA"},"id":"mcp_call_29012","server_name":"financial_mcp_server"} ///
public sealed partial class MCPServerToolCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolResultStep.g.cs index 230a192e8..c702735ba 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.MCPServerToolResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// MCPServer tool result step. + /// MCPServer tool result step.
+ /// Example: {"name":"calculate_tax","type":"mcp_server_tool_result","call_id":"mcp_call_29012","result":{"tax_due":32400},"server_name":"financial_mcp_server"} ///
public sealed partial class MCPServerToolResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ModelOutputStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ModelOutputStep.g.cs index 3c94659d1..5b8a8f605 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ModelOutputStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ModelOutputStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Output generated by the model. + /// Output generated by the model.
+ /// Example: {"type":"model_output","content":[{"type":"text","text":"The capital of France is Paris."}]} ///
public sealed partial class ModelOutputStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ResponseFormat4.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ResponseFormat4.g.cs index b5e54316a..c30e2ef3d 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ResponseFormat4.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ResponseFormat4.g.cs @@ -10,7 +10,8 @@ namespace Google.Gemini.NextGen public readonly partial struct ResponseFormat4 : global::System.IEquatable { /// - /// Configuration for audio output format. + /// Configuration for audio output format.
+ /// Example: {"type":"audio","sample_rate":24000} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.AudioResponseFormat? AudioFormat { get; init; } @@ -47,7 +48,8 @@ public bool TryPickAudioFormat( : throw new global::System.InvalidOperationException($"Expected union variant 'AudioFormat' but the value was {ToString()}."); /// - /// Configuration for image output format. + /// Configuration for image output format.
+ /// Example: {"type":"image","aspect_ratio":"16:9","image_size":"1K","mime_type":"image/jpeg"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ImageResponseFormat? ImageFormat { get; init; } @@ -84,7 +86,8 @@ public bool TryPickImageFormat( : throw new global::System.InvalidOperationException($"Expected union variant 'ImageFormat' but the value was {ToString()}."); /// - /// Configuration for text output format. + /// Configuration for text output format.
+ /// Example: {"type":"text","mime_type":"application/json","schema":{"type":"object","properties":{"ingredients":{"type":"array","items":{"type":"string"}},"recipe_name":{"type":"string"}},"required":["ingredients","recipe_name"]}} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.TextResponseFormat? TextFormat { get; init; } @@ -121,7 +124,8 @@ public bool TryPickTextFormat( : throw new global::System.InvalidOperationException($"Expected union variant 'TextFormat' but the value was {ToString()}."); /// - /// Configuration for video output format. + /// Configuration for video output format.
+ /// Example: {"type":"video","aspect_ratio":"16:9","delivery":"inline"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.VideoResponseFormat? VideoFormat { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Step.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Step.g.cs index d21d3ecd5..57e3a6f9f 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Step.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.Step.g.cs @@ -10,7 +10,8 @@ namespace Google.Gemini.NextGen public readonly partial struct Step : global::System.IEquatable { /// - /// Code execution call step. + /// Code execution call step.
+ /// Example: {"type":"code_execution_call","arguments":{"code":"print(sum(range(1, 11)))","language":"python"},"id":"code_call_71021"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.CodeExecutionCallStep? CodeExecutionCall { get; init; } @@ -47,7 +48,8 @@ public bool TryPickCodeExecutionCall( : throw new global::System.InvalidOperationException($"Expected union variant 'CodeExecutionCall' but the value was {ToString()}."); /// - /// Code execution result step. + /// Code execution result step.
+ /// Example: {"type":"code_execution_result","call_id":"code_call_71021","result":"55\n"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.CodeExecutionResultStep? CodeExecutionResult { get; init; } @@ -84,7 +86,8 @@ public bool TryPickCodeExecutionResult( : throw new global::System.InvalidOperationException($"Expected union variant 'CodeExecutionResult' but the value was {ToString()}."); /// - /// File Search call step. + /// File Search call step.
+ /// Example: {"type":"file_search_call","id":"file_call_88192"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.FileSearchCallStep? FileSearchCall { get; init; } @@ -121,7 +124,8 @@ public bool TryPickFileSearchCall( : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearchCall' but the value was {ToString()}."); /// - /// File Search result step. + /// File Search result step.
+ /// Example: {"type":"file_search_result","call_id":"file_call_88192"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.FileSearchResultStep? FileSearchResult { get; init; } @@ -158,7 +162,8 @@ public bool TryPickFileSearchResult( : throw new global::System.InvalidOperationException($"Expected union variant 'FileSearchResult' but the value was {ToString()}."); /// - /// A function tool call step. + /// A function tool call step.
+ /// Example: {"name":"get_weather","type":"function_call","arguments":{"location":"Boston, MA"},"id":"call_98231"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.FunctionCallStep? FunctionCall { get; init; } @@ -195,7 +200,8 @@ public bool TryPickFunctionCall( : throw new global::System.InvalidOperationException($"Expected union variant 'FunctionCall' but the value was {ToString()}."); /// - /// Result of a function tool call. + /// Result of a function tool call.
+ /// Example: {"name":"get_weather","type":"function_result","call_id":"call_98231","result":[{"type":"text","text":"{\u0022weather\u0022:\u0022sunny\u0022}"}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.FunctionResultStep? FunctionResult { get; init; } @@ -232,7 +238,8 @@ public bool TryPickFunctionResult( : throw new global::System.InvalidOperationException($"Expected union variant 'FunctionResult' but the value was {ToString()}."); /// - /// Google Maps call step. + /// Google Maps call step.
+ /// Example: {"type":"google_maps_call","arguments":{"queries":["parks near San Francisco"]},"id":"maps_call_39201"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.GoogleMapsCallStep? GoogleMapsCall { get; init; } @@ -269,7 +276,8 @@ public bool TryPickGoogleMapsCall( : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleMapsCall' but the value was {ToString()}."); /// - /// Google Maps result step. + /// Google Maps result step.
+ /// Example: {"type":"google_maps_result","call_id":"maps_call_39201","result":[{"places":[{"url":"https://maps.google.com/?cid=12345","name":"Golden Gate Park","place_id":"ChIJIQBpAG2ahYAR9R7bNdTLg8M"}]}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.GoogleMapsResultStep? GoogleMapsResult { get; init; } @@ -306,7 +314,8 @@ public bool TryPickGoogleMapsResult( : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleMapsResult' but the value was {ToString()}."); /// - /// Google Search call step. + /// Google Search call step.
+ /// Example: {"type":"google_search_call","arguments":{"queries":["Who won the men\u0027s 100m in Paris 2024?"]},"id":"search_call_19201"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.GoogleSearchCallStep? GoogleSearchCall { get; init; } @@ -343,7 +352,8 @@ public bool TryPickGoogleSearchCall( : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleSearchCall' but the value was {ToString()}."); /// - /// Google Search result step. + /// Google Search result step.
+ /// Example: {"type":"google_search_result","call_id":"search_call_19201","result":[{"search_suggestions":"\u003Cdiv class=\u0022container\u0022\u003E...\u003C/div\u003E"}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.GoogleSearchResultStep? GoogleSearchResult { get; init; } @@ -380,7 +390,8 @@ public bool TryPickGoogleSearchResult( : throw new global::System.InvalidOperationException($"Expected union variant 'GoogleSearchResult' but the value was {ToString()}."); /// - /// MCPServer tool call step. + /// MCPServer tool call step.
+ /// Example: {"name":"calculate_tax","type":"mcp_server_tool_call","arguments":{"income":120000,"state":"CA"},"id":"mcp_call_29012","server_name":"financial_mcp_server"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.MCPServerToolCallStep? MCPServerToolCall { get; init; } @@ -417,7 +428,8 @@ public bool TryPickMCPServerToolCall( : throw new global::System.InvalidOperationException($"Expected union variant 'MCPServerToolCall' but the value was {ToString()}."); /// - /// MCPServer tool result step. + /// MCPServer tool result step.
+ /// Example: {"name":"calculate_tax","type":"mcp_server_tool_result","call_id":"mcp_call_29012","result":{"tax_due":32400},"server_name":"financial_mcp_server"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.MCPServerToolResultStep? MCPServerToolResult { get; init; } @@ -454,7 +466,8 @@ public bool TryPickMCPServerToolResult( : throw new global::System.InvalidOperationException($"Expected union variant 'MCPServerToolResult' but the value was {ToString()}."); /// - /// Output generated by the model. + /// Output generated by the model.
+ /// Example: {"type":"model_output","content":[{"type":"text","text":"The capital of France is Paris."}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ModelOutputStep? ModelOutput { get; init; } @@ -644,7 +657,8 @@ public bool TryPickRetrievalResult( : throw new global::System.InvalidOperationException($"Expected union variant 'RetrievalResult' but the value was {ToString()}."); /// - /// A thought step. + /// A thought step.
+ /// Example: {"type":"thought","signature":"thought_sig_abcd1234","summary":[{"type":"text","text":"The model is searching Google for the capital of France."}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ThoughtStep? Thought { get; init; } @@ -681,7 +695,8 @@ public bool TryPickThought( : throw new global::System.InvalidOperationException($"Expected union variant 'Thought' but the value was {ToString()}."); /// - /// URL context call step. + /// URL context call step.
+ /// Example: {"type":"url_context_call","arguments":{"urls":["https://www.example.com"]},"id":"url_call_10219"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.URLContextCallStep? URLContextCall { get; init; } @@ -718,7 +733,8 @@ public bool TryPickURLContextCall( : throw new global::System.InvalidOperationException($"Expected union variant 'URLContextCall' but the value was {ToString()}."); /// - /// URL context result step. + /// URL context result step.
+ /// Example: {"type":"url_context_result","call_id":"url_call_10219","result":[{"url":"https://www.example.com","status":"success"}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.URLContextResultStep? URLContextResult { get; init; } @@ -755,7 +771,8 @@ public bool TryPickURLContextResult( : throw new global::System.InvalidOperationException($"Expected union variant 'URLContextResult' but the value was {ToString()}."); /// - /// Input provided by the user. + /// Input provided by the user.
+ /// Example: {"type":"user_input","content":[{"type":"text","text":"What is the capital of France?"}]} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.UserInputStep? UserInput { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepDelta.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepDelta.g.cs index cda721141..3c698a6df 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepDelta.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepDelta.g.cs @@ -4,7 +4,7 @@ namespace Google.Gemini.NextGen { /// - /// + /// Example: {"delta":{"type":"text","text":"Hello"},"event_type":"step.delta","index":0} /// public sealed partial class StepDelta { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStart.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStart.g.cs index aa4b079e0..f6ad99de1 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStart.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStart.g.cs @@ -4,7 +4,7 @@ namespace Google.Gemini.NextGen { /// - /// + /// Example: {"event_type":"step.start","index":0,"step":{"type":"model_output"}} /// public sealed partial class StepStart { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStop.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStop.g.cs index 6e3082cce..96210dae9 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStop.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.StepStop.g.cs @@ -4,7 +4,7 @@ namespace Google.Gemini.NextGen { /// - /// + /// Example: {"event_type":"step.stop","index":0} /// public sealed partial class StepStop { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextContent.g.cs index 4df96a3f0..f42c822f9 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextContent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// A text content block. + /// A text content block.
+ /// Example: {"type":"text","text":"Hello, how are you?"} ///
public sealed partial class TextContent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextResponseFormat.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextResponseFormat.g.cs index d29275a95..c62c0445e 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextResponseFormat.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.TextResponseFormat.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Configuration for text output format. + /// Configuration for text output format.
+ /// Example: {"type":"text","mime_type":"application/json","schema":{"type":"object","properties":{"ingredients":{"type":"array","items":{"type":"string"}},"recipe_name":{"type":"string"}},"required":["ingredients","recipe_name"]}} ///
public sealed partial class TextResponseFormat { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtStep.g.cs index 7524cfeb0..24b5345f4 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// A thought step. + /// A thought step.
+ /// Example: {"type":"thought","signature":"thought_sig_abcd1234","summary":[{"type":"text","text":"The model is searching Google for the capital of France."}]} ///
public sealed partial class ThoughtStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtSummaryContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtSummaryContent.g.cs index d3af4b94d..53077fffd 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtSummaryContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ThoughtSummaryContent.g.cs @@ -10,7 +10,8 @@ namespace Google.Gemini.NextGen public readonly partial struct ThoughtSummaryContent : global::System.IEquatable { /// - /// An image content block. + /// An image content block.
+ /// Example: {"type":"image","data":"BASE64_ENCODED_IMAGE","mime_type":"image/png"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.ImageContent? Image { get; init; } @@ -47,7 +48,8 @@ public bool TryPickImage( : throw new global::System.InvalidOperationException($"Expected union variant 'Image' but the value was {ToString()}."); /// - /// A text content block. + /// A text content block.
+ /// Example: {"type":"text","text":"Hello, how are you?"} ///
#if NET6_0_OR_GREATER public global::Google.Gemini.NextGen.TextContent? Text { get; init; } diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ToolChoiceConfig.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ToolChoiceConfig.g.cs index 8faed5316..44c423841 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ToolChoiceConfig.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.ToolChoiceConfig.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// The tool choice configuration containing allowed tools. + /// The tool choice configuration containing allowed tools.
+ /// Example: {"allowed_tools":{"mode":"any","tools":["my_tool"]}} ///
public sealed partial class ToolChoiceConfig { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextCallStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextCallStep.g.cs index 8f94db947..ecb71398c 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextCallStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextCallStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// URL context call step. + /// URL context call step.
+ /// Example: {"type":"url_context_call","arguments":{"urls":["https://www.example.com"]},"id":"url_call_10219"} ///
public sealed partial class URLContextCallStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextResultStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextResultStep.g.cs index e6b6d9616..8a19be95d 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextResultStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.URLContextResultStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// URL context result step. + /// URL context result step.
+ /// Example: {"type":"url_context_result","call_id":"url_call_10219","result":[{"url":"https://www.example.com","status":"success"}]} ///
public sealed partial class URLContextResultStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.UserInputStep.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.UserInputStep.g.cs index 5d4bae99f..10526ba98 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.UserInputStep.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.UserInputStep.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Input provided by the user. + /// Input provided by the user.
+ /// Example: {"type":"user_input","content":[{"type":"text","text":"What is the capital of France?"}]} ///
public sealed partial class UserInputStep { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoContent.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoContent.g.cs index 17e47efd1..cca2ecc34 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoContent.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoContent.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// A video content block. + /// A video content block.
+ /// Example: {"type":"video","uri":"https://www.youtube.com/watch?v=9hE5-98ZeCg"} ///
public sealed partial class VideoContent { diff --git a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoResponseFormat.g.cs b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoResponseFormat.g.cs index 4fd6d4842..ea5f53a85 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoResponseFormat.g.cs +++ b/src/libs/Google.Gemini/NextGen/Generated/Google.Gemini.NextGen.Models.VideoResponseFormat.g.cs @@ -4,7 +4,8 @@ namespace Google.Gemini.NextGen { /// - /// Configuration for video output format. + /// Configuration for video output format.
+ /// Example: {"type":"video","aspect_ratio":"16:9","delivery":"inline"} ///
public sealed partial class VideoResponseFormat { 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 d0463b659..c948d255c 100644 --- a/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json +++ b/src/libs/Google.Gemini/NextGen/Generated/autosdk.generated-examples.json @@ -2,6 +2,17 @@ "Examples": [ { "Order": 1, + "Title": "Creates a new Agent (Typed version for SDK).", + "Slug": "createagent", + "Description": "Creates a new Agent (Typed version for SDK).", + "Language": "http", + "Code": "### Creates a new Agent (Typed version for SDK).\n# @name CreateAgent\nPOST {{host}}/v1beta/agents\nx-goog-api-key: {{api_key}}\nContent-Type: application/json\nAccept: application/json\n\n{\n \u0022agent_config\u0022: {\n \u0022max_total_tokens\u0022: \u0022string\u0022,\n \u0022model\u0022: \u0022string\u0022,\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022base_agent\u0022: \u0022string\u0022,\n \u0022base_environment\u0022: {\n \u0022env\u0022: {},\n \u0022environment_id\u0022: \u0022string\u0022,\n \u0022network\u0022: {\n \u0022allowlist\u0022: [\n {\n \u0022domain\u0022: \u0022github.com\u0022,\n \u0022transform\u0022: [\n {\n \u0022Authorization\u0022: \u0022Bearer your-token\u0022\n }\n ]\n },\n {\n \u0022domain\u0022: \u0022*.googleapis.com\u0022\n }\n ]\n },\n \u0022sources\u0022: [\n {}\n ],\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022description\u0022: \u0022string\u0022,\n \u0022id\u0022: \u0022string\u0022,\n \u0022system_instruction\u0022: \u0022string\u0022,\n \u0022tools\u0022: [\n {\n \u0022type\u0022: \u0022string\u0022\n }\n ]\n}\n\n## Responses\n# default\n# Description: Successful operation\n# Content-Type: application/json", + "Format": "http", + "OperationId": "CreateAgent", + "Setup": null + }, + { + "Order": 2, "Title": "Deletes an Agent.", "Slug": "deleteagent", "Description": "Deletes an Agent.", @@ -12,7 +23,7 @@ "Setup": null }, { - "Order": 2, + "Order": 3, "Title": "Gets a specific Agent.", "Slug": "getagent", "Description": "Gets a specific Agent.", @@ -23,7 +34,18 @@ "Setup": null }, { - "Order": 3, + "Order": 4, + "Title": "Lists all Agents.", + "Slug": "listagents", + "Description": "Lists all Agents.", + "Language": "csharp", + "Code": "using var client = new GeminiNextGenClient(apiKey);\nvar response = await client.Agents.ListAsync();", + "Format": "sdk", + "OperationId": "ListAgents", + "Setup": "This example assumes \u0060using Google.Gemini.NextGen;\u0060 is in scope and \u0060apiKey\u0060 contains the required credential." + }, + { + "Order": 5, "Title": "Cancels an interaction by id. This only applies to background interactions\nthat are still running.", "Slug": "cancelinteractionbyid", "Description": "Cancels an interaction by id. This only applies to background interactions\nthat are still running.", @@ -34,18 +56,18 @@ "Setup": null }, { - "Order": 4, + "Order": 6, "Title": "Creates a new interaction.", "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 \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", + "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 \u0022domain\u0022: \u0022github.com\u0022,\n \u0022transform\u0022: [\n {\n \u0022Authorization\u0022: \u0022Bearer your-token\u0022\n }\n ]\n },\n {\n \u0022domain\u0022: \u0022*.googleapis.com\u0022\n }\n ]\n },\n \u0022sources\u0022: [\n {}\n ],\n \u0022type\u0022: \u0022string\u0022\n },\n \u0022input\u0022: {\n \u0022type\u0022: \u0022audio\u0022,\n \u0022data\u0022: \u0022BASE64_ENCODED_AUDIO\u0022,\n \u0022mime_type\u0022: \u0022audio/wav\u0022\n },\n \u0022labels\u0022: {},\n \u0022previous_interaction_id\u0022: \u0022string\u0022,\n \u0022response_format\u0022: {\n \u0022type\u0022: \u0022audio\u0022,\n \u0022sample_rate\u0022: 24000\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 }, { - "Order": 5, + "Order": 7, "Title": "Retrieves the full details of a single interaction based on its\n\u0060Interaction.id\u0060.", "Slug": "getinteractionbyid", "Description": "Retrieves the full details of a single interaction based on its\n\u0060Interaction.id\u0060.", diff --git a/src/libs/Google.Gemini/nextgen.openapi.json b/src/libs/Google.Gemini/nextgen.openapi.json index 84d93e40e..a19fc10da 100644 --- a/src/libs/Google.Gemini/nextgen.openapi.json +++ b/src/libs/Google.Gemini/nextgen.openapi.json @@ -99,6 +99,26 @@ "description": "Successful operation", "content": { "application/json": { + "examples": { + "list": { + "summary": "List Agents", + "value": { + "agents": [ + { + "description": "A helpful research assistant.", + "base_agent": "antigravity-preview-05-2026", + "id": "research-assistant-abc123", + "system_instruction": "You are a helpful research assistant.", + "tools": [ + { + "type": "google_search" + } + ] + } + ] + } + } + }, "schema": { "$ref": "#/components/schemas/ListAgentsResponse" } @@ -165,6 +185,55 @@ "description": "Successful operation", "content": { "application/json": { + "examples": { + "create": { + "summary": "Create Agent", + "value": { + "description": "A helpful research assistant.", + "base_agent": "antigravity-preview-05-2026", + "base_environment": "remote", + "id": "research-assistant-abc123", + "system_instruction": "You are a helpful research assistant.", + "tools": [ + { + "type": "google_search" + } + ] + } + }, + "fork_from_env": { + "summary": "Agent Forked from Environment", + "value": { + "base_agent": "antigravity-preview-05-2026", + "base_environment": "env_abc123", + "id": "my-data-analyst-abc123", + "system_instruction": "You are a data analyst. Use the template at /workspace/template.py for all reports." + } + }, + "with_sources": { + "summary": "Agent with Sources", + "value": { + "base_agent": "antigravity-preview-05-2026", + "base_environment": { + "type": "remote", + "sources": [ + { + "type": "inline", + "content": "Always use matplotlib for charts. Include a summary table in every report.", + "target": ".agents/AGENTS.md" + }, + { + "type": "repository", + "source": "https://github.com/my-org/analysis-templates", + "target": "/workspace/templates" + } + ] + }, + "id": "data-analyst-abc123", + "system_instruction": "You are a data analyst. Always include visualizations and export results as PDF." + } + } + }, "schema": { "$ref": "#/components/schemas/Agent" } @@ -1865,6 +1934,30 @@ "description": "Successful operation", "content": { "application/json": { + "examples": { + "cancel": { + "summary": "Cancel Interaction", + "value": { + "agent": "deep-research-pro-preview-12-2025", + "created": "2026-06-22T04:55:47Z", + "id": "v1_ChdVc0E0YXJTYk1zYlV6N0lQcXRXVG1BYxIXVXNBNGFyU2JNc2JVejdJUHF0V1RtQWM", + "object": "interaction", + "status": "cancelled", + "steps": [ + { + "type": "user_input", + "content": [ + { + "type": "text", + "text": "Research the history of the Google TPUs with a focus on 2025 specs." + } + ] + } + ], + "updated": "2026-06-22T04:55:47Z" + } + } + }, "schema": { "$ref": "#/components/schemas/Interaction" } @@ -3432,6 +3525,14 @@ "required": [ "type" ], + "example": { + "type": "audio", + "data": "BASE64_ENCODED_AUDIO", + "mime_type": "audio/wav" + }, + "x-example-summaries": [ + "Audio" + ], "x-speakeasy-exports": [ { "name": "AudioContent", @@ -3589,6 +3690,13 @@ "required": [ "type" ], + "example": { + "type": "audio", + "sample_rate": 24000 + }, + "x-example-summaries": [ + "Audio Output" + ], "x-speakeasy-exports": [ { "name": "AudioResponseFormat", @@ -3707,6 +3815,17 @@ "id", "type" ], + "example": { + "type": "code_execution_call", + "arguments": { + "code": "print(sum(range(1, 11)))", + "language": "python" + }, + "id": "code_call_71021" + }, + "x-example-summaries": [ + "CodeExecutionCallStep" + ], "x-speakeasy-exports": [ { "name": "CodeExecutionCallStep", @@ -3799,6 +3918,14 @@ "result", "type" ], + "example": { + "type": "code_execution_result", + "call_id": "code_call_71021", + "result": "55\n" + }, + "x-example-summaries": [ + "CodeExecutionResultStep" + ], "x-speakeasy-exports": [ { "name": "CodeExecutionResultStep", @@ -4239,6 +4366,14 @@ "required": [ "type" ], + "example": { + "type": "document", + "data": "BASE64_ENCODED_DOCUMENT", + "mime_type": "application/pdf" + }, + "x-example-summaries": [ + "Document" + ], "x-speakeasy-exports": [ { "name": "DocumentContent", @@ -4524,6 +4659,70 @@ "required": [ "type" ], + "examples": [ + { + "type": "remote", + "sources": [ + { + "type": "inline", + "content": "You are a data analyst. Always include visualizations and export results as PDF.", + "target": ".agents/AGENTS.md" + }, + { + "type": "inline", + "content": "---\nname: slide-maker\ndescription: Create HTML slide decks\n---\n# Slide Maker\n\nWhen asked to create a presentation:\n1. Analyze the input data\n2. Create an HTML slide deck with reveal.js\n3. Save to /workspace/output/slides.html", + "target": ".agents/skills/slide-maker/SKILL.md" + } + ] + }, + { + "type": "remote", + "sources": [ + { + "type": "repository", + "source": "https://github.com/my-org/my-skills.git", + "target": ".agents/skills" + }, + { + "type": "gcs", + "source": "gs://my-bucket/my-folder", + "target": "/workspace/data" + } + ] + }, + { + "type": "remote", + "network": { + "allowlist": [ + { + "domain": "pypi.org" + }, + { + "domain": "*.github.com" + } + ] + } + }, + { + "type": "remote", + "network": { + "allowlist": [ + { + "domain": "api.github.com", + "transform": { + "Authorization": "Bearer YOUR_GITHUB_TOKEN" + } + } + ] + } + } + ], + "x-example-summaries": [ + "Inline Sources", + "External Sources", + "Network Allowlist", + "Proxy Credentials" + ], "x-speakeasy-exports": [ { "name": "Environment", @@ -4595,6 +4794,21 @@ }, "EnvironmentNetworkEgressAllowlist": { "description": "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.", + "example": { + "allowlist": [ + { + "domain": "github.com", + "transform": [ + { + "Authorization": "Bearer your-token" + } + ] + }, + { + "domain": "*.googleapis.com" + } + ] + }, "oneOf": [ { "title": "Allowlist", @@ -4622,6 +4836,9 @@ ] } ], + "x-example-summaries": [ + "Network Allowlist" + ], "x-speakeasy-model-namespace": "interactions" }, "EnvironmentVariableConfig": { @@ -4758,6 +4975,16 @@ "required": [ "event_type" ], + "example": { + "error": { + "code": "not_found", + "message": "Failed to get completed interaction: Result not found." + }, + "event_type": "error" + }, + "x-example-summaries": [ + "Error Event" + ], "x-speakeasy-exports": [ { "name": "ErrorEvent", @@ -4955,6 +5182,13 @@ "id", "type" ], + "example": { + "type": "file_search_call", + "id": "file_call_88192" + }, + "x-example-summaries": [ + "FileSearchCallStep" + ], "x-speakeasy-exports": [ { "name": "FileSearchCallStep", @@ -5015,6 +5249,13 @@ "call_id", "type" ], + "example": { + "type": "file_search_result", + "call_id": "file_call_88192" + }, + "x-example-summaries": [ + "FileSearchResultStep" + ], "x-speakeasy-exports": [ { "name": "FileSearchResultStep", @@ -5186,6 +5427,17 @@ "name", "type" ], + "example": { + "name": "get_weather", + "type": "function_call", + "arguments": { + "location": "Boston, MA" + }, + "id": "call_98231" + }, + "x-example-summaries": [ + "FunctionCallStep" + ], "x-speakeasy-exports": [ { "name": "FunctionCallStep", @@ -5272,6 +5524,20 @@ "result", "type" ], + "example": { + "name": "get_weather", + "type": "function_result", + "call_id": "call_98231", + "result": [ + { + "type": "text", + "text": "{\"weather\":\"sunny\"}" + } + ] + }, + "x-example-summaries": [ + "FunctionResultStep" + ], "x-speakeasy-exports": [ { "name": "FunctionResultStep", @@ -5566,6 +5832,18 @@ "id", "type" ], + "example": { + "type": "google_maps_call", + "arguments": { + "queries": [ + "parks near San Francisco" + ] + }, + "id": "maps_call_39201" + }, + "x-example-summaries": [ + "GoogleMapsCallStep" + ], "x-speakeasy-exports": [ { "name": "GoogleMapsCallStep", @@ -5711,6 +5989,24 @@ "result", "type" ], + "example": { + "type": "google_maps_result", + "call_id": "maps_call_39201", + "result": [ + { + "places": [ + { + "url": "https://maps.google.com/?cid=12345", + "name": "Golden Gate Park", + "place_id": "ChIJIQBpAG2ahYAR9R7bNdTLg8M" + } + ] + } + ] + }, + "x-example-summaries": [ + "GoogleMapsResultStep" + ], "x-speakeasy-exports": [ { "name": "GoogleMapsResultStep", @@ -5853,6 +6149,18 @@ "id", "type" ], + "example": { + "type": "google_search_call", + "arguments": { + "queries": [ + "Who won the men's 100m in Paris 2024?" + ] + }, + "id": "search_call_19201" + }, + "x-example-summaries": [ + "GoogleSearchCallStep" + ], "x-speakeasy-exports": [ { "name": "GoogleSearchCallStep", @@ -5973,6 +6281,18 @@ "result", "type" ], + "example": { + "type": "google_search_result", + "call_id": "search_call_19201", + "result": [ + { + "search_suggestions": "
...
" + } + ] + }, + "x-example-summaries": [ + "GoogleSearchResultStep" + ], "x-speakeasy-exports": [ { "name": "GoogleSearchResultStep", @@ -6270,6 +6590,14 @@ "required": [ "type" ], + "example": { + "type": "image", + "data": "BASE64_ENCODED_IMAGE", + "mime_type": "image/png" + }, + "x-example-summaries": [ + "Image" + ], "x-speakeasy-exports": [ { "name": "ImageContent", @@ -6410,6 +6738,15 @@ "required": [ "type" ], + "example": { + "type": "image", + "aspect_ratio": "16:9", + "image_size": "1K", + "mime_type": "image/jpeg" + }, + "x-example-summaries": [ + "Image Output" + ], "x-speakeasy-exports": [ { "name": "ImageResponseFormat", @@ -6718,6 +7055,20 @@ "event_type", "interaction" ], + "example": { + "event_id": "evt_123", + "event_type": "interaction.completed", + "interaction": { + "created": "2025-12-04T15:01:45Z", + "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg", + "model": "gemini-3.6-flash", + "status": "completed", + "updated": "2025-12-04T15:01:45Z" + } + }, + "x-example-summaries": [ + "Interaction Completed" + ], "x-speakeasy-exports": [ { "name": "InteractionCompletedEvent", @@ -6746,6 +7097,20 @@ "event_type", "interaction" ], + "example": { + "event_id": "evt_123", + "event_type": "interaction.created", + "interaction": { + "created": "2025-12-04T15:01:45Z", + "id": "v1_ChdXS0l4YWZXTk9xbk0xZThQczhEcmlROBIXV0tJeGFmV05PcW5NMWU4UHM4RHJpUTg", + "model": "gemini-3.6-flash", + "status": "in_progress", + "updated": "2025-12-04T15:01:45Z" + } + }, + "x-example-summaries": [ + "Interaction Created" + ], "x-speakeasy-exports": [ { "name": "InteractionCreatedEvent", @@ -6935,6 +7300,14 @@ "interaction_id", "status" ], + "example": { + "event_type": "interaction.status_update", + "interaction_id": "v1_ChdTMjQ0YWJ5TUF1TzcxZThQdjRpcnFRcxIXUzI0NGFieU1BdU83MWU4UHY0aXJxUXM", + "status": "in_progress" + }, + "x-example-summaries": [ + "Interaction Status Update" + ], "x-speakeasy-exports": [ { "name": "InteractionStatusUpdate", @@ -7261,6 +7634,19 @@ "server_name", "type" ], + "example": { + "name": "calculate_tax", + "type": "mcp_server_tool_call", + "arguments": { + "income": 120000, + "state": "CA" + }, + "id": "mcp_call_29012", + "server_name": "financial_mcp_server" + }, + "x-example-summaries": [ + "McpServerToolCallStep" + ], "x-speakeasy-exports": [ { "name": "MCPServerToolCallStep", @@ -7349,6 +7735,18 @@ "result", "type" ], + "example": { + "name": "calculate_tax", + "type": "mcp_server_tool_result", + "call_id": "mcp_call_29012", + "result": { + "tax_due": 32400 + }, + "server_name": "financial_mcp_server" + }, + "x-example-summaries": [ + "McpServerToolResultStep" + ], "x-speakeasy-exports": [ { "name": "MCPServerToolResultStep", @@ -7695,6 +8093,18 @@ "required": [ "type" ], + "example": { + "type": "model_output", + "content": [ + { + "type": "text", + "text": "The capital of France is Paris." + } + ] + }, + "x-example-summaries": [ + "ModelOutputStep" + ], "x-speakeasy-exports": [ { "name": "ModelOutputStep", @@ -8907,6 +9317,17 @@ "event_type", "index" ], + "example": { + "delta": { + "type": "text", + "text": "Hello" + }, + "event_type": "step.delta", + "index": 0 + }, + "x-example-summaries": [ + "Step Delta" + ], "x-speakeasy-exports": [ { "name": "StepDelta", @@ -9032,6 +9453,16 @@ "index", "step" ], + "example": { + "event_type": "step.start", + "index": 0, + "step": { + "type": "model_output" + } + }, + "x-example-summaries": [ + "Step Start" + ], "x-speakeasy-exports": [ { "name": "StepStart", @@ -9067,6 +9498,13 @@ "event_type", "index" ], + "example": { + "event_type": "step.stop", + "index": 0 + }, + "x-example-summaries": [ + "Step Stop" + ], "x-speakeasy-exports": [ { "name": "StepStop", @@ -9117,6 +9555,13 @@ "text", "type" ], + "example": { + "type": "text", + "text": "Hello, how are you?" + }, + "x-example-summaries": [ + "Text" + ], "x-speakeasy-exports": [ { "name": "TextContent", @@ -9171,6 +9616,31 @@ "required": [ "type" ], + "example": { + "type": "text", + "mime_type": "application/json", + "schema": { + "type": "object", + "properties": { + "ingredients": { + "type": "array", + "items": { + "type": "string" + } + }, + "recipe_name": { + "type": "string" + } + }, + "required": [ + "ingredients", + "recipe_name" + ] + } + }, + "x-example-summaries": [ + "Text Output (JSON Schema)" + ], "x-speakeasy-exports": [ { "name": "TextResponseFormat", @@ -9267,6 +9737,19 @@ "required": [ "type" ], + "example": { + "type": "thought", + "signature": "thought_sig_abcd1234", + "summary": [ + { + "type": "text", + "text": "The model is searching Google for the capital of France." + } + ] + }, + "x-example-summaries": [ + "ThoughtStep" + ], "x-speakeasy-exports": [ { "name": "ThoughtStep", @@ -9339,6 +9822,17 @@ "$ref": "#/components/schemas/AllowedTools" } }, + "example": { + "allowed_tools": { + "mode": "any", + "tools": [ + "my_tool" + ] + } + }, + "x-example-summaries": [ + "Allowed Tools" + ], "x-speakeasy-exports": [ { "name": "ToolChoiceConfig", @@ -9949,6 +10443,18 @@ "id", "type" ], + "example": { + "type": "url_context_call", + "arguments": { + "urls": [ + "https://www.example.com" + ] + }, + "id": "url_call_10219" + }, + "x-example-summaries": [ + "UrlContextCallStep" + ], "x-speakeasy-exports": [ { "name": "URLContextCallStep", @@ -10096,6 +10602,19 @@ "result", "type" ], + "example": { + "type": "url_context_result", + "call_id": "url_call_10219", + "result": [ + { + "url": "https://www.example.com", + "status": "success" + } + ] + }, + "x-example-summaries": [ + "UrlContextResultStep" + ], "x-speakeasy-exports": [ { "name": "URLContextResultStep", @@ -10202,6 +10721,18 @@ "required": [ "type" ], + "example": { + "type": "user_input", + "content": [ + { + "type": "text", + "text": "What is the capital of France?" + } + ] + }, + "x-example-summaries": [ + "UserInputStep" + ], "x-speakeasy-exports": [ { "name": "UserInputStep", @@ -10357,6 +10888,13 @@ "required": [ "type" ], + "example": { + "type": "video", + "uri": "https://www.youtube.com/watch?v=9hE5-98ZeCg" + }, + "x-example-summaries": [ + "Video" + ], "x-speakeasy-exports": [ { "name": "VideoContent", @@ -10476,6 +11014,14 @@ "required": [ "type" ], + "example": { + "type": "video", + "aspect_ratio": "16:9", + "delivery": "inline" + }, + "x-example-summaries": [ + "Video Output" + ], "x-speakeasy-exports": [ { "name": "VideoResponseFormat",