From ab288e161877874ab079228c9a077185b70c571a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 21 Mar 2026 21:24:01 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...lient.FileSearchStoresDocumentsDelete.g.cs | 12 +++++------ ...niClient.FileSearchStoresDocumentsGet.g.cs | 20 +++++++++---------- ...GeminiClient.TunedModelsOperationsGet.g.cs | 20 +++++++++---------- ...lient.FileSearchStoresDocumentsDelete.g.cs | 4 ++-- ...niClient.FileSearchStoresDocumentsGet.g.cs | 4 ++-- ...GeminiClient.TunedModelsOperationsGet.g.cs | 4 ++-- src/libs/Google.Gemini/openapi.json | 12 +++++------ 7 files changed, 38 insertions(+), 38 deletions(-) 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 8218225..d7f3cb4 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 @@ -7,14 +7,14 @@ public partial class GeminiClient { partial void PrepareFileSearchStoresDocumentsDeleteArguments( global::System.Net.Http.HttpClient httpClient, - ref string documentsId, ref string fileSearchStoresId, + ref string documentsId, ref bool? force); partial void PrepareFileSearchStoresDocumentsDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string documentsId, string fileSearchStoresId, + string documentsId, bool? force); partial void ProcessFileSearchStoresDocumentsDeleteResponse( global::System.Net.Http.HttpClient httpClient, @@ -28,14 +28,14 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( /// /// Deletes a `Document`. /// - /// /// + /// /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( - string documentsId, string fileSearchStoresId, + string documentsId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -43,8 +43,8 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( client: HttpClient); PrepareFileSearchStoresDocumentsDeleteArguments( httpClient: HttpClient, - documentsId: ref documentsId, fileSearchStoresId: ref fileSearchStoresId, + documentsId: ref documentsId, force: ref force); var __pathBuilder = new global::Google.Gemini.PathBuilder( @@ -76,8 +76,8 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( PrepareFileSearchStoresDocumentsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - documentsId: documentsId, fileSearchStoresId: fileSearchStoresId, + documentsId: documentsId, force: force); using var __response = await HttpClient.SendAsync( diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsGet.g.cs index 2a86e24..82092da 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresDocumentsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareFileSearchStoresDocumentsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string documentsId, - ref string fileSearchStoresId); + ref string fileSearchStoresId, + ref string documentsId); partial void PrepareFileSearchStoresDocumentsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string documentsId, - string fileSearchStoresId); + string fileSearchStoresId, + string documentsId); partial void ProcessFileSearchStoresDocumentsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessFileSearchStoresDocumentsGetResponseContent( /// /// Gets information about a specific `Document`. /// - /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task FileSearchStoresDocumentsGetAsync( - string documentsId, string fileSearchStoresId, + string documentsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresDocumentsGetArguments( httpClient: HttpClient, - documentsId: ref documentsId, - fileSearchStoresId: ref fileSearchStoresId); + fileSearchStoresId: ref fileSearchStoresId, + documentsId: ref documentsId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/fileSearchStores/{fileSearchStoresId}/documents/{documentsId}", @@ -68,8 +68,8 @@ partial void ProcessFileSearchStoresDocumentsGetResponseContent( PrepareFileSearchStoresDocumentsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - documentsId: documentsId, - fileSearchStoresId: fileSearchStoresId); + fileSearchStoresId: fileSearchStoresId, + documentsId: documentsId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsOperationsGet.g.cs index da7795d..0dc1cd7 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareTunedModelsOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string operationsId, - ref string tunedModelsId); + ref string tunedModelsId, + ref string operationsId); partial void PrepareTunedModelsOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string operationsId, - string tunedModelsId); + string tunedModelsId, + string operationsId); partial void ProcessTunedModelsOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessTunedModelsOperationsGetResponseContent( /// /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. /// - /// /// + /// /// The token to cancel the operation with /// public async global::System.Threading.Tasks.Task TunedModelsOperationsGetAsync( - string operationsId, string tunedModelsId, + string operationsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareTunedModelsOperationsGetArguments( httpClient: HttpClient, - operationsId: ref operationsId, - tunedModelsId: ref tunedModelsId); + tunedModelsId: ref tunedModelsId, + operationsId: ref operationsId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/tunedModels/{tunedModelsId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessTunedModelsOperationsGetResponseContent( PrepareTunedModelsOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - operationsId: operationsId, - tunedModelsId: tunedModelsId); + tunedModelsId: tunedModelsId, + operationsId: operationsId); using var __response = await HttpClient.SendAsync( request: __httpRequest, 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 7385763..ff1bcda 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 @@ -7,14 +7,14 @@ public partial interface IGeminiClient /// /// Deletes a `Document`. /// - /// /// + /// /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task FileSearchStoresDocumentsDeleteAsync( - string documentsId, string fileSearchStoresId, + string documentsId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default); } diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsGet.g.cs index f500323..160cf84 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresDocumentsGet.g.cs @@ -7,13 +7,13 @@ public partial interface IGeminiClient /// /// Gets information about a specific `Document`. /// - /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task FileSearchStoresDocumentsGetAsync( - string documentsId, string fileSearchStoresId, + string documentsId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsOperationsGet.g.cs index f956463..1b5a791 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial interface IGeminiClient /// /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. /// - /// /// + /// /// The token to cancel the operation with /// global::System.Threading.Tasks.Task TunedModelsOperationsGetAsync( - string operationsId, string tunedModelsId, + string operationsId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/openapi.json b/src/libs/Google.Gemini/openapi.json index ea0613f..d32963a 100644 --- a/src/libs/Google.Gemini/openapi.json +++ b/src/libs/Google.Gemini/openapi.json @@ -1147,7 +1147,7 @@ "operationId": "tunedModels.operations.get", "parameters": [ { - "name": "operationsId", + "name": "tunedModelsId", "in": "path", "required": true, "schema": { @@ -1155,7 +1155,7 @@ } }, { - "name": "tunedModelsId", + "name": "operationsId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2150,7 +2150,7 @@ "operationId": "fileSearchStores.documents.get", "parameters": [ { - "name": "documentsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2158,7 +2158,7 @@ } }, { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "description": "Required. The name of the `Document` to retrieve. Example: `fileSearchStores/my-file-search-store-123/documents/the-doc-abc`", @@ -2186,7 +2186,7 @@ "operationId": "fileSearchStores.documents.delete", "parameters": [ { - "name": "documentsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2194,7 +2194,7 @@ } }, { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "description": "Required. The resource name of the `Document` to delete. Example: `fileSearchStores/my-file-search-store-123/documents/the-doc-abc`",