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 23f2f51..49d540d 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 operationsId,
- ref string corporaId);
+ ref string corporaId,
+ ref string operationsId);
partial void PrepareCorporaOperationsGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string operationsId,
- string corporaId);
+ string corporaId,
+ string operationsId);
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 operationsId,
string corporaId,
+ string operationsId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareCorporaOperationsGetArguments(
httpClient: HttpClient,
- operationsId: ref operationsId,
- corporaId: ref corporaId);
+ corporaId: ref corporaId,
+ operationsId: ref operationsId);
var __pathBuilder = new global::Google.Gemini.PathBuilder(
path: $"/corpora/{corporaId}/operations/{operationsId}",
@@ -68,8 +68,8 @@ partial void ProcessCorporaOperationsGetResponseContent(
PrepareCorporaOperationsGetRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- operationsId: operationsId,
- corporaId: corporaId);
+ corporaId: corporaId,
+ operationsId: operationsId);
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 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.GeneratedFilesOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.GeneratedFilesOperationsGet.g.cs
index 40fc3dd..da96076 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 operationsId,
- ref string generatedFilesId);
+ ref string generatedFilesId,
+ ref string operationsId);
partial void PrepareGeneratedFilesOperationsGetRequest(
global::System.Net.Http.HttpClient httpClient,
global::System.Net.Http.HttpRequestMessage httpRequestMessage,
- string operationsId,
- string generatedFilesId);
+ string generatedFilesId,
+ string operationsId);
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 operationsId,
string generatedFilesId,
+ string operationsId,
global::System.Threading.CancellationToken cancellationToken = default)
{
PrepareArguments(
client: HttpClient);
PrepareGeneratedFilesOperationsGetArguments(
httpClient: HttpClient,
- operationsId: ref operationsId,
- generatedFilesId: ref generatedFilesId);
+ generatedFilesId: ref generatedFilesId,
+ operationsId: ref operationsId);
var __pathBuilder = new global::Google.Gemini.PathBuilder(
path: $"/generatedFiles/{generatedFilesId}/operations/{operationsId}",
@@ -68,8 +68,8 @@ partial void ProcessGeneratedFilesOperationsGetResponseContent(
PrepareGeneratedFilesOperationsGetRequest(
httpClient: HttpClient,
httpRequestMessage: __httpRequest,
- operationsId: operationsId,
- generatedFilesId: generatedFilesId);
+ generatedFilesId: generatedFilesId,
+ operationsId: operationsId);
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 a2cb1a6..d99dacb 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 operationsId,
string corporaId,
+ 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.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.GeneratedFilesOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.GeneratedFilesOperationsGet.g.cs
index f18c55b..c413a4f 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 operationsId,
string generatedFilesId,
+ 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 a712de1..34c0702 100644
--- a/src/libs/Google.Gemini/openapi.json
+++ b/src/libs/Google.Gemini/openapi.json
@@ -1869,7 +1869,7 @@
"operationId": "generatedFiles.operations.get",
"parameters": [
{
- "name": "operationsId",
+ "name": "generatedFilesId",
"in": "path",
"required": true,
"schema": {
@@ -1877,7 +1877,7 @@
}
},
{
- "name": "generatedFilesId",
+ "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`",
@@ -2407,7 +2407,7 @@
"operationId": "corpora.operations.get",
"parameters": [
{
- "name": "operationsId",
+ "name": "corporaId",
"in": "path",
"required": true,
"schema": {
@@ -2415,7 +2415,7 @@
}
},
{
- "name": "corporaId",
+ "name": "operationsId",
"in": "path",
"required": true,
"description": "The name of the operation resource.",