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 c5ac64a..3b530e8 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 d774e9c..7099cf5 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.FileSearchStoresOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs index 90a4c2a..f5f0af7 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 operationsId, - ref string fileSearchStoresId); + ref string fileSearchStoresId, + ref string operationsId); partial void PrepareFileSearchStoresOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string operationsId, - string fileSearchStoresId); + string fileSearchStoresId, + string operationsId); 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 operationsId, string fileSearchStoresId, + string operationsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresOperationsGetArguments( httpClient: HttpClient, - operationsId: ref operationsId, - fileSearchStoresId: ref fileSearchStoresId); + fileSearchStoresId: ref fileSearchStoresId, + operationsId: ref operationsId); var __pathBuilder = new global::Google.Gemini.PathBuilder( path: $"/fileSearchStores/{fileSearchStoresId}/operations/{operationsId}", @@ -68,8 +68,8 @@ partial void ProcessFileSearchStoresOperationsGetResponseContent( PrepareFileSearchStoresOperationsGetRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - operationsId: operationsId, - fileSearchStoresId: fileSearchStoresId); + fileSearchStoresId: fileSearchStoresId, + operationsId: operationsId); 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 e8eba0f..a246d63 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 operationsId, - ref string fileSearchStoresId); + ref string fileSearchStoresId, + ref string operationsId); partial void PrepareFileSearchStoresUploadOperationsGetRequest( global::System.Net.Http.HttpClient httpClient, global::System.Net.Http.HttpRequestMessage httpRequestMessage, - string operationsId, - string fileSearchStoresId); + string fileSearchStoresId, + string operationsId); 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 operationsId, string fileSearchStoresId, + string operationsId, global::System.Threading.CancellationToken cancellationToken = default) { PrepareArguments( client: HttpClient); PrepareFileSearchStoresUploadOperationsGetArguments( httpClient: HttpClient, - operationsId: ref operationsId, - fileSearchStoresId: ref fileSearchStoresId); + fileSearchStoresId: ref fileSearchStoresId, + operationsId: ref operationsId); 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, - operationsId: operationsId, - fileSearchStoresId: fileSearchStoresId); + fileSearchStoresId: fileSearchStoresId, + 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.FileSearchStoresOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresOperationsGet.g.cs index 6336661..7ccecfc 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 operationsId, string fileSearchStoresId, + string operationsId, 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 f26db83..45953b0 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 operationsId, string fileSearchStoresId, + 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 c477c2b..fe1adcc 100644 --- a/src/libs/Google.Gemini/openapi.json +++ b/src/libs/Google.Gemini/openapi.json @@ -2464,7 +2464,7 @@ "operationId": "fileSearchStores.operations.get", "parameters": [ { - "name": "operationsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2472,7 +2472,7 @@ } }, { - "name": "fileSearchStoresId", + "name": "operationsId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2502,7 +2502,7 @@ "operationId": "fileSearchStores.upload.operations.get", "parameters": [ { - "name": "operationsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2510,7 +2510,7 @@ } }, { - "name": "fileSearchStoresId", + "name": "operationsId", "in": "path", "required": true, "description": "The name of the operation resource.", @@ -2540,7 +2540,7 @@ "operationId": "fileSearchStores.documents.get", "parameters": [ { - "name": "documentsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2548,7 +2548,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`", @@ -2576,7 +2576,7 @@ "operationId": "fileSearchStores.documents.delete", "parameters": [ { - "name": "documentsId", + "name": "fileSearchStoresId", "in": "path", "required": true, "schema": { @@ -2584,7 +2584,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`",