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 49d540d..23f2f51 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 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.FileSearchStoresOperationsGet.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresOperationsGet.g.cs
index 8cf8716..95d2179 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 576ce01..1c31092 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.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 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 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/openapi.json b/src/libs/Google.Gemini/openapi.json
index be3d309..2744d60 100644
--- a/src/libs/Google.Gemini/openapi.json
+++ b/src/libs/Google.Gemini/openapi.json
@@ -2074,7 +2074,7 @@
"operationId": "fileSearchStores.operations.get",
"parameters": [
{
- "name": "fileSearchStoresId",
+ "name": "operationsId",
"in": "path",
"required": true,
"schema": {
@@ -2082,7 +2082,7 @@
}
},
{
- "name": "operationsId",
+ "name": "fileSearchStoresId",
"in": "path",
"required": true,
"description": "The name of the operation resource.",
@@ -2112,7 +2112,7 @@
"operationId": "fileSearchStores.upload.operations.get",
"parameters": [
{
- "name": "fileSearchStoresId",
+ "name": "operationsId",
"in": "path",
"required": true,
"schema": {
@@ -2120,7 +2120,7 @@
}
},
{
- "name": "operationsId",
+ "name": "fileSearchStoresId",
"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": "corporaId",
+ "name": "operationsId",
"in": "path",
"required": true,
"schema": {
@@ -2415,7 +2415,7 @@
}
},
{
- "name": "operationsId",
+ "name": "corporaId",
"in": "path",
"required": true,
"description": "The name of the operation resource.",