From 7cf9e513a3b7665fe7a1ac64775997953821bc48 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 28 Mar 2026 02:03:10 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Google.Gemini..JsonSerializerContext.g.cs | 72 +-- ...gle.Gemini.GeminiClient.BatchesCancel.g.cs | 12 +- ...gle.Gemini.GeminiClient.BatchesDelete.g.cs | 12 +- ...ini.GeminiClient.CachedContentsDelete.g.cs | 12 +- ...iniClient.Constructors.ApiKeyInQuery.g.cs} | 0 ...gle.Gemini.GeminiClient.CorporaDelete.g.cs | 12 +- ...GeminiClient.CorporaPermissionsDelete.g.cs | 12 +- ...i.GeminiClient.FileSearchStoresDelete.g.cs | 12 +- ...lient.FileSearchStoresDocumentsDelete.g.cs | 12 +- ...oogle.Gemini.GeminiClient.FilesDelete.g.cs | 12 +- ...Gemini.GeminiClient.TunedModelsDelete.g.cs | 12 +- ...niClient.TunedModelsPermissionsDelete.g.cs | 12 +- ...niClient.TunedModelsTransferOwnership.g.cs | 14 +- ...le.Gemini.IGeminiClient.BatchesCancel.g.cs | 2 +- ...le.Gemini.IGeminiClient.BatchesDelete.g.cs | 2 +- ...ni.IGeminiClient.CachedContentsDelete.g.cs | 2 +- ...le.Gemini.IGeminiClient.CorporaDelete.g.cs | 2 +- ...GeminiClient.CorporaPermissionsDelete.g.cs | 2 +- ....IGeminiClient.FileSearchStoresDelete.g.cs | 2 +- ...lient.FileSearchStoresDocumentsDelete.g.cs | 2 +- ...ogle.Gemini.IGeminiClient.FilesDelete.g.cs | 2 +- ...emini.IGeminiClient.TunedModelsDelete.g.cs | 2 +- ...niClient.TunedModelsPermissionsDelete.g.cs | 2 +- ...niClient.TunedModelsTransferOwnership.g.cs | 4 +- ...gle.Gemini.JsonSerializerContextTypes.g.cs | 456 +++++++++--------- .../Generated/Google.Gemini.Models.Part.g.cs | 2 + .../Google.Gemini.Models.SearchTypes.g.cs | 8 +- .../Generated/Google.Gemini.Models.Tool.g.cs | 8 +- 28 files changed, 390 insertions(+), 314 deletions(-) rename src/libs/Google.Gemini/Generated/{Google.Gemini.GeminiClient.Constructors..g.cs => Google.Gemini.GeminiClient.Constructors.ApiKeyInQuery.g.cs} (100%) diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini..JsonSerializerContext.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini..JsonSerializerContext.g.cs index 5b6f16f..a7fdf45 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini..JsonSerializerContext.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini..JsonSerializerContext.g.cs @@ -158,6 +158,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Status))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Empty))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Content))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] @@ -167,7 +168,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySetting))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequestServiceTier))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequestServiceTier), TypeInfoPropertyName = "GenerateContentRequestServiceTier2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Part))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Blob))] @@ -182,60 +183,64 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponsePart))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseScheduling))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseScheduling), TypeInfoPropertyName = "FunctionResponseScheduling2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseBlob))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ExecutableCodeLanguage))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecutionResultOutcome))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCallToolType))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponseToolType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ExecutableCodeLanguage), TypeInfoPropertyName = "ExecutableCodeLanguage2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecutionResultOutcome), TypeInfoPropertyName = "CodeExecutionResultOutcome2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCallToolType), TypeInfoPropertyName = "ToolCallToolType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponseToolType), TypeInfoPropertyName = "ToolResponseToolType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclaration))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearchRetrieval))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecution))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearch))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ComputerUse))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlContext))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSearch))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.McpServer))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleMaps))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Schema))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclarationBehavior))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SchemaType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclarationBehavior), TypeInfoPropertyName = "FunctionDeclarationBehavior2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SchemaType), TypeInfoPropertyName = "SchemaType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfigMode))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfigMode), TypeInfoPropertyName = "DynamicRetrievalConfigMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Interval))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SearchTypes))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ComputerUseEnvironment))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.WebSearch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageSearch))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ComputerUseEnvironment), TypeInfoPropertyName = "ComputerUseEnvironment2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.StreamableHttpTransport))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievalConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfigMode))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfigMode), TypeInfoPropertyName = "FunctionCallingConfigMode2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LatLng))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingCategory))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingThreshold))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingCategory), TypeInfoPropertyName = "SafetySettingCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingThreshold), TypeInfoPropertyName = "SafetySettingThreshold2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigResponseModalitie))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigResponseModalitie), TypeInfoPropertyName = "GenerationConfigResponseModalitie2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeechConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigMediaResolution))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigMediaResolution), TypeInfoPropertyName = "GenerationConfigMediaResolution2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VoiceConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.MultiSpeakerVoiceConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PrebuiltVoiceConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeakerVoiceConfig))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfigThinkingLevel))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfigThinkingLevel), TypeInfoPropertyName = "ThinkingConfigThinkingLevel2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Candidate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedback))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UsageMetadata))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModelStatus))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CandidateFinishReason))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CandidateFinishReason), TypeInfoPropertyName = "CandidateFinishReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRating))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CitationMetadata))] @@ -244,8 +249,8 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingMetadata))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LogprobsResult))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlContextMetadata))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRatingCategory))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRatingProbability))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRatingCategory), TypeInfoPropertyName = "SafetyRatingCategory2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRatingProbability), TypeInfoPropertyName = "SafetyRatingProbability2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CitationSource))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AttributionSourceId))] @@ -276,14 +281,14 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LogprobsResultCandidate))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlMetadata))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlMetadataUrlRetrievalStatus))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedbackBlockReason))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlMetadataUrlRetrievalStatus), TypeInfoPropertyName = "UrlMetadataUrlRetrievalStatus2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedbackBlockReason), TypeInfoPropertyName = "PromptFeedbackBlockReason2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCount))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCountModality))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModelStatusModelStage))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCountModality), TypeInfoPropertyName = "ModalityTokenCountModality2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModelStatusModelStage), TypeInfoPropertyName = "ModelStatusModelStage2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequestTaskType))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequestTaskType), TypeInfoPropertyName = "EmbedContentRequestTaskType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ContentEmbedding))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchEmbedContentsRequest))] @@ -297,7 +302,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchOutput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchStats))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchState))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchState), TypeInfoPropertyName = "GenerateContentBatchState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequests))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequest))] @@ -309,7 +314,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputEmbedContentConfig))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchOutput))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchStats))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchState))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchState), TypeInfoPropertyName = "EmbedContentBatchState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentRequests))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentRequest))] @@ -323,15 +328,15 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.File))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VideoFileMetadata))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileState))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSource))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileState), TypeInfoPropertyName = "FileState2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSource), TypeInfoPropertyName = "FileSource2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListFilesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFile))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFileState))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFileState), TypeInfoPropertyName = "GeneratedFileState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListGeneratedFilesResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Model))] @@ -339,7 +344,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModel))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelSource))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelState))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelState), TypeInfoPropertyName = "TunedModelState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningTask))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningSnapshot))] @@ -351,11 +356,12 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListTunedModelsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Permission))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionGranteeType))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionRole))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionGranteeType), TypeInfoPropertyName = "PermissionGranteeType2")] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionRole), TypeInfoPropertyName = "PermissionRole2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListPermissionsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TransferOwnershipRequest))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TransferOwnershipResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSearchStore))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Corpus))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListFileSearchStoresResponse))] @@ -365,7 +371,7 @@ namespace Google.Gemini [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Document))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CustomMetadata))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DocumentState))] + [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DocumentState), TypeInfoPropertyName = "DocumentState2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.StringList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListDocumentsResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesCancel.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesCancel.g.cs index 25702b0..6e01db3 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesCancel.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesCancel.g.cs @@ -27,7 +27,7 @@ partial void ProcessBatchesCancelResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task BatchesCancelAsync( + public async global::System.Threading.Tasks.Task BatchesCancelAsync( string batchesId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -98,7 +98,9 @@ partial void ProcessBatchesCancelResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -121,13 +123,15 @@ partial void ProcessBatchesCancelResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesDelete.g.cs index f8b9196..554fe70 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesDelete.g.cs @@ -27,7 +27,7 @@ partial void ProcessBatchesDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task BatchesDeleteAsync( + public async global::System.Threading.Tasks.Task BatchesDeleteAsync( string batchesId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -98,7 +98,9 @@ partial void ProcessBatchesDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -121,13 +123,15 @@ partial void ProcessBatchesDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsDelete.g.cs index 31d2878..910d2a4 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsDelete.g.cs @@ -27,7 +27,7 @@ partial void ProcessCachedContentsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CachedContentsDeleteAsync( + public async global::System.Threading.Tasks.Task CachedContentsDeleteAsync( string cachedContentsId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -98,7 +98,9 @@ partial void ProcessCachedContentsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -121,13 +123,15 @@ partial void ProcessCachedContentsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.Constructors..g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.Constructors.ApiKeyInQuery.g.cs similarity index 100% rename from src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.Constructors..g.cs rename to src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.Constructors.ApiKeyInQuery.g.cs diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaDelete.g.cs index 78266e9..9e681e8 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaDelete.g.cs @@ -30,7 +30,7 @@ partial void ProcessCorporaDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CorporaDeleteAsync( + public async global::System.Threading.Tasks.Task CorporaDeleteAsync( string corporaId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -107,7 +107,9 @@ partial void ProcessCorporaDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -130,13 +132,15 @@ partial void ProcessCorporaDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsDelete.g.cs index e4626d7..4e8c3fb 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsDelete.g.cs @@ -30,7 +30,7 @@ partial void ProcessCorporaPermissionsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task CorporaPermissionsDeleteAsync( + public async global::System.Threading.Tasks.Task CorporaPermissionsDeleteAsync( string permissionsId, string corporaId, global::System.Threading.CancellationToken cancellationToken = default) @@ -104,7 +104,9 @@ partial void ProcessCorporaPermissionsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -127,13 +129,15 @@ partial void ProcessCorporaPermissionsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDelete.g.cs index 7881bc9..c026d93 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDelete.g.cs @@ -30,7 +30,7 @@ partial void ProcessFileSearchStoresDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task FileSearchStoresDeleteAsync( + public async global::System.Threading.Tasks.Task FileSearchStoresDeleteAsync( string fileSearchStoresId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default) @@ -107,7 +107,9 @@ partial void ProcessFileSearchStoresDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -130,13 +132,15 @@ partial void ProcessFileSearchStoresDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsDelete.g.cs index 3db828a..5cb8da5 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsDelete.g.cs @@ -33,7 +33,7 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( + public async global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( string fileSearchStoresId, string documentsId, bool? force = default, @@ -113,7 +113,9 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -136,13 +138,15 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FilesDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FilesDelete.g.cs index 23a2bad..873ad3e 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FilesDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FilesDelete.g.cs @@ -27,7 +27,7 @@ partial void ProcessFilesDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task FilesDeleteAsync( + public async global::System.Threading.Tasks.Task FilesDeleteAsync( string filesId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -98,7 +98,9 @@ partial void ProcessFilesDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -121,13 +123,15 @@ partial void ProcessFilesDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsDelete.g.cs index 73ee10c..eee3b59 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsDelete.g.cs @@ -27,7 +27,7 @@ partial void ProcessTunedModelsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TunedModelsDeleteAsync( + public async global::System.Threading.Tasks.Task TunedModelsDeleteAsync( string tunedModelsId, global::System.Threading.CancellationToken cancellationToken = default) { @@ -98,7 +98,9 @@ partial void ProcessTunedModelsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -121,13 +123,15 @@ partial void ProcessTunedModelsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsDelete.g.cs index 6766f8c..5356b92 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsDelete.g.cs @@ -30,7 +30,7 @@ partial void ProcessTunedModelsPermissionsDeleteResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TunedModelsPermissionsDeleteAsync( + public async global::System.Threading.Tasks.Task TunedModelsPermissionsDeleteAsync( string tunedModelsId, string permissionsId, global::System.Threading.CancellationToken cancellationToken = default) @@ -104,7 +104,9 @@ partial void ProcessTunedModelsPermissionsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.Empty.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -127,13 +129,15 @@ partial void ProcessTunedModelsPermissionsDeleteResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.Empty.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsTransferOwnership.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsTransferOwnership.g.cs index 926bbf5..3412513 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsTransferOwnership.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsTransferOwnership.g.cs @@ -30,7 +30,7 @@ partial void ProcessTunedModelsTransferOwnershipResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( + public async global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( string tunedModelsId, global::Google.Gemini.TransferOwnershipRequest request, @@ -113,7 +113,9 @@ partial void ProcessTunedModelsTransferOwnershipResponseContent( { __response.EnsureSuccessStatusCode(); - return __content; + return + global::Google.Gemini.TransferOwnershipResponse.FromJson(__content, JsonSerializerContext) ?? + throw new global::System.InvalidOperationException($"Response deserialization failed for \"{__content}\" "); } catch (global::System.Exception __ex) { @@ -136,13 +138,15 @@ partial void ProcessTunedModelsTransferOwnershipResponseContent( { __response.EnsureSuccessStatusCode(); - var __content = await __response.Content.ReadAsStringAsync( + using var __content = await __response.Content.ReadAsStreamAsync( #if NET5_0_OR_GREATER cancellationToken #endif ).ConfigureAwait(false); - return __content; + return + await global::Google.Gemini.TransferOwnershipResponse.FromJsonStreamAsync(__content, JsonSerializerContext).ConfigureAwait(false) ?? + throw new global::System.InvalidOperationException("Response deserialization failed."); } catch (global::System.Exception __ex) { @@ -182,7 +186,7 @@ partial void ProcessTunedModelsTransferOwnershipResponseContent( /// /// The token to cancel the operation with /// - public async global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( + public async global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( string tunedModelsId, string? emailAddress = default, global::System.Threading.CancellationToken cancellationToken = default) diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesCancel.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesCancel.g.cs index cd6e163..de04be8 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesCancel.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesCancel.g.cs @@ -10,7 +10,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task BatchesCancelAsync( + global::System.Threading.Tasks.Task BatchesCancelAsync( string batchesId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesDelete.g.cs index c6b2840..5498881 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesDelete.g.cs @@ -10,7 +10,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task BatchesDeleteAsync( + global::System.Threading.Tasks.Task BatchesDeleteAsync( string batchesId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsDelete.g.cs index 3a214ca..ce63ebe 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsDelete.g.cs @@ -10,7 +10,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CachedContentsDeleteAsync( + global::System.Threading.Tasks.Task CachedContentsDeleteAsync( string cachedContentsId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaDelete.g.cs index 99849c5..e47f689 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaDelete.g.cs @@ -11,7 +11,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CorporaDeleteAsync( + global::System.Threading.Tasks.Task CorporaDeleteAsync( string corporaId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsDelete.g.cs index b4fef40..6237328 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsDelete.g.cs @@ -11,7 +11,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task CorporaPermissionsDeleteAsync( + global::System.Threading.Tasks.Task CorporaPermissionsDeleteAsync( string permissionsId, string corporaId, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDelete.g.cs index f9d4ffc..4450c74 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDelete.g.cs @@ -11,7 +11,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task FileSearchStoresDeleteAsync( + global::System.Threading.Tasks.Task FileSearchStoresDeleteAsync( string fileSearchStoresId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsDelete.g.cs index 87b466d..316e57a 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsDelete.g.cs @@ -12,7 +12,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( + global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( string fileSearchStoresId, string documentsId, bool? force = default, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FilesDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FilesDelete.g.cs index 602a723..37a7d06 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FilesDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FilesDelete.g.cs @@ -10,7 +10,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task FilesDeleteAsync( + global::System.Threading.Tasks.Task FilesDeleteAsync( string filesId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsDelete.g.cs index e7bc113..1f999b4 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsDelete.g.cs @@ -10,7 +10,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task TunedModelsDeleteAsync( + global::System.Threading.Tasks.Task TunedModelsDeleteAsync( string tunedModelsId, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsDelete.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsDelete.g.cs index f270162..2fd3248 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsDelete.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsDelete.g.cs @@ -11,7 +11,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task TunedModelsPermissionsDeleteAsync( + global::System.Threading.Tasks.Task TunedModelsPermissionsDeleteAsync( string tunedModelsId, string permissionsId, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsTransferOwnership.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsTransferOwnership.g.cs index e46f070..5344fc6 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsTransferOwnership.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsTransferOwnership.g.cs @@ -11,7 +11,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( + global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( string tunedModelsId, global::Google.Gemini.TransferOwnershipRequest request, @@ -25,7 +25,7 @@ public partial interface IGeminiClient /// /// The token to cancel the operation with /// - global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( + global::System.Threading.Tasks.Task TunedModelsTransferOwnershipAsync( string tunedModelsId, string? emailAddress = default, global::System.Threading.CancellationToken cancellationToken = default); diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContextTypes.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContextTypes.g.cs index ec2d299..cc9d488 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContextTypes.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContextTypes.g.cs @@ -68,867 +68,891 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Google.Gemini.GenerateContentRequest? Type10 { get; set; } + public global::Google.Gemini.Empty? Type10 { get; set; } /// /// /// - public global::Google.Gemini.Content? Type11 { get; set; } + public global::Google.Gemini.GenerateContentRequest? Type11 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type12 { get; set; } + public global::Google.Gemini.Content? Type12 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type13 { get; set; } + public global::System.Collections.Generic.IList? Type13 { get; set; } /// /// /// - public global::Google.Gemini.Tool? Type14 { get; set; } + public global::System.Collections.Generic.IList? Type14 { get; set; } /// /// /// - public global::Google.Gemini.ToolConfig? Type15 { get; set; } + public global::Google.Gemini.Tool? Type15 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type16 { get; set; } + public global::Google.Gemini.ToolConfig? Type16 { get; set; } /// /// /// - public global::Google.Gemini.SafetySetting? Type17 { get; set; } + public global::System.Collections.Generic.IList? Type17 { get; set; } /// /// /// - public global::Google.Gemini.GenerationConfig? Type18 { get; set; } + public global::Google.Gemini.SafetySetting? Type18 { get; set; } /// /// /// - public global::Google.Gemini.GenerateContentRequestServiceTier? Type19 { get; set; } + public global::Google.Gemini.GenerationConfig? Type19 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type20 { get; set; } + public global::Google.Gemini.GenerateContentRequestServiceTier? Type20 { get; set; } /// /// /// - public global::Google.Gemini.Part? Type21 { get; set; } + public global::System.Collections.Generic.IList? Type21 { get; set; } /// /// /// - public global::Google.Gemini.Blob? Type22 { get; set; } + public global::Google.Gemini.Part? Type22 { get; set; } /// /// /// - public global::Google.Gemini.FunctionCall? Type23 { get; set; } + public global::Google.Gemini.Blob? Type23 { get; set; } /// /// /// - public global::Google.Gemini.FunctionResponse? Type24 { get; set; } + public global::Google.Gemini.FunctionCall? Type24 { get; set; } /// /// /// - public global::Google.Gemini.FileData? Type25 { get; set; } + public global::Google.Gemini.FunctionResponse? Type25 { get; set; } /// /// /// - public global::Google.Gemini.ExecutableCode? Type26 { get; set; } + public global::Google.Gemini.FileData? Type26 { get; set; } /// /// /// - public global::Google.Gemini.CodeExecutionResult? Type27 { get; set; } + public global::Google.Gemini.ExecutableCode? Type27 { get; set; } /// /// /// - public global::Google.Gemini.ToolCall? Type28 { get; set; } + public global::Google.Gemini.CodeExecutionResult? Type28 { get; set; } /// /// /// - public global::Google.Gemini.ToolResponse? Type29 { get; set; } + public global::Google.Gemini.ToolCall? Type29 { get; set; } /// /// /// - public global::Google.Gemini.VideoMetadata? Type30 { get; set; } + public global::Google.Gemini.ToolResponse? Type30 { get; set; } /// /// /// - public byte[]? Type31 { get; set; } + public global::Google.Gemini.VideoMetadata? Type31 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type32 { get; set; } + public byte[]? Type32 { get; set; } /// /// /// - public global::Google.Gemini.FunctionResponsePart? Type33 { get; set; } + public global::System.Collections.Generic.IList? Type33 { get; set; } /// /// /// - public global::Google.Gemini.FunctionResponseScheduling? Type34 { get; set; } + public global::Google.Gemini.FunctionResponsePart? Type34 { get; set; } /// /// /// - public global::Google.Gemini.FunctionResponseBlob? Type35 { get; set; } + public global::Google.Gemini.FunctionResponseScheduling? Type35 { get; set; } /// /// /// - public global::Google.Gemini.ExecutableCodeLanguage? Type36 { get; set; } + public global::Google.Gemini.FunctionResponseBlob? Type36 { get; set; } /// /// /// - public global::Google.Gemini.CodeExecutionResultOutcome? Type37 { get; set; } + public global::Google.Gemini.ExecutableCodeLanguage? Type37 { get; set; } /// /// /// - public global::Google.Gemini.ToolCallToolType? Type38 { get; set; } + public global::Google.Gemini.CodeExecutionResultOutcome? Type38 { get; set; } /// /// /// - public global::Google.Gemini.ToolResponseToolType? Type39 { get; set; } + public global::Google.Gemini.ToolCallToolType? Type39 { get; set; } /// /// /// - public double? Type40 { get; set; } + public global::Google.Gemini.ToolResponseToolType? Type40 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type41 { get; set; } + public double? Type41 { get; set; } /// /// /// - public global::Google.Gemini.FunctionDeclaration? Type42 { get; set; } + public global::System.Collections.Generic.IList? Type42 { get; set; } /// /// /// - public global::Google.Gemini.GoogleSearchRetrieval? Type43 { get; set; } + public global::Google.Gemini.FunctionDeclaration? Type43 { get; set; } /// /// /// - public global::Google.Gemini.GoogleSearch? Type44 { get; set; } + public global::Google.Gemini.GoogleSearchRetrieval? Type44 { get; set; } /// /// /// - public global::Google.Gemini.ComputerUse? Type45 { get; set; } + public global::Google.Gemini.CodeExecution? Type45 { get; set; } /// /// /// - public global::Google.Gemini.FileSearch? Type46 { get; set; } + public global::Google.Gemini.GoogleSearch? Type46 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type47 { get; set; } + public global::Google.Gemini.ComputerUse? Type47 { get; set; } /// /// /// - public global::Google.Gemini.McpServer? Type48 { get; set; } + public global::Google.Gemini.UrlContext? Type48 { get; set; } /// /// /// - public global::Google.Gemini.GoogleMaps? Type49 { get; set; } + public global::Google.Gemini.FileSearch? Type49 { get; set; } /// /// /// - public global::Google.Gemini.Schema? Type50 { get; set; } + public global::System.Collections.Generic.IList? Type50 { get; set; } /// /// /// - public global::Google.Gemini.FunctionDeclarationBehavior? Type51 { get; set; } + public global::Google.Gemini.McpServer? Type51 { get; set; } /// /// /// - public global::Google.Gemini.SchemaType? Type52 { get; set; } + public global::Google.Gemini.GoogleMaps? Type52 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type53 { get; set; } + public global::Google.Gemini.Schema? Type53 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type54 { get; set; } + public global::Google.Gemini.FunctionDeclarationBehavior? Type54 { get; set; } /// /// /// - public global::Google.Gemini.DynamicRetrievalConfig? Type55 { get; set; } + public global::Google.Gemini.SchemaType? Type55 { get; set; } /// /// /// - public global::Google.Gemini.DynamicRetrievalConfigMode? Type56 { get; set; } + public global::System.Collections.Generic.Dictionary? Type56 { get; set; } /// /// /// - public float? Type57 { get; set; } + public global::System.Collections.Generic.IList? Type57 { get; set; } /// /// /// - public global::Google.Gemini.Interval? Type58 { get; set; } + public global::Google.Gemini.DynamicRetrievalConfig? Type58 { get; set; } /// /// /// - public global::Google.Gemini.SearchTypes? Type59 { get; set; } + public global::Google.Gemini.DynamicRetrievalConfigMode? Type59 { get; set; } /// /// /// - public global::Google.Gemini.ComputerUseEnvironment? Type60 { get; set; } + public float? Type60 { get; set; } /// /// /// - public global::Google.Gemini.StreamableHttpTransport? Type61 { get; set; } + public global::Google.Gemini.Interval? Type61 { get; set; } /// /// /// - public global::System.Collections.Generic.Dictionary? Type62 { get; set; } + public global::Google.Gemini.SearchTypes? Type62 { get; set; } /// /// /// - public global::Google.Gemini.FunctionCallingConfig? Type63 { get; set; } + public global::Google.Gemini.WebSearch? Type63 { get; set; } /// /// /// - public global::Google.Gemini.RetrievalConfig? Type64 { get; set; } + public global::Google.Gemini.ImageSearch? Type64 { get; set; } /// /// /// - public global::Google.Gemini.FunctionCallingConfigMode? Type65 { get; set; } + public global::Google.Gemini.ComputerUseEnvironment? Type65 { get; set; } /// /// /// - public global::Google.Gemini.LatLng? Type66 { get; set; } + public global::Google.Gemini.StreamableHttpTransport? Type66 { get; set; } /// /// /// - public global::Google.Gemini.SafetySettingCategory? Type67 { get; set; } + public global::System.Collections.Generic.Dictionary? Type67 { get; set; } /// /// /// - public global::Google.Gemini.SafetySettingThreshold? Type68 { get; set; } + public global::Google.Gemini.FunctionCallingConfig? Type68 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type69 { get; set; } + public global::Google.Gemini.RetrievalConfig? Type69 { get; set; } /// /// /// - public global::Google.Gemini.GenerationConfigResponseModalitie? Type70 { get; set; } + public global::Google.Gemini.FunctionCallingConfigMode? Type70 { get; set; } /// /// /// - public global::Google.Gemini.SpeechConfig? Type71 { get; set; } + public global::Google.Gemini.LatLng? Type71 { get; set; } /// /// /// - public global::Google.Gemini.ThinkingConfig? Type72 { get; set; } + public global::Google.Gemini.SafetySettingCategory? Type72 { get; set; } /// /// /// - public global::Google.Gemini.ImageConfig? Type73 { get; set; } + public global::Google.Gemini.SafetySettingThreshold? Type73 { get; set; } /// /// /// - public global::Google.Gemini.GenerationConfigMediaResolution? Type74 { get; set; } + public global::System.Collections.Generic.IList? Type74 { get; set; } /// /// /// - public global::Google.Gemini.VoiceConfig? Type75 { get; set; } + public global::Google.Gemini.GenerationConfigResponseModalitie? Type75 { get; set; } /// /// /// - public global::Google.Gemini.MultiSpeakerVoiceConfig? Type76 { get; set; } + public global::Google.Gemini.SpeechConfig? Type76 { get; set; } /// /// /// - public global::Google.Gemini.PrebuiltVoiceConfig? Type77 { get; set; } + public global::Google.Gemini.ThinkingConfig? Type77 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type78 { get; set; } + public global::Google.Gemini.ImageConfig? Type78 { get; set; } /// /// /// - public global::Google.Gemini.SpeakerVoiceConfig? Type79 { get; set; } + public global::Google.Gemini.GenerationConfigMediaResolution? Type79 { get; set; } /// /// /// - public global::Google.Gemini.ThinkingConfigThinkingLevel? Type80 { get; set; } + public global::Google.Gemini.VoiceConfig? Type80 { get; set; } /// /// /// - public global::Google.Gemini.GenerateContentResponse? Type81 { get; set; } + public global::Google.Gemini.MultiSpeakerVoiceConfig? Type81 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type82 { get; set; } + public global::Google.Gemini.PrebuiltVoiceConfig? Type82 { get; set; } /// /// /// - public global::Google.Gemini.Candidate? Type83 { get; set; } + public global::System.Collections.Generic.IList? Type83 { get; set; } /// /// /// - public global::Google.Gemini.PromptFeedback? Type84 { get; set; } + public global::Google.Gemini.SpeakerVoiceConfig? Type84 { get; set; } /// /// /// - public global::Google.Gemini.UsageMetadata? Type85 { get; set; } + public global::Google.Gemini.ThinkingConfigThinkingLevel? Type85 { get; set; } /// /// /// - public global::Google.Gemini.ModelStatus? Type86 { get; set; } + public global::Google.Gemini.GenerateContentResponse? Type86 { get; set; } /// /// /// - public global::Google.Gemini.CandidateFinishReason? Type87 { get; set; } + public global::System.Collections.Generic.IList? Type87 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type88 { get; set; } + public global::Google.Gemini.Candidate? Type88 { get; set; } /// /// /// - public global::Google.Gemini.SafetyRating? Type89 { get; set; } + public global::Google.Gemini.PromptFeedback? Type89 { get; set; } /// /// /// - public global::Google.Gemini.CitationMetadata? Type90 { get; set; } + public global::Google.Gemini.UsageMetadata? Type90 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type91 { get; set; } + public global::Google.Gemini.ModelStatus? Type91 { get; set; } /// /// /// - public global::Google.Gemini.GroundingAttribution? Type92 { get; set; } + public global::Google.Gemini.CandidateFinishReason? Type92 { get; set; } /// /// /// - public global::Google.Gemini.GroundingMetadata? Type93 { get; set; } + public global::System.Collections.Generic.IList? Type93 { get; set; } /// /// /// - public global::Google.Gemini.LogprobsResult? Type94 { get; set; } + public global::Google.Gemini.SafetyRating? Type94 { get; set; } /// /// /// - public global::Google.Gemini.UrlContextMetadata? Type95 { get; set; } + public global::Google.Gemini.CitationMetadata? Type95 { get; set; } /// /// /// - public global::Google.Gemini.SafetyRatingCategory? Type96 { get; set; } + public global::System.Collections.Generic.IList? Type96 { get; set; } /// /// /// - public global::Google.Gemini.SafetyRatingProbability? Type97 { get; set; } + public global::Google.Gemini.GroundingAttribution? Type97 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type98 { get; set; } + public global::Google.Gemini.GroundingMetadata? Type98 { get; set; } /// /// /// - public global::Google.Gemini.CitationSource? Type99 { get; set; } + public global::Google.Gemini.LogprobsResult? Type99 { get; set; } /// /// /// - public global::Google.Gemini.AttributionSourceId? Type100 { get; set; } + public global::Google.Gemini.UrlContextMetadata? Type100 { get; set; } /// /// /// - public global::Google.Gemini.GroundingPassageId? Type101 { get; set; } + public global::Google.Gemini.SafetyRatingCategory? Type101 { get; set; } /// /// /// - public global::Google.Gemini.SemanticRetrieverChunk? Type102 { get; set; } + public global::Google.Gemini.SafetyRatingProbability? Type102 { get; set; } /// /// /// - public global::Google.Gemini.SearchEntryPoint? Type103 { get; set; } + public global::System.Collections.Generic.IList? Type103 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type104 { get; set; } + public global::Google.Gemini.CitationSource? Type104 { get; set; } /// /// /// - public global::Google.Gemini.GroundingChunk? Type105 { get; set; } + public global::Google.Gemini.AttributionSourceId? Type105 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type106 { get; set; } + public global::Google.Gemini.GroundingPassageId? Type106 { get; set; } /// /// /// - public global::Google.Gemini.GoogleAiGenerativelanguageV1betaGroundingSupport? Type107 { get; set; } + public global::Google.Gemini.SemanticRetrieverChunk? Type107 { get; set; } /// /// /// - public global::Google.Gemini.RetrievalMetadata? Type108 { get; set; } + public global::Google.Gemini.SearchEntryPoint? Type108 { get; set; } /// /// /// - public global::Google.Gemini.Web? Type109 { get; set; } + public global::System.Collections.Generic.IList? Type109 { get; set; } /// /// /// - public global::Google.Gemini.Image? Type110 { get; set; } + public global::Google.Gemini.GroundingChunk? Type110 { get; set; } /// /// /// - public global::Google.Gemini.RetrievedContext? Type111 { get; set; } + public global::System.Collections.Generic.IList? Type111 { get; set; } /// /// /// - public global::Google.Gemini.Maps? Type112 { get; set; } + public global::Google.Gemini.GoogleAiGenerativelanguageV1betaGroundingSupport? Type112 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type113 { get; set; } + public global::Google.Gemini.RetrievalMetadata? Type113 { get; set; } /// /// /// - public global::Google.Gemini.GroundingChunkCustomMetadata? Type114 { get; set; } + public global::Google.Gemini.Web? Type114 { get; set; } /// /// /// - public global::Google.Gemini.GroundingChunkStringList? Type115 { get; set; } + public global::Google.Gemini.Image? Type115 { get; set; } /// /// /// - public global::Google.Gemini.PlaceAnswerSources? Type116 { get; set; } + public global::Google.Gemini.RetrievedContext? Type116 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type117 { get; set; } + public global::Google.Gemini.Maps? Type117 { get; set; } /// /// /// - public global::Google.Gemini.ReviewSnippet? Type118 { get; set; } + public global::System.Collections.Generic.IList? Type118 { get; set; } /// /// /// - public global::Google.Gemini.GoogleAiGenerativelanguageV1betaSegment? Type119 { get; set; } + public global::Google.Gemini.GroundingChunkCustomMetadata? Type119 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type120 { get; set; } + public global::Google.Gemini.GroundingChunkStringList? Type120 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type121 { get; set; } + public global::Google.Gemini.PlaceAnswerSources? Type121 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type122 { get; set; } + public global::System.Collections.Generic.IList? Type122 { get; set; } /// /// /// - public global::Google.Gemini.TopCandidates? Type123 { get; set; } + public global::Google.Gemini.ReviewSnippet? Type123 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type124 { get; set; } + public global::Google.Gemini.GoogleAiGenerativelanguageV1betaSegment? Type124 { get; set; } /// /// /// - public global::Google.Gemini.LogprobsResultCandidate? Type125 { get; set; } + public global::System.Collections.Generic.IList? Type125 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type126 { get; set; } + public global::System.Collections.Generic.IList? Type126 { get; set; } /// /// /// - public global::Google.Gemini.UrlMetadata? Type127 { get; set; } + public global::System.Collections.Generic.IList? Type127 { get; set; } /// /// /// - public global::Google.Gemini.UrlMetadataUrlRetrievalStatus? Type128 { get; set; } + public global::Google.Gemini.TopCandidates? Type128 { get; set; } /// /// /// - public global::Google.Gemini.PromptFeedbackBlockReason? Type129 { get; set; } + public global::System.Collections.Generic.IList? Type129 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type130 { get; set; } + public global::Google.Gemini.LogprobsResultCandidate? Type130 { get; set; } /// /// /// - public global::Google.Gemini.ModalityTokenCount? Type131 { get; set; } + public global::System.Collections.Generic.IList? Type131 { get; set; } /// /// /// - public global::Google.Gemini.ModalityTokenCountModality? Type132 { get; set; } + public global::Google.Gemini.UrlMetadata? Type132 { get; set; } /// /// /// - public global::Google.Gemini.ModelStatusModelStage? Type133 { get; set; } + public global::Google.Gemini.UrlMetadataUrlRetrievalStatus? Type133 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentRequest? Type134 { get; set; } + public global::Google.Gemini.PromptFeedbackBlockReason? Type134 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentRequestTaskType? Type135 { get; set; } + public global::System.Collections.Generic.IList? Type135 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentResponse? Type136 { get; set; } + public global::Google.Gemini.ModalityTokenCount? Type136 { get; set; } /// /// /// - public global::Google.Gemini.ContentEmbedding? Type137 { get; set; } + public global::Google.Gemini.ModalityTokenCountModality? Type137 { get; set; } /// /// /// - public global::Google.Gemini.BatchEmbedContentsRequest? Type138 { get; set; } + public global::Google.Gemini.ModelStatusModelStage? Type138 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type139 { get; set; } + public global::Google.Gemini.EmbedContentRequest? Type139 { get; set; } /// /// /// - public global::Google.Gemini.BatchEmbedContentsResponse? Type140 { get; set; } + public global::Google.Gemini.EmbedContentRequestTaskType? Type140 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type141 { get; set; } + public global::Google.Gemini.EmbedContentResponse? Type141 { get; set; } /// /// /// - public global::Google.Gemini.CountTokensRequest? Type142 { get; set; } + public global::Google.Gemini.ContentEmbedding? Type142 { get; set; } /// /// /// - public global::Google.Gemini.CountTokensResponse? Type143 { get; set; } + public global::Google.Gemini.BatchEmbedContentsRequest? Type143 { get; set; } /// /// /// - public global::Google.Gemini.BatchGenerateContentRequest? Type144 { get; set; } + public global::System.Collections.Generic.IList? Type144 { get; set; } /// /// /// - public global::Google.Gemini.GenerateContentBatch? Type145 { get; set; } + public global::Google.Gemini.BatchEmbedContentsResponse? Type145 { get; set; } /// /// /// - public global::Google.Gemini.InputConfig? Type146 { get; set; } + public global::System.Collections.Generic.IList? Type146 { get; set; } /// /// /// - public global::Google.Gemini.GenerateContentBatchOutput? Type147 { get; set; } + public global::Google.Gemini.CountTokensRequest? Type147 { get; set; } /// /// /// - public global::Google.Gemini.BatchStats? Type148 { get; set; } + public global::Google.Gemini.CountTokensResponse? Type148 { get; set; } /// /// /// - public global::Google.Gemini.GenerateContentBatchState? Type149 { get; set; } + public global::Google.Gemini.BatchGenerateContentRequest? Type149 { get; set; } /// /// /// - public global::Google.Gemini.InlinedRequests? Type150 { get; set; } + public global::Google.Gemini.GenerateContentBatch? Type150 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type151 { get; set; } + public global::Google.Gemini.InputConfig? Type151 { get; set; } /// /// /// - public global::Google.Gemini.InlinedRequest? Type152 { get; set; } + public global::Google.Gemini.GenerateContentBatchOutput? Type152 { get; set; } /// /// /// - public global::Google.Gemini.InlinedResponses? Type153 { get; set; } + public global::Google.Gemini.BatchStats? Type153 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type154 { get; set; } + public global::Google.Gemini.GenerateContentBatchState? Type154 { get; set; } /// /// /// - public global::Google.Gemini.InlinedResponse? Type155 { get; set; } + public global::Google.Gemini.InlinedRequests? Type155 { get; set; } /// /// /// - public global::Google.Gemini.AsyncBatchEmbedContentRequest? Type156 { get; set; } + public global::System.Collections.Generic.IList? Type156 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentBatch? Type157 { get; set; } + public global::Google.Gemini.InlinedRequest? Type157 { get; set; } /// /// /// - public global::Google.Gemini.InputEmbedContentConfig? Type158 { get; set; } + public global::Google.Gemini.InlinedResponses? Type158 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentBatchOutput? Type159 { get; set; } + public global::System.Collections.Generic.IList? Type159 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentBatchStats? Type160 { get; set; } + public global::Google.Gemini.InlinedResponse? Type160 { get; set; } /// /// /// - public global::Google.Gemini.EmbedContentBatchState? Type161 { get; set; } + public global::Google.Gemini.AsyncBatchEmbedContentRequest? Type161 { get; set; } /// /// /// - public global::Google.Gemini.InlinedEmbedContentRequests? Type162 { get; set; } + public global::Google.Gemini.EmbedContentBatch? Type162 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type163 { get; set; } + public global::Google.Gemini.InputEmbedContentConfig? Type163 { get; set; } /// /// /// - public global::Google.Gemini.InlinedEmbedContentRequest? Type164 { get; set; } + public global::Google.Gemini.EmbedContentBatchOutput? Type164 { get; set; } /// /// /// - public global::Google.Gemini.InlinedEmbedContentResponses? Type165 { get; set; } + public global::Google.Gemini.EmbedContentBatchStats? Type165 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type166 { get; set; } + public global::Google.Gemini.EmbedContentBatchState? Type166 { get; set; } /// /// /// - public global::Google.Gemini.InlinedEmbedContentResponse? Type167 { get; set; } + public global::Google.Gemini.InlinedEmbedContentRequests? Type167 { get; set; } /// /// /// - public global::Google.Gemini.ListCachedContentsResponse? Type168 { get; set; } + public global::System.Collections.Generic.IList? Type168 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type169 { get; set; } + public global::Google.Gemini.InlinedEmbedContentRequest? Type169 { get; set; } /// /// /// - public global::Google.Gemini.CachedContent? Type170 { get; set; } + public global::Google.Gemini.InlinedEmbedContentResponses? Type170 { get; set; } /// /// /// - public global::Google.Gemini.CachedContentUsageMetadata? Type171 { get; set; } + public global::System.Collections.Generic.IList? Type171 { get; set; } /// /// /// - public global::Google.Gemini.CreateFileRequest? Type172 { get; set; } + public global::Google.Gemini.InlinedEmbedContentResponse? Type172 { get; set; } /// /// /// - public global::Google.Gemini.File? Type173 { get; set; } + public global::Google.Gemini.ListCachedContentsResponse? Type173 { get; set; } /// /// /// - public global::Google.Gemini.VideoFileMetadata? Type174 { get; set; } + public global::System.Collections.Generic.IList? Type174 { get; set; } /// /// /// - public global::Google.Gemini.FileState? Type175 { get; set; } + public global::Google.Gemini.CachedContent? Type175 { get; set; } /// /// /// - public global::Google.Gemini.FileSource? Type176 { get; set; } + public global::Google.Gemini.CachedContentUsageMetadata? Type176 { get; set; } /// /// /// - public global::Google.Gemini.CreateFileResponse? Type177 { get; set; } + public global::Google.Gemini.CreateFileRequest? Type177 { get; set; } /// /// /// - public global::Google.Gemini.RegisterFilesRequest? Type178 { get; set; } + public global::Google.Gemini.File? Type178 { get; set; } /// /// /// - public global::Google.Gemini.RegisterFilesResponse? Type179 { get; set; } + public global::Google.Gemini.VideoFileMetadata? Type179 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type180 { get; set; } + public global::Google.Gemini.FileState? Type180 { get; set; } /// /// /// - public global::Google.Gemini.ListFilesResponse? Type181 { get; set; } + public global::Google.Gemini.FileSource? Type181 { get; set; } /// /// /// - public global::Google.Gemini.GeneratedFile? Type182 { get; set; } + public global::Google.Gemini.CreateFileResponse? Type182 { get; set; } /// /// /// - public global::Google.Gemini.GeneratedFileState? Type183 { get; set; } + public global::Google.Gemini.RegisterFilesRequest? Type183 { get; set; } /// /// /// - public global::Google.Gemini.ListGeneratedFilesResponse? Type184 { get; set; } + public global::Google.Gemini.RegisterFilesResponse? Type184 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type185 { get; set; } + public global::System.Collections.Generic.IList? Type185 { get; set; } /// /// /// - public global::Google.Gemini.Model? Type186 { get; set; } + public global::Google.Gemini.ListFilesResponse? Type186 { get; set; } /// /// /// - public global::Google.Gemini.ListModelsResponse? Type187 { get; set; } + public global::Google.Gemini.GeneratedFile? Type187 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type188 { get; set; } + public global::Google.Gemini.GeneratedFileState? Type188 { get; set; } /// /// /// - public global::Google.Gemini.TunedModel? Type189 { get; set; } + public global::Google.Gemini.ListGeneratedFilesResponse? Type189 { get; set; } /// /// /// - public global::Google.Gemini.TunedModelSource? Type190 { get; set; } + public global::System.Collections.Generic.IList? Type190 { get; set; } /// /// /// - public global::Google.Gemini.TunedModelState? Type191 { get; set; } + public global::Google.Gemini.Model? Type191 { get; set; } /// /// /// - public global::Google.Gemini.TuningTask? Type192 { get; set; } + public global::Google.Gemini.ListModelsResponse? Type192 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type193 { get; set; } + public global::System.Collections.Generic.IList? Type193 { get; set; } /// /// /// - public global::Google.Gemini.TuningSnapshot? Type194 { get; set; } + public global::Google.Gemini.TunedModel? Type194 { get; set; } /// /// /// - public global::Google.Gemini.Dataset? Type195 { get; set; } + public global::Google.Gemini.TunedModelSource? Type195 { get; set; } /// /// /// - public global::Google.Gemini.Hyperparameters? Type196 { get; set; } + public global::Google.Gemini.TunedModelState? Type196 { get; set; } /// /// /// - public global::Google.Gemini.TuningExamples? Type197 { get; set; } + public global::Google.Gemini.TuningTask? Type197 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type198 { get; set; } + public global::System.Collections.Generic.IList? Type198 { get; set; } /// /// /// - public global::Google.Gemini.TuningExample? Type199 { get; set; } + public global::Google.Gemini.TuningSnapshot? Type199 { get; set; } /// /// /// - public global::Google.Gemini.ListTunedModelsResponse? Type200 { get; set; } + public global::Google.Gemini.Dataset? Type200 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type201 { get; set; } + public global::Google.Gemini.Hyperparameters? Type201 { get; set; } /// /// /// - public global::Google.Gemini.Permission? Type202 { get; set; } + public global::Google.Gemini.TuningExamples? Type202 { get; set; } /// /// /// - public global::Google.Gemini.PermissionGranteeType? Type203 { get; set; } + public global::System.Collections.Generic.IList? Type203 { get; set; } /// /// /// - public global::Google.Gemini.PermissionRole? Type204 { get; set; } + public global::Google.Gemini.TuningExample? Type204 { get; set; } /// /// /// - public global::Google.Gemini.ListPermissionsResponse? Type205 { get; set; } + public global::Google.Gemini.ListTunedModelsResponse? Type205 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type206 { get; set; } + public global::System.Collections.Generic.IList? Type206 { get; set; } /// /// /// - public global::Google.Gemini.TransferOwnershipRequest? Type207 { get; set; } + public global::Google.Gemini.Permission? Type207 { get; set; } /// /// /// - public global::Google.Gemini.FileSearchStore? Type208 { get; set; } + public global::Google.Gemini.PermissionGranteeType? Type208 { get; set; } /// /// /// - public global::Google.Gemini.Corpus? Type209 { get; set; } + public global::Google.Gemini.PermissionRole? Type209 { get; set; } /// /// /// - public global::Google.Gemini.ListFileSearchStoresResponse? Type210 { get; set; } + public global::Google.Gemini.ListPermissionsResponse? Type210 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type211 { get; set; } + public global::System.Collections.Generic.IList? Type211 { get; set; } /// /// /// - public global::Google.Gemini.ListCorporaResponse? Type212 { get; set; } + public global::Google.Gemini.TransferOwnershipRequest? Type212 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type213 { get; set; } + public global::Google.Gemini.TransferOwnershipResponse? Type213 { get; set; } /// /// /// - public global::Google.Gemini.Document? Type214 { get; set; } + public global::Google.Gemini.FileSearchStore? Type214 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type215 { get; set; } + public global::Google.Gemini.Corpus? Type215 { get; set; } /// /// /// - public global::Google.Gemini.CustomMetadata? Type216 { get; set; } + public global::Google.Gemini.ListFileSearchStoresResponse? Type216 { get; set; } /// /// /// - public global::Google.Gemini.DocumentState? Type217 { get; set; } + public global::System.Collections.Generic.IList? Type217 { get; set; } /// /// /// - public global::Google.Gemini.StringList? Type218 { get; set; } + public global::Google.Gemini.ListCorporaResponse? Type218 { get; set; } /// /// /// - public global::Google.Gemini.ListDocumentsResponse? Type219 { get; set; } + public global::System.Collections.Generic.IList? Type219 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type220 { get; set; } + public global::Google.Gemini.Document? Type220 { get; set; } /// /// /// - public global::Google.Gemini.ImportFileRequest? Type221 { get; set; } + public global::System.Collections.Generic.IList? Type221 { get; set; } /// /// /// - public global::Google.Gemini.ChunkingConfig? Type222 { get; set; } + public global::Google.Gemini.CustomMetadata? Type222 { get; set; } /// /// /// - public global::Google.Gemini.WhiteSpaceConfig? Type223 { get; set; } + public global::Google.Gemini.DocumentState? Type223 { get; set; } /// /// /// - public global::Google.Gemini.UploadToFileSearchStoreRequest? Type224 { get; set; } + public global::Google.Gemini.StringList? Type224 { get; set; } /// /// /// - public global::Google.Gemini.CustomLongRunningOperation? Type225 { get; set; } + public global::Google.Gemini.ListDocumentsResponse? Type225 { get; set; } + /// + /// + /// + public global::System.Collections.Generic.IList? Type226 { get; set; } + /// + /// + /// + public global::Google.Gemini.ImportFileRequest? Type227 { get; set; } + /// + /// + /// + public global::Google.Gemini.ChunkingConfig? Type228 { get; set; } + /// + /// + /// + public global::Google.Gemini.WhiteSpaceConfig? Type229 { get; set; } + /// + /// + /// + public global::Google.Gemini.UploadToFileSearchStoreRequest? Type230 { get; set; } + /// + /// + /// + public global::Google.Gemini.CustomLongRunningOperation? Type231 { get; set; } /// /// diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Part.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Part.g.cs index ee55338..a52a805 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Part.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Part.g.cs @@ -1,4 +1,6 @@ +#pragma warning disable CS0618 // Type or member is obsolete + #nullable enable namespace Google.Gemini diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.SearchTypes.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.SearchTypes.g.cs index 6455a92..1bf661d 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.SearchTypes.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.SearchTypes.g.cs @@ -12,13 +12,13 @@ public sealed partial class SearchTypes /// Standard web search for grounding and related configurations. /// [global::System.Text.Json.Serialization.JsonPropertyName("webSearch")] - public object? WebSearch { get; set; } + public global::Google.Gemini.WebSearch? WebSearch { get; set; } /// /// Image search for grounding and related configurations. /// [global::System.Text.Json.Serialization.JsonPropertyName("imageSearch")] - public object? ImageSearch { get; set; } + public global::Google.Gemini.ImageSearch? ImageSearch { get; set; } /// /// Additional properties that are not explicitly defined in the schema @@ -39,8 +39,8 @@ public sealed partial class SearchTypes [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] #endif public SearchTypes( - object? webSearch, - object? imageSearch) + global::Google.Gemini.WebSearch? webSearch, + global::Google.Gemini.ImageSearch? imageSearch) { this.WebSearch = webSearch; this.ImageSearch = imageSearch; diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Tool.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Tool.g.cs index eef92d2..b907f7b 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Tool.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.Models.Tool.g.cs @@ -24,7 +24,7 @@ public sealed partial class Tool /// Tool that executes code generated by the model, and automatically returns the result to the model. See also `ExecutableCode` and `CodeExecutionResult` which are only generated when using this tool. /// [global::System.Text.Json.Serialization.JsonPropertyName("codeExecution")] - public object? CodeExecution { get; set; } + public global::Google.Gemini.CodeExecution? CodeExecution { get; set; } /// /// GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google. @@ -42,7 +42,7 @@ public sealed partial class Tool /// Tool to support URL context retrieval. /// [global::System.Text.Json.Serialization.JsonPropertyName("urlContext")] - public object? UrlContext { get; set; } + public global::Google.Gemini.UrlContext? UrlContext { get; set; } /// /// The FileSearch tool that retrieves knowledge from Semantic Retrieval corpora. Files are imported to Semantic Retrieval corpora using the ImportFile API. @@ -104,10 +104,10 @@ public sealed partial class Tool public Tool( global::System.Collections.Generic.IList? functionDeclarations, global::Google.Gemini.GoogleSearchRetrieval? googleSearchRetrieval, - object? codeExecution, + global::Google.Gemini.CodeExecution? codeExecution, global::Google.Gemini.GoogleSearch? googleSearch, global::Google.Gemini.ComputerUse? computerUse, - object? urlContext, + global::Google.Gemini.UrlContext? urlContext, global::Google.Gemini.FileSearch? fileSearch, global::System.Collections.Generic.IList? mcpServers, global::Google.Gemini.GoogleMaps? googleMaps)