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 d7f3cb4..8218225 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 82092da..2a86e24 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.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/openapi.json b/src/libs/Google.Gemini/openapi.json index 34c0702..be3d309 100644 --- a/src/libs/Google.Gemini/openapi.json +++ b/src/libs/Google.Gemini/openapi.json @@ -2150,7 +2150,7 @@ "operationId": "fileSearchStores.documents.get", "parameters": [ { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "schema": { @@ -2158,7 +2158,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`", @@ -2186,7 +2186,7 @@ "operationId": "fileSearchStores.documents.delete", "parameters": [ { - "name": "fileSearchStoresId", + "name": "documentsId", "in": "path", "required": true, "schema": { @@ -2194,7 +2194,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`",