From cf3f1f5e82a86aef80957a09ac502f40f0a912df Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 17 Mar 2026 19:00:21 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- ...ini.GeminiClient.CorporaOperationsGet.g.cs | 20 ++++++------ ...lient.FileSearchStoresDocumentsDelete.g.cs | 12 +++---- ...niClient.FileSearchStoresDocumentsGet.g.cs | 20 ++++++------ ...iClient.FileSearchStoresOperationsGet.g.cs | 20 ++++++------ ...t.FileSearchStoresUploadOperationsGet.g.cs | 20 ++++++------ ...iniClient.GeneratedFilesOperationsGet.g.cs | 20 ++++++------ ...mini.GeminiClient.ModelsOperationsGet.g.cs | 20 ++++++------ ...GeminiClient.TunedModelsOperationsGet.g.cs | 20 ++++++------ ...ni.IGeminiClient.CorporaOperationsGet.g.cs | 4 +-- ...lient.FileSearchStoresDocumentsDelete.g.cs | 4 +-- ...niClient.FileSearchStoresDocumentsGet.g.cs | 4 +-- ...iClient.FileSearchStoresOperationsGet.g.cs | 4 +-- ...t.FileSearchStoresUploadOperationsGet.g.cs | 4 +-- ...iniClient.GeneratedFilesOperationsGet.g.cs | 4 +-- ...ini.IGeminiClient.ModelsOperationsGet.g.cs | 4 +-- ...GeminiClient.TunedModelsOperationsGet.g.cs | 4 +-- src/libs/Google.Gemini/openapi.json | 32 +++++++++---------- 17 files changed, 108 insertions(+), 108 deletions(-) diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaOperationsGet.g.cs index ed2dce1..9717dd0 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareCorporaOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string corporaId, - ref string operationsId); + ref string operationsId, + ref string corporaId); partial void PrepareCorporaOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string corporaId, - string operationsId); + string operationsId, + string corporaId); partial void ProcessCorporaOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessCorporaOperationsGetResponseContent( /// /// 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 CorporaOperationsGetAsync( - string corporaId, string operationsId, + string corporaId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareCorporaOperationsGetArguments( httpClient: HttpClient, - corporaId: ref corporaId, - operationsId: ref operationsId); + operationsId: ref operationsId, + corporaId: ref corporaId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/corpora/{corporaId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessCorporaOperationsGetResponseContent( PrepareCorporaOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - corporaId: corporaId, - operationsId: operationsId); + operationsId: operationsId, + corporaId: corporaId); using var __response = await HttpClient.SendAsync( request: __httpRequest, 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 3b530e8..c5ac64a 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 fileSearchStoresId, ref string documentsId, + ref string fileSearchStoresId, ref bool? force); partial void PrepareFileSearchStoresDocumentsDeleteRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string fileSearchStoresId, string documentsId, + string fileSearchStoresId, 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 fileSearchStoresId, string documentsId, + string fileSearchStoresId, bool? force = default, global::System.Threading.CancellationToken cancellationToken = default) { @@ -43,8 +43,8 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( client: HttpClient); PrepareFileSearchStoresDocumentsDeleteArguments( httpClient: HttpClient, - fileSearchStoresId: ref fileSearchStoresId, documentsId: ref documentsId, + fileSearchStoresId: ref fileSearchStoresId, force: ref force); var __pathBuilder = new global::Google.Gemini.PathBuilder( @@ -76,8 +76,8 @@ partial void ProcessFileSearchStoresDocumentsDeleteResponseContent( PrepareFileSearchStoresDocumentsDeleteRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileSearchStoresId: fileSearchStoresId, documentsId: documentsId, + fileSearchStoresId: fileSearchStoresId, 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 7099cf5..d774e9c 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 fileSearchStoresId, - ref string documentsId); + ref string documentsId, + ref string fileSearchStoresId); partial void PrepareFileSearchStoresDocumentsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string fileSearchStoresId, - string documentsId); + string documentsId, + string fileSearchStoresId); 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 fileSearchStoresId, string documentsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresDocumentsGetArguments( httpClient: HttpClient, - fileSearchStoresId: ref fileSearchStoresId, - documentsId: ref documentsId); + documentsId: ref documentsId, + fileSearchStoresId: ref fileSearchStoresId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/fileSearchStores/{fileSearchStoresId}/documents/{documentsId}", @@ -68,8 +68,8 @@ partial void ProcessFileSearchStoresDocumentsGetResponseContent( PrepareFileSearchStoresDocumentsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileSearchStoresId: fileSearchStoresId, - documentsId: documentsId); + documentsId: documentsId, + fileSearchStoresId: fileSearchStoresId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs index f5f0af7..90a4c2a 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareFileSearchStoresOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string fileSearchStoresId, - ref string operationsId); + ref string operationsId, + ref string fileSearchStoresId); partial void PrepareFileSearchStoresOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string fileSearchStoresId, - string operationsId); + string operationsId, + string fileSearchStoresId); partial void ProcessFileSearchStoresOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessFileSearchStoresOperationsGetResponseContent( /// /// 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 FileSearchStoresOperationsGetAsync( - string fileSearchStoresId, string operationsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresOperationsGetArguments( httpClient: HttpClient, - fileSearchStoresId: ref fileSearchStoresId, - operationsId: ref operationsId); + operationsId: ref operationsId, + fileSearchStoresId: ref fileSearchStoresId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/fileSearchStores/{fileSearchStoresId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessFileSearchStoresOperationsGetResponseContent( PrepareFileSearchStoresOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileSearchStoresId: fileSearchStoresId, - operationsId: operationsId); + operationsId: operationsId, + fileSearchStoresId: fileSearchStoresId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresUploadOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresUploadOperationsGet.g.cs index a246d63..e8eba0f 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresUploadOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresUploadOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareFileSearchStoresUploadOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string fileSearchStoresId, - ref string operationsId); + ref string operationsId, + ref string fileSearchStoresId); partial void PrepareFileSearchStoresUploadOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string fileSearchStoresId, - string operationsId); + string operationsId, + string fileSearchStoresId); partial void ProcessFileSearchStoresUploadOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessFileSearchStoresUploadOperationsGetResponseContent( /// /// 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 FileSearchStoresUploadOperationsGetAsync( - string fileSearchStoresId, string operationsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresUploadOperationsGetArguments( httpClient: HttpClient, - fileSearchStoresId: ref fileSearchStoresId, - operationsId: ref operationsId); + operationsId: ref operationsId, + fileSearchStoresId: ref fileSearchStoresId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/fileSearchStores/{fileSearchStoresId}/upload/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessFileSearchStoresUploadOperationsGetResponseContent( PrepareFileSearchStoresUploadOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - fileSearchStoresId: fileSearchStoresId, - operationsId: operationsId); + operationsId: operationsId, + fileSearchStoresId: fileSearchStoresId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.GeneratedFilesOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.GeneratedFilesOperationsGet.g.cs index 4a79b52..f79bb71 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.GeneratedFilesOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.GeneratedFilesOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareGeneratedFilesOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string generatedFilesId, - ref string operationsId); + ref string operationsId, + ref string generatedFilesId); partial void PrepareGeneratedFilesOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string generatedFilesId, - string operationsId); + string operationsId, + string generatedFilesId); partial void ProcessGeneratedFilesOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessGeneratedFilesOperationsGetResponseContent( /// /// 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 GeneratedFilesOperationsGetAsync( - string generatedFilesId, string operationsId, + string generatedFilesId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareGeneratedFilesOperationsGetArguments( httpClient: HttpClient, - generatedFilesId: ref generatedFilesId, - operationsId: ref operationsId); + operationsId: ref operationsId, + generatedFilesId: ref generatedFilesId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/generatedFiles/{generatedFilesId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessGeneratedFilesOperationsGetResponseContent( PrepareGeneratedFilesOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - generatedFilesId: generatedFilesId, - operationsId: operationsId); + operationsId: operationsId, + generatedFilesId: generatedFilesId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsOperationsGet.g.cs index cfb527f..82ad8a1 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsOperationsGet.g.cs @@ -7,13 +7,13 @@ public partial class GeminiClient { partial void PrepareModelsOperationsGetArguments( global::System.Net.Http.HttpClient httpClient, - ref string modelsId, - ref string operationsId); + ref string operationsId, + ref string modelsId); partial void PrepareModelsOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string modelsId, - string operationsId); + string operationsId, + string modelsId); partial void ProcessModelsOperationsGetResponse( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpResponseMessage httpResponseMessage); @@ -26,21 +26,21 @@ partial void ProcessModelsOperationsGetResponseContent( /// /// 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 ModelsOperationsGetAsync( - string modelsId, string operationsId, + string modelsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareModelsOperationsGetArguments( httpClient: HttpClient, - modelsId: ref modelsId, - operationsId: ref operationsId); + operationsId: ref operationsId, + modelsId: ref modelsId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/models/{modelsId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessModelsOperationsGetResponseContent( PrepareModelsOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - modelsId: modelsId, - operationsId: operationsId); + operationsId: operationsId, + modelsId: modelsId); 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 db3e17c..1e6a336 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 tunedModelsId, - ref string operationsId); + ref string operationsId, + ref string tunedModelsId); partial void PrepareTunedModelsOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string tunedModelsId, - string operationsId); + string operationsId, + string tunedModelsId); 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 tunedModelsId, string operationsId, + string tunedModelsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareTunedModelsOperationsGetArguments( httpClient: HttpClient, - tunedModelsId: ref tunedModelsId, - operationsId: ref operationsId); + operationsId: ref operationsId, + tunedModelsId: ref tunedModelsId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/tunedModels/{tunedModelsId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessTunedModelsOperationsGetResponseContent( PrepareTunedModelsOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - tunedModelsId: tunedModelsId, - operationsId: operationsId); + operationsId: operationsId, + tunedModelsId: tunedModelsId); using var __response = await HttpClient.SendAsync( request: __httpRequest, diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaOperationsGet.g.cs index d99dacb..a2cb1a6 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaOperationsGet.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 CorporaOperationsGetAsync( - string corporaId, string operationsId, + string corporaId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file 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 ff1bcda..7385763 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 fileSearchStoresId, string documentsId, + string fileSearchStoresId, 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 160cf84..f500323 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 fileSearchStoresId, string documentsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresOperationsGet.g.cs index 7ccecfc..6336661 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresOperationsGet.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 FileSearchStoresOperationsGetAsync( - string fileSearchStoresId, string operationsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresUploadOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresUploadOperationsGet.g.cs index 45953b0..f26db83 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresUploadOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresUploadOperationsGet.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 FileSearchStoresUploadOperationsGetAsync( - string fileSearchStoresId, string operationsId, + string fileSearchStoresId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.GeneratedFilesOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.GeneratedFilesOperationsGet.g.cs index c413a4f..f18c55b 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.GeneratedFilesOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.GeneratedFilesOperationsGet.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 GeneratedFilesOperationsGetAsync( - string generatedFilesId, string operationsId, + string generatedFilesId, global::System.Threading.CancellationToken cancellationToken = default); } } \ No newline at end of file diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsOperationsGet.g.cs index 432157e..b9989ab 100644 --- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsOperationsGet.g.cs +++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsOperationsGet.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 ModelsOperationsGetAsync( - string modelsId, string operationsId, + string modelsId, 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 1b5a791..f956463 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 tunedModelsId, string operationsId, + string tunedModelsId, 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 0676ad9..03e108a 100644 --- a/src/libs/Google.Gemini/openapi.json +++ b/src/libs/Google.Gemini/openapi.json @@ -1008,7 +1008,7 @@ "operationId": "models.operations.get", "parameters": [ { - "name": "modelsId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -1016,7 +1016,7 @@ } }, { - "name": "operationsId", + "name": "modelsId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -1527,7 +1527,7 @@ "operationId": "tunedModels.operations.get", "parameters": [ { - "name": "tunedModelsId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -1535,7 +1535,7 @@ } }, { - "name": "operationsId", + "name": "tunedModelsId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2244,7 +2244,7 @@ "operationId": "generatedFiles.operations.get", "parameters": [ { - "name": "generatedFilesId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -2252,7 +2252,7 @@ } }, { - "name": "operationsId", + "name": "generatedFilesId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2449,7 +2449,7 @@ "operationId": "fileSearchStores.operations.get", "parameters": [ { - "name": "fileSearchStoresId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -2457,7 +2457,7 @@ } }, { - "name": "operationsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2487,7 +2487,7 @@ "operationId": "fileSearchStores.upload.operations.get", "parameters": [ { - "name": "fileSearchStoresId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -2495,7 +2495,7 @@ } }, { - "name": "operationsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2525,7 +2525,7 @@ "operationId": "fileSearchStores.documents.get", "parameters": [ { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "schema": { @@ -2533,7 +2533,7 @@ } }, { - "name": "documentsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "description": "Required. The name of the `Document` to retrieve. Example: `fileSearchStores/my-file-search-store-123/documents/the-doc-abc`", @@ -2561,7 +2561,7 @@ "operationId": "fileSearchStores.documents.delete", "parameters": [ { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "schema": { @@ -2569,7 +2569,7 @@ } }, { - "name": "documentsId", + "name": "fileSearchStoresId", "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`", @@ -2782,7 +2782,7 @@ "operationId": "corpora.operations.get", "parameters": [ { - "name": "corporaId", + "name": "operationsId", "in": "path", "required": true, "schema": { @@ -2790,7 +2790,7 @@ } }, { - "name": "operationsId", + "name": "corporaId", "in": "path", "required": true, "description": "The name of the operation resource.",