diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateEmbedContentBatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateEmbedContentBatch.g.cs
index 7fce7d24..41a99506 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateEmbedContentBatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateEmbedContentBatch.g.cs
@@ -451,12 +451,12 @@ partial void ProcessBatchesUpdateEmbedContentBatchResponseContent(
///
/// Configures the input to the batch request.
///
- ///
- /// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
- ///
///
/// The output of a batch request. This is returned in the `AsyncBatchEmbedContentResponse` or the `EmbedContentBatch.output` field.
///
+ ///
+ /// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
+ ///
///
/// Stats about the batch.
///
@@ -473,8 +473,8 @@ partial void ProcessBatchesUpdateEmbedContentBatchResponseContent(
string batchesId,
string? updateMask = default,
global::Google.Gemini.InputEmbedContentConfig? inputConfig = default,
- string? priority = default,
global::Google.Gemini.EmbedContentBatchOutput? output = default,
+ string? priority = default,
global::Google.Gemini.EmbedContentBatchStats? batchStats = default,
string? displayName = default,
string? model = default,
@@ -484,8 +484,8 @@ partial void ProcessBatchesUpdateEmbedContentBatchResponseContent(
var __request = new global::Google.Gemini.EmbedContentBatch
{
InputConfig = inputConfig,
- Priority = priority,
Output = output,
+ Priority = priority,
BatchStats = batchStats,
DisplayName = displayName,
Model = model,
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateGenerateContentBatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateGenerateContentBatch.g.cs
index 9299e0ef..3b237a62 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateGenerateContentBatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.BatchesUpdateGenerateContentBatch.g.cs
@@ -448,23 +448,23 @@ partial void ProcessBatchesUpdateGenerateContentBatchResponseContent(
///
///
///
- ///
- /// Stats about the batch.
+ ///
+ /// Required. The user-defined name of this batch.
///
- ///
- /// Configures the input to the batch request.
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
///
///
/// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
///
+ ///
+ /// Stats about the batch.
+ ///
///
/// The output of a batch request. This is returned in the `BatchGenerateContentResponse` or the `GenerateContentBatch.output` field.
///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
- ///
- ///
- /// Required. The user-defined name of this batch.
+ ///
+ /// Configures the input to the batch request.
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -472,23 +472,23 @@ partial void ProcessBatchesUpdateGenerateContentBatchResponseContent(
public async global::System.Threading.Tasks.Task BatchesUpdateGenerateContentBatchAsync(
string batchesId,
string? updateMask = default,
- global::Google.Gemini.BatchStats? batchStats = default,
- global::Google.Gemini.InputConfig? inputConfig = default,
+ string? displayName = default,
+ string? model = default,
string? priority = default,
+ global::Google.Gemini.BatchStats? batchStats = default,
global::Google.Gemini.GenerateContentBatchOutput? output = default,
- string? model = default,
- string? displayName = default,
+ global::Google.Gemini.InputConfig? inputConfig = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentBatch
{
- BatchStats = batchStats,
- InputConfig = inputConfig,
+ DisplayName = displayName,
+ Model = model,
Priority = priority,
+ BatchStats = batchStats,
Output = output,
- Model = model,
- DisplayName = displayName,
+ InputConfig = inputConfig,
};
return await BatchesUpdateGenerateContentBatchAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsCreate.g.cs
index c07a339a..2b80cae4 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsCreate.g.cs
@@ -425,60 +425,60 @@ partial void ProcessCachedContentsCreateResponseContent(
///
/// Creates CachedContent resource.
///
- ///
- /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
- ///
- ///
- /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
+ /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Metadata on the usage of the cached content.
+ ///
+ /// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
- ///
- /// Input only. New TTL for this resource, input only.
+ ///
+ /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
///
///
/// Required. Immutable. The name of the `Model` to use for cached content Format: `models/{model}`
///
- ///
- /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
- ///
- ///
- /// The Tool configuration containing parameters for specifying `Tool` use in the request.
+ ///
+ /// Input only. New TTL for this resource, input only.
///
- ///
- /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
+ ///
+ /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
///
///
/// Optional. Input only. Immutable. The content to cache.
///
+ ///
+ /// Metadata on the usage of the cached content.
+ ///
+ ///
+ /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CachedContentsCreateAsync(
- string? displayName = default,
- string? expireTime = default,
- global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
- string? ttl = default,
- string? model = default,
- global::System.Collections.Generic.IList? tools = default,
- global::Google.Gemini.ToolConfig? toolConfig = default,
global::Google.Gemini.Content? systemInstruction = default,
+ global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::System.Collections.Generic.IList? tools = default,
+ string? model = default,
+ string? ttl = default,
+ string? displayName = default,
global::System.Collections.Generic.IList? contents = default,
+ global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
+ string? expireTime = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.CachedContent
{
- DisplayName = displayName,
- ExpireTime = expireTime,
- UsageMetadata = usageMetadata,
- Ttl = ttl,
- Model = model,
- Tools = tools,
- ToolConfig = toolConfig,
SystemInstruction = systemInstruction,
+ ToolConfig = toolConfig,
+ Tools = tools,
+ Model = model,
+ Ttl = ttl,
+ DisplayName = displayName,
Contents = contents,
+ UsageMetadata = usageMetadata,
+ ExpireTime = expireTime,
};
return await CachedContentsCreateAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsPatch.g.cs
index 3c364026..54632292 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CachedContentsPatch.g.cs
@@ -448,62 +448,62 @@ partial void ProcessCachedContentsPatchResponseContent(
///
///
///
- ///
- /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
- ///
- ///
- /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
+ /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Metadata on the usage of the cached content.
+ ///
+ /// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
- ///
- /// Input only. New TTL for this resource, input only.
+ ///
+ /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
///
///
/// Required. Immutable. The name of the `Model` to use for cached content Format: `models/{model}`
///
- ///
- /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
- ///
- ///
- /// The Tool configuration containing parameters for specifying `Tool` use in the request.
+ ///
+ /// Input only. New TTL for this resource, input only.
///
- ///
- /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
+ ///
+ /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
///
///
/// Optional. Input only. Immutable. The content to cache.
///
+ ///
+ /// Metadata on the usage of the cached content.
+ ///
+ ///
+ /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CachedContentsPatchAsync(
string cachedContentsId,
string? updateMask = default,
- string? displayName = default,
- string? expireTime = default,
- global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
- string? ttl = default,
- string? model = default,
- global::System.Collections.Generic.IList? tools = default,
- global::Google.Gemini.ToolConfig? toolConfig = default,
global::Google.Gemini.Content? systemInstruction = default,
+ global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::System.Collections.Generic.IList? tools = default,
+ string? model = default,
+ string? ttl = default,
+ string? displayName = default,
global::System.Collections.Generic.IList? contents = default,
+ global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
+ string? expireTime = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.CachedContent
{
- DisplayName = displayName,
- ExpireTime = expireTime,
- UsageMetadata = usageMetadata,
- Ttl = ttl,
- Model = model,
- Tools = tools,
- ToolConfig = toolConfig,
SystemInstruction = systemInstruction,
+ ToolConfig = toolConfig,
+ Tools = tools,
+ Model = model,
+ Ttl = ttl,
+ DisplayName = displayName,
Contents = contents,
+ UsageMetadata = usageMetadata,
+ ExpireTime = expireTime,
};
return await CachedContentsPatchAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsCreate.g.cs
index 5e53cccf..6961b234 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsCreate.g.cs
@@ -435,31 +435,31 @@ partial void ProcessCorporaPermissionsCreateResponseContent(
/// Create a permission to a specific resource.
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task CorporaPermissionsCreateAsync(
string corporaId,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.Permission
{
+ Role = role,
GranteeType = granteeType,
EmailAddress = emailAddress,
- Role = role,
};
return await CorporaPermissionsCreateAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsPatch.g.cs
index ed2f0c85..a64bbbc9 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.CorporaPermissionsPatch.g.cs
@@ -458,15 +458,15 @@ partial void ProcessCorporaPermissionsPatchResponseContent(
///
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -474,17 +474,17 @@ partial void ProcessCorporaPermissionsPatchResponseContent(
string permissionsId,
string corporaId,
string? updateMask = default,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.Permission
{
+ Role = role,
GranteeType = granteeType,
EmailAddress = emailAddress,
- Role = role,
};
return await CorporaPermissionsPatchAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicGenerateContent.g.cs
index d22fcd3e..f788a40e 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessDynamicGenerateContentResponseContent(
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessDynamicGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DynamicGenerateContentAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await DynamicGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContent.g.cs
index a11a2bd7..85e55be4 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessDynamicStreamGenerateContentResponseContent(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessDynamicStreamGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task DynamicStreamGenerateContentAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await DynamicStreamGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContentAsStream.g.cs
index ea77cac7..a35cf229 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.DynamicStreamGenerateContentAsStream.g.cs
@@ -376,23 +376,14 @@ partial void ProcessDynamicStreamGenerateContentAsStreamResponse(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -403,39 +394,48 @@ partial void ProcessDynamicStreamGenerateContentAsStreamResponse(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Collections.Generic.IAsyncEnumerable DynamicStreamGenerateContentAsStreamAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
[global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
var __enumerable = DynamicStreamGenerateContentAsStreamAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresCreate.g.cs
index 9f8368aa..7dac3545 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresCreate.g.cs
@@ -425,25 +425,25 @@ partial void ProcessFileSearchStoresCreateResponseContent(
///
/// Creates an empty `FileSearchStore`.
///
- ///
- /// Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"
- ///
///
/// Optional. The embedding model to use for the `FileSearchStore`. The model's resource name. This serves as an ID for the Model to use. Format: `models/{model}`. If not specified, the default embedding model will be used.
///
+ ///
+ /// Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileSearchStoresCreateAsync(
- string? displayName = default,
string? embeddingModel = default,
+ string? displayName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.FileSearchStore
{
- DisplayName = displayName,
EmbeddingModel = embeddingModel,
+ DisplayName = displayName,
};
return await FileSearchStoresCreateAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresImportFile.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresImportFile.g.cs
index ecbb3a1f..84aaacd5 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresImportFile.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.FileSearchStoresImportFile.g.cs
@@ -438,28 +438,28 @@ partial void ProcessFileSearchStoresImportFileResponseContent(
///
/// Custom metadata to be associated with the file.
///
- ///
- /// Required. The name of the `File` to import. Example: `files/abc-123`
- ///
///
/// Parameters for telling the service how to chunk the file. inspired by google3/cloud/ai/platform/extension/lib/retrieval/config/chunker_config.proto
///
+ ///
+ /// Required. The name of the `File` to import. Example: `files/abc-123`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task FileSearchStoresImportFileAsync(
string fileSearchStoresId,
global::System.Collections.Generic.IList? customMetadata = default,
- string? fileName = default,
global::Google.Gemini.ChunkingConfig? chunkingConfig = default,
+ string? fileName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.ImportFileRequest
{
CustomMetadata = customMetadata,
- FileName = fileName,
ChunkingConfig = chunkingConfig,
+ FileName = fileName,
};
return await FileSearchStoresImportFileAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.MediaUploadToFileSearchStore.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.MediaUploadToFileSearchStore.g.cs
index b24c70be..dbe30ef1 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.MediaUploadToFileSearchStore.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.MediaUploadToFileSearchStore.g.cs
@@ -435,6 +435,9 @@ partial void ProcessMediaUploadToFileSearchStoreResponseContent(
/// Uploads data to a FileSearchStore, preprocesses and chunks before storing it in a FileSearchStore Document.
///
///
+ ///
+ /// Optional. Display name of the created document.
+ ///
///
/// Custom metadata to be associated with the data.
///
@@ -444,27 +447,24 @@ partial void ProcessMediaUploadToFileSearchStoreResponseContent(
///
/// Optional. MIME type of the data. If not provided, it will be inferred from the uploaded content.
///
- ///
- /// Optional. Display name of the created document.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task MediaUploadToFileSearchStoreAsync(
string fileSearchStoresId,
+ string? displayName = default,
global::System.Collections.Generic.IList? customMetadata = default,
global::Google.Gemini.ChunkingConfig? chunkingConfig = default,
string? mimeType = default,
- string? displayName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.UploadToFileSearchStoreRequest
{
+ DisplayName = displayName,
CustomMetadata = customMetadata,
ChunkingConfig = chunkingConfig,
MimeType = mimeType,
- DisplayName = displayName,
};
return await MediaUploadToFileSearchStoreAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsEmbedContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsEmbedContent.g.cs
index 6d0e9cc9..9181ee76 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsEmbedContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsEmbedContent.g.cs
@@ -440,28 +440,28 @@ partial void ProcessModelsEmbedContentResponseContent(
///
/// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Required. The model's resource name. This serves as an ID for the Model to use. This name should match a model name returned by the `ListModels` method. Format: `models/{model}`
- ///
///
/// Configurations for the EmbedContent request.
///
+ ///
+ /// Required. The model's resource name. This serves as an ID for the Model to use. This name should match a model name returned by the `ListModels` method. Format: `models/{model}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ModelsEmbedContentAsync(
string modelsId,
global::Google.Gemini.Content? content = default,
- string? model = default,
global::Google.Gemini.EmbedContentConfig? embedContentConfig = default,
+ string? model = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.EmbedContentRequest
{
Content = content,
- Model = model,
EmbedContentConfig = embedContentConfig,
+ Model = model,
};
return await ModelsEmbedContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsGenerateContent.g.cs
index 1463267a..c4de6fb6 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessModelsGenerateContentResponseContent(
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessModelsGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ModelsGenerateContentAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await ModelsGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContent.g.cs
index 5fd230a0..49a8206c 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessModelsStreamGenerateContentResponseContent(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessModelsStreamGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task ModelsStreamGenerateContentAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await ModelsStreamGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContentAsStream.g.cs
index fade2165..7420eee6 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.ModelsStreamGenerateContentAsStream.g.cs
@@ -376,23 +376,14 @@ partial void ProcessModelsStreamGenerateContentAsStreamResponse(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -403,39 +394,48 @@ partial void ProcessModelsStreamGenerateContentAsStreamResponse(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Collections.Generic.IAsyncEnumerable ModelsStreamGenerateContentAsStreamAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
[global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
var __enumerable = ModelsStreamGenerateContentAsStreamAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsCreate.g.cs
index 270fd703..8953bbb6 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsCreate.g.cs
@@ -438,11 +438,8 @@ partial void ProcessTunedModelsCreateResponseContent(
/// Creates a tuned model. Check intermediate tuning progress (if any) through the [google.longrunning.Operations] service. Access status and results through the Operations service. Example: GET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222
///
///
- ///
- /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ /// Tuning tasks that create tuned models.
///
///
/// Optional. A short description of this model.
@@ -450,49 +447,52 @@ partial void ProcessTunedModelsCreateResponseContent(
///
/// Optional. The name to display for this model in user interfaces. The display name must be up to 40 characters including spaces.
///
- ///
- /// Tuned model as a source for training a new model.
- ///
- ///
- /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Tuning tasks that create tuned models.
- ///
///
/// Optional. List of project numbers that have read access to the tuned model.
///
///
/// Optional. Controls the randomness of the output. Values can range over `[0.0,1.0]`, inclusive. A value closer to `1.0` will produce responses that are more varied, while a value closer to `0.0` will typically result in less surprising responses from the model. This value specifies default to be the one used by the base model while creating the model.
///
+ ///
+ /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
+ ///
+ ///
+ /// Tuned model as a source for training a new model.
+ ///
+ ///
+ /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ ///
+ /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TunedModelsCreateAsync(
string? tunedModelId = default,
- float? topP = default,
- string? baseModel = default,
+ global::Google.Gemini.TuningTask? tuningTask = default,
string? description = default,
string? displayName = default,
- global::Google.Gemini.TunedModelSource? tunedModelSource = default,
- int? topK = default,
- global::Google.Gemini.TuningTask? tuningTask = default,
global::System.Collections.Generic.IList? readerProjectNumbers = default,
float? temperature = default,
+ float? topP = default,
+ global::Google.Gemini.TunedModelSource? tunedModelSource = default,
+ string? baseModel = default,
+ int? topK = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.TunedModel
{
- TopP = topP,
- BaseModel = baseModel,
+ TuningTask = tuningTask,
Description = description,
DisplayName = displayName,
- TunedModelSource = tunedModelSource,
- TopK = topK,
- TuningTask = tuningTask,
ReaderProjectNumbers = readerProjectNumbers,
Temperature = temperature,
+ TopP = topP,
+ TunedModelSource = tunedModelSource,
+ BaseModel = baseModel,
+ TopK = topK,
};
return await TunedModelsCreateAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsGenerateContent.g.cs
index f8b11110..51482788 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessTunedModelsGenerateContentResponseContent(
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessTunedModelsGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TunedModelsGenerateContentAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await TunedModelsGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPatch.g.cs
index 6f516e7c..e7b7716c 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPatch.g.cs
@@ -448,11 +448,8 @@ partial void ProcessTunedModelsPatchResponseContent(
///
///
///
- ///
- /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ /// Tuning tasks that create tuned models.
///
///
/// Optional. A short description of this model.
@@ -460,50 +457,53 @@ partial void ProcessTunedModelsPatchResponseContent(
///
/// Optional. The name to display for this model in user interfaces. The display name must be up to 40 characters including spaces.
///
- ///
- /// Tuned model as a source for training a new model.
- ///
- ///
- /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Tuning tasks that create tuned models.
- ///
///
/// Optional. List of project numbers that have read access to the tuned model.
///
///
/// Optional. Controls the randomness of the output. Values can range over `[0.0,1.0]`, inclusive. A value closer to `1.0` will produce responses that are more varied, while a value closer to `0.0` will typically result in less surprising responses from the model. This value specifies default to be the one used by the base model while creating the model.
///
+ ///
+ /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
+ ///
+ ///
+ /// Tuned model as a source for training a new model.
+ ///
+ ///
+ /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ ///
+ /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TunedModelsPatchAsync(
string tunedModelsId,
string? updateMask = default,
- float? topP = default,
- string? baseModel = default,
+ global::Google.Gemini.TuningTask? tuningTask = default,
string? description = default,
string? displayName = default,
- global::Google.Gemini.TunedModelSource? tunedModelSource = default,
- int? topK = default,
- global::Google.Gemini.TuningTask? tuningTask = default,
global::System.Collections.Generic.IList? readerProjectNumbers = default,
float? temperature = default,
+ float? topP = default,
+ global::Google.Gemini.TunedModelSource? tunedModelSource = default,
+ string? baseModel = default,
+ int? topK = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.TunedModel
{
- TopP = topP,
- BaseModel = baseModel,
+ TuningTask = tuningTask,
Description = description,
DisplayName = displayName,
- TunedModelSource = tunedModelSource,
- TopK = topK,
- TuningTask = tuningTask,
ReaderProjectNumbers = readerProjectNumbers,
Temperature = temperature,
+ TopP = topP,
+ TunedModelSource = tunedModelSource,
+ BaseModel = baseModel,
+ TopK = topK,
};
return await TunedModelsPatchAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsCreate.g.cs
index 9e0209cf..2f74e3cc 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsCreate.g.cs
@@ -435,31 +435,31 @@ partial void ProcessTunedModelsPermissionsCreateResponseContent(
/// Create a permission to a specific resource.
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TunedModelsPermissionsCreateAsync(
string tunedModelsId,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.Permission
{
+ Role = role,
GranteeType = granteeType,
EmailAddress = emailAddress,
- Role = role,
};
return await TunedModelsPermissionsCreateAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsPatch.g.cs
index 2e627ccb..d4207544 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsPermissionsPatch.g.cs
@@ -458,15 +458,15 @@ partial void ProcessTunedModelsPermissionsPatchResponseContent(
///
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -474,17 +474,17 @@ partial void ProcessTunedModelsPermissionsPatchResponseContent(
string tunedModelsId,
string permissionsId,
string? updateMask = default,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.Permission
{
+ Role = role,
GranteeType = granteeType,
EmailAddress = emailAddress,
- Role = role,
};
return await TunedModelsPermissionsPatchAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContent.g.cs
index ebe59ed9..139d4120 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContent.g.cs
@@ -435,23 +435,14 @@ partial void ProcessTunedModelsStreamGenerateContentResponseContent(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -462,39 +453,48 @@ partial void ProcessTunedModelsStreamGenerateContentResponseContent(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Threading.Tasks.Task TunedModelsStreamGenerateContentAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
return await TunedModelsStreamGenerateContentAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
index cbc48c5a..7da9a893 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.GeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
@@ -376,23 +376,14 @@ partial void ProcessTunedModelsStreamGenerateContentAsStreamResponse(
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -403,39 +394,48 @@ partial void ProcessTunedModelsStreamGenerateContentAsStreamResponse(
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
public async global::System.Collections.Generic.IAsyncEnumerable TunedModelsStreamGenerateContentAsStreamAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
[global::System.Runtime.CompilerServices.EnumeratorCancellation] global::System.Threading.CancellationToken cancellationToken = default)
{
var __request = new global::Google.Gemini.GenerateContentRequest
{
- Store = store,
- Model = model,
- SafetySettings = safetySettings,
- CachedContent = cachedContent,
- GenerationConfig = generationConfig,
Tools = tools,
+ SafetySettings = safetySettings,
+ Store = store,
ServiceTier = serviceTier,
SystemInstruction = systemInstruction,
ToolConfig = toolConfig,
+ GenerationConfig = generationConfig,
Contents = contents,
+ Model = model,
+ CachedContent = cachedContent,
};
var __enumerable = TunedModelsStreamGenerateContentAsStreamAsync(
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateEmbedContentBatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateEmbedContentBatch.g.cs
index a4751692..b9b3aed4 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateEmbedContentBatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateEmbedContentBatch.g.cs
@@ -44,12 +44,12 @@ public partial interface IGeminiClient
///
/// Configures the input to the batch request.
///
- ///
- /// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
- ///
///
/// The output of a batch request. This is returned in the `AsyncBatchEmbedContentResponse` or the `EmbedContentBatch.output` field.
///
+ ///
+ /// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
+ ///
///
/// Stats about the batch.
///
@@ -66,8 +66,8 @@ public partial interface IGeminiClient
string batchesId,
string? updateMask = default,
global::Google.Gemini.InputEmbedContentConfig? inputConfig = default,
- string? priority = default,
global::Google.Gemini.EmbedContentBatchOutput? output = default,
+ string? priority = default,
global::Google.Gemini.EmbedContentBatchStats? batchStats = default,
string? displayName = default,
string? model = default,
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateGenerateContentBatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateGenerateContentBatch.g.cs
index 118984ec..9319189e 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateGenerateContentBatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.BatchesUpdateGenerateContentBatch.g.cs
@@ -41,23 +41,23 @@ public partial interface IGeminiClient
///
///
///
- ///
- /// Stats about the batch.
+ ///
+ /// Required. The user-defined name of this batch.
///
- ///
- /// Configures the input to the batch request.
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
///
///
/// Optional. The priority of the batch. Batches with a higher priority value will be processed before batches with a lower priority value. Negative values are allowed. Default is 0.
///
+ ///
+ /// Stats about the batch.
+ ///
///
/// The output of a batch request. This is returned in the `BatchGenerateContentResponse` or the `GenerateContentBatch.output` field.
///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
- ///
- ///
- /// Required. The user-defined name of this batch.
+ ///
+ /// Configures the input to the batch request.
///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
@@ -65,12 +65,12 @@ public partial interface IGeminiClient
global::System.Threading.Tasks.Task BatchesUpdateGenerateContentBatchAsync(
string batchesId,
string? updateMask = default,
- global::Google.Gemini.BatchStats? batchStats = default,
- global::Google.Gemini.InputConfig? inputConfig = default,
+ string? displayName = default,
+ string? model = default,
string? priority = default,
+ global::Google.Gemini.BatchStats? batchStats = default,
global::Google.Gemini.GenerateContentBatchOutput? output = default,
- string? model = default,
- string? displayName = default,
+ global::Google.Gemini.InputConfig? inputConfig = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsCreate.g.cs
index 7d9649a2..e69b67f7 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsCreate.g.cs
@@ -31,46 +31,46 @@ public partial interface IGeminiClient
///
/// Creates CachedContent resource.
///
- ///
- /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
- ///
- ///
- /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
+ /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Metadata on the usage of the cached content.
+ ///
+ /// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
- ///
- /// Input only. New TTL for this resource, input only.
+ ///
+ /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
///
///
/// Required. Immutable. The name of the `Model` to use for cached content Format: `models/{model}`
///
- ///
- /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
- ///
- ///
- /// The Tool configuration containing parameters for specifying `Tool` use in the request.
+ ///
+ /// Input only. New TTL for this resource, input only.
///
- ///
- /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
+ ///
+ /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
///
///
/// Optional. Input only. Immutable. The content to cache.
///
+ ///
+ /// Metadata on the usage of the cached content.
+ ///
+ ///
+ /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CachedContentsCreateAsync(
- string? displayName = default,
- string? expireTime = default,
- global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
- string? ttl = default,
- string? model = default,
- global::System.Collections.Generic.IList? tools = default,
- global::Google.Gemini.ToolConfig? toolConfig = default,
global::Google.Gemini.Content? systemInstruction = default,
+ global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::System.Collections.Generic.IList? tools = default,
+ string? model = default,
+ string? ttl = default,
+ string? displayName = default,
global::System.Collections.Generic.IList? contents = default,
+ global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
+ string? expireTime = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsPatch.g.cs
index cfb5329a..fd8199f6 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CachedContentsPatch.g.cs
@@ -41,48 +41,48 @@ public partial interface IGeminiClient
///
///
///
- ///
- /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
- ///
- ///
- /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
+ /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Metadata on the usage of the cached content.
+ ///
+ /// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
- ///
- /// Input only. New TTL for this resource, input only.
+ ///
+ /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
///
///
/// Required. Immutable. The name of the `Model` to use for cached content Format: `models/{model}`
///
- ///
- /// Optional. Input only. Immutable. A list of `Tools` the model may use to generate the next response
- ///
- ///
- /// The Tool configuration containing parameters for specifying `Tool` use in the request.
+ ///
+ /// Input only. New TTL for this resource, input only.
///
- ///
- /// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
+ ///
+ /// Optional. Immutable. The user-generated meaningful display name of the cached content. Maximum 128 Unicode characters.
///
///
/// Optional. Input only. Immutable. The content to cache.
///
+ ///
+ /// Metadata on the usage of the cached content.
+ ///
+ ///
+ /// Timestamp in UTC of when this resource is considered expired. This is *always* provided on output, regardless of what was sent on input.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CachedContentsPatchAsync(
string cachedContentsId,
string? updateMask = default,
- string? displayName = default,
- string? expireTime = default,
- global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
- string? ttl = default,
- string? model = default,
- global::System.Collections.Generic.IList? tools = default,
- global::Google.Gemini.ToolConfig? toolConfig = default,
global::Google.Gemini.Content? systemInstruction = default,
+ global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::System.Collections.Generic.IList? tools = default,
+ string? model = default,
+ string? ttl = default,
+ string? displayName = default,
global::System.Collections.Generic.IList? contents = default,
+ global::Google.Gemini.CachedContentUsageMetadata? usageMetadata = default,
+ string? expireTime = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsCreate.g.cs
index 742c7e66..d00a997c 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsCreate.g.cs
@@ -36,23 +36,23 @@ public partial interface IGeminiClient
/// Create a permission to a specific resource.
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task CorporaPermissionsCreateAsync(
string corporaId,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsPatch.g.cs
index b57a43d0..61d0e8e4 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.CorporaPermissionsPatch.g.cs
@@ -46,15 +46,15 @@ public partial interface IGeminiClient
///
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -62,9 +62,9 @@ public partial interface IGeminiClient
string permissionsId,
string corporaId,
string? updateMask = default,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicGenerateContent.g.cs
index 49242c9c..e319f225 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task DynamicGenerateContentAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContent.g.cs
index 54810602..f155916e 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task DynamicStreamGenerateContentAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContentAsStream.g.cs
index 2973e6ec..0da92c22 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.DynamicStreamGenerateContentAsStream.g.cs
@@ -22,23 +22,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -49,24 +40,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Collections.Generic.IAsyncEnumerable DynamicStreamGenerateContentAsStreamAsync(
string dynamicId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresCreate.g.cs
index 9edab07f..456dc9c7 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresCreate.g.cs
@@ -31,18 +31,18 @@ public partial interface IGeminiClient
///
/// Creates an empty `FileSearchStore`.
///
- ///
- /// Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"
- ///
///
/// Optional. The embedding model to use for the `FileSearchStore`. The model's resource name. This serves as an ID for the Model to use. Format: `models/{model}`. If not specified, the default embedding model will be used.
///
+ ///
+ /// Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileSearchStoresCreateAsync(
- string? displayName = default,
string? embeddingModel = default,
+ string? displayName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresImportFile.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresImportFile.g.cs
index e31c28d5..e0b568c2 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresImportFile.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.FileSearchStoresImportFile.g.cs
@@ -39,20 +39,20 @@ public partial interface IGeminiClient
///
/// Custom metadata to be associated with the file.
///
- ///
- /// Required. The name of the `File` to import. Example: `files/abc-123`
- ///
///
/// Parameters for telling the service how to chunk the file. inspired by google3/cloud/ai/platform/extension/lib/retrieval/config/chunker_config.proto
///
+ ///
+ /// Required. The name of the `File` to import. Example: `files/abc-123`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task FileSearchStoresImportFileAsync(
string fileSearchStoresId,
global::System.Collections.Generic.IList? customMetadata = default,
- string? fileName = default,
global::Google.Gemini.ChunkingConfig? chunkingConfig = default,
+ string? fileName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.MediaUploadToFileSearchStore.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.MediaUploadToFileSearchStore.g.cs
index a2ea08f4..490b5361 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.MediaUploadToFileSearchStore.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.MediaUploadToFileSearchStore.g.cs
@@ -36,6 +36,9 @@ public partial interface IGeminiClient
/// Uploads data to a FileSearchStore, preprocesses and chunks before storing it in a FileSearchStore Document.
///
///
+ ///
+ /// Optional. Display name of the created document.
+ ///
///
/// Custom metadata to be associated with the data.
///
@@ -45,18 +48,15 @@ public partial interface IGeminiClient
///
/// Optional. MIME type of the data. If not provided, it will be inferred from the uploaded content.
///
- ///
- /// Optional. Display name of the created document.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task MediaUploadToFileSearchStoreAsync(
string fileSearchStoresId,
+ string? displayName = default,
global::System.Collections.Generic.IList? customMetadata = default,
global::Google.Gemini.ChunkingConfig? chunkingConfig = default,
string? mimeType = default,
- string? displayName = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsEmbedContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsEmbedContent.g.cs
index c9ec1671..a0ce1945 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsEmbedContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsEmbedContent.g.cs
@@ -41,20 +41,20 @@ public partial interface IGeminiClient
///
/// The base structured datatype containing multi-part content of a message. A `Content` includes a `role` field designating the producer of the `Content` and a `parts` field containing multi-part data that contains the content of the message turn.
///
- ///
- /// Required. The model's resource name. This serves as an ID for the Model to use. This name should match a model name returned by the `ListModels` method. Format: `models/{model}`
- ///
///
/// Configurations for the EmbedContent request.
///
+ ///
+ /// Required. The model's resource name. This serves as an ID for the Model to use. This name should match a model name returned by the `ListModels` method. Format: `models/{model}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ModelsEmbedContentAsync(
string modelsId,
global::Google.Gemini.Content? content = default,
- string? model = default,
global::Google.Gemini.EmbedContentConfig? embedContentConfig = default,
+ string? model = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsGenerateContent.g.cs
index 4317faf4..15b610c6 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ModelsGenerateContentAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContent.g.cs
index d75d4bb8..db41328e 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task ModelsStreamGenerateContentAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContentAsStream.g.cs
index 90fbf8bf..24e9d987 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.ModelsStreamGenerateContentAsStream.g.cs
@@ -22,23 +22,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -49,24 +40,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Collections.Generic.IAsyncEnumerable ModelsStreamGenerateContentAsStreamAsync(
string modelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsCreate.g.cs
index 96cf6abf..8bd576b4 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsCreate.g.cs
@@ -36,11 +36,8 @@ public partial interface IGeminiClient
/// Creates a tuned model. Check intermediate tuning progress (if any) through the [google.longrunning.Operations] service. Access status and results through the Operations service. Example: GET /v1/tunedModels/az2mb0bpw6i/operations/000-111-222
///
///
- ///
- /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ /// Tuning tasks that create tuned models.
///
///
/// Optional. A short description of this model.
@@ -48,35 +45,38 @@ public partial interface IGeminiClient
///
/// Optional. The name to display for this model in user interfaces. The display name must be up to 40 characters including spaces.
///
- ///
- /// Tuned model as a source for training a new model.
- ///
- ///
- /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Tuning tasks that create tuned models.
- ///
///
/// Optional. List of project numbers that have read access to the tuned model.
///
///
/// Optional. Controls the randomness of the output. Values can range over `[0.0,1.0]`, inclusive. A value closer to `1.0` will produce responses that are more varied, while a value closer to `0.0` will typically result in less surprising responses from the model. This value specifies default to be the one used by the base model while creating the model.
///
+ ///
+ /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
+ ///
+ ///
+ /// Tuned model as a source for training a new model.
+ ///
+ ///
+ /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ ///
+ /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task TunedModelsCreateAsync(
string? tunedModelId = default,
- float? topP = default,
- string? baseModel = default,
+ global::Google.Gemini.TuningTask? tuningTask = default,
string? description = default,
string? displayName = default,
- global::Google.Gemini.TunedModelSource? tunedModelSource = default,
- int? topK = default,
- global::Google.Gemini.TuningTask? tuningTask = default,
global::System.Collections.Generic.IList? readerProjectNumbers = default,
float? temperature = default,
+ float? topP = default,
+ global::Google.Gemini.TunedModelSource? tunedModelSource = default,
+ string? baseModel = default,
+ int? topK = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsGenerateContent.g.cs
index 6a8142f1..b5b2f0bc 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a model response given an input `GenerateContentRequest`. Refer to the [text generation guide](https://ai.google.dev/gemini-api/docs/text-generation) for detailed usage information. Input capabilities differ between models, including tuned models. Refer to the [model guide](https://ai.google.dev/gemini-api/docs/models/gemini) and [tuning guide](https://ai.google.dev/gemini-api/docs/model-tuning) for details.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task TunedModelsGenerateContentAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPatch.g.cs
index a0ea9623..51d883ba 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPatch.g.cs
@@ -41,11 +41,8 @@ public partial interface IGeminiClient
///
///
///
- ///
- /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ /// Tuning tasks that create tuned models.
///
///
/// Optional. A short description of this model.
@@ -53,36 +50,39 @@ public partial interface IGeminiClient
///
/// Optional. The name to display for this model in user interfaces. The display name must be up to 40 characters including spaces.
///
- ///
- /// Tuned model as a source for training a new model.
- ///
- ///
- /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
- ///
- ///
- /// Tuning tasks that create tuned models.
- ///
///
/// Optional. List of project numbers that have read access to the tuned model.
///
///
/// Optional. Controls the randomness of the output. Values can range over `[0.0,1.0]`, inclusive. A value closer to `1.0` will produce responses that are more varied, while a value closer to `0.0` will typically result in less surprising responses from the model. This value specifies default to be the one used by the base model while creating the model.
///
+ ///
+ /// Optional. For Nucleus sampling. Nucleus sampling considers the smallest set of tokens whose probability sum is at least `top_p`. This value specifies default to be the one used by the base model while creating the model.
+ ///
+ ///
+ /// Tuned model as a source for training a new model.
+ ///
+ ///
+ /// Immutable. The name of the `Model` to tune. Example: `models/gemini-1.5-flash-001`
+ ///
+ ///
+ /// Optional. For Top-k sampling. Top-k sampling considers the set of `top_k` most probable tokens. This value specifies default to be used by the backend while making the call to the model. This value specifies default to be the one used by the base model while creating the model.
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task TunedModelsPatchAsync(
string tunedModelsId,
string? updateMask = default,
- float? topP = default,
- string? baseModel = default,
+ global::Google.Gemini.TuningTask? tuningTask = default,
string? description = default,
string? displayName = default,
- global::Google.Gemini.TunedModelSource? tunedModelSource = default,
- int? topK = default,
- global::Google.Gemini.TuningTask? tuningTask = default,
global::System.Collections.Generic.IList? readerProjectNumbers = default,
float? temperature = default,
+ float? topP = default,
+ global::Google.Gemini.TunedModelSource? tunedModelSource = default,
+ string? baseModel = default,
+ int? topK = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsCreate.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsCreate.g.cs
index 6d247e33..201791e7 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsCreate.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsCreate.g.cs
@@ -36,23 +36,23 @@ public partial interface IGeminiClient
/// Create a permission to a specific resource.
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task TunedModelsPermissionsCreateAsync(
string tunedModelsId,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsPatch.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsPatch.g.cs
index 065efa6e..e32f3684 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsPatch.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsPermissionsPatch.g.cs
@@ -46,15 +46,15 @@ public partial interface IGeminiClient
///
///
///
+ ///
+ /// Required. The role granted by this permission.
+ ///
///
/// Optional. Immutable. The type of the grantee.
///
///
/// Optional. Immutable. The email address of the user of group which this permission refers. Field is not set when permission's grantee type is EVERYONE.
///
- ///
- /// Required. The role granted by this permission.
- ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
@@ -62,9 +62,9 @@ public partial interface IGeminiClient
string tunedModelsId,
string permissionsId,
string? updateMask = default,
+ global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.PermissionGranteeType? granteeType = default,
string? emailAddress = default,
- global::Google.Gemini.PermissionRole? role = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContent.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContent.g.cs
index 400e1e57..02812300 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContent.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContent.g.cs
@@ -36,23 +36,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -63,24 +54,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Threading.Tasks.Task TunedModelsStreamGenerateContentAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
index 5847db9b..eaea2214 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.IGeminiClient.TunedModelsStreamGenerateContentAsStream.g.cs
@@ -22,23 +22,14 @@ public partial interface IGeminiClient
/// Generates a [streamed response](https://ai.google.dev/gemini-api/docs/text-generation?lang=python#generate-a-text-stream) from the model given an input `GenerateContentRequest`.
///
///
- ///
- /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
- ///
- ///
- /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
///
///
/// Optional. A list of unique `SafetySetting` instances for blocking unsafe content. This will be enforced on the `GenerateContentRequest.contents` and `GenerateContentResponse.candidates`. There should not be more than one setting for each `SafetyCategory` type. The API will block any contents and responses that fail to meet the thresholds set by these settings. This list overrides the default settings for each `SafetyCategory` specified in the safety_settings. If there is no `SafetySetting` for a given `SafetyCategory` provided in the list, the API will use the default safety setting for that category. Harm categories HARM_CATEGORY_HATE_SPEECH, HARM_CATEGORY_SEXUALLY_EXPLICIT, HARM_CATEGORY_DANGEROUS_CONTENT, HARM_CATEGORY_HARASSMENT, HARM_CATEGORY_CIVIC_INTEGRITY are supported. Refer to the [guide](https://ai.google.dev/gemini-api/docs/safety-settings) for detailed information on available safety settings. Also refer to the [Safety guidance](https://ai.google.dev/gemini-api/docs/safety-guidance) to learn how to incorporate safety considerations in your AI applications.
///
- ///
- /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
- ///
- ///
- /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
- ///
- ///
- /// Optional. A list of `Tools` the `Model` may use to generate the next response. A `Tool` is a piece of code that enables the system to interact with external systems to perform an action, or set of actions, outside of knowledge and scope of the `Model`. Supported `Tool`s are `Function` and `code_execution`. Refer to the [Function calling](https://ai.google.dev/gemini-api/docs/function-calling) and the [Code execution](https://ai.google.dev/gemini-api/docs/code-execution) guides to learn more.
+ ///
+ /// Optional. Configures the logging behavior for a given request. If set, it takes precedence over the project-level logging config.
///
///
/// Optional. The service tier of the request.
@@ -49,24 +40,33 @@ public partial interface IGeminiClient
///
/// The Tool configuration containing parameters for specifying `Tool` use in the request.
///
+ ///
+ /// Configuration options for model generation and outputs. Not all parameters are configurable for every model.
+ ///
///
/// Required. The content of the current conversation with the model. For single-turn queries, this is a single instance. For multi-turn queries like [chat](https://ai.google.dev/gemini-api/docs/text-generation#chat), this is a repeated field that contains the conversation history and the latest request.
///
+ ///
+ /// Required. The name of the `Model` to use for generating the completion. Format: `models/{model}`.
+ ///
+ ///
+ /// Optional. The name of the content [cached](https://ai.google.dev/gemini-api/docs/caching) to use as context to serve the prediction. Format: `cachedContents/{cachedContent}`
+ ///
/// Per-request overrides such as headers, query parameters, timeout, retries, and response buffering.
/// The token to cancel the operation with
///
global::System.Collections.Generic.IAsyncEnumerable TunedModelsStreamGenerateContentAsStreamAsync(
string tunedModelsId,
- bool? store = default,
- string? model = default,
- global::System.Collections.Generic.IList? safetySettings = default,
- string? cachedContent = default,
- global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? tools = default,
+ global::System.Collections.Generic.IList? safetySettings = default,
+ bool? store = default,
global::Google.Gemini.GenerateContentRequestServiceTier? serviceTier = default,
global::Google.Gemini.Content? systemInstruction = default,
global::Google.Gemini.ToolConfig? toolConfig = default,
+ global::Google.Gemini.GenerationConfig? generationConfig = default,
global::System.Collections.Generic.IList? contents = default,
+ string? model = default,
+ string? cachedContent = default,
global::Google.Gemini.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
}
diff --git a/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContext.g.cs b/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContext.g.cs
index 3774e221..6506faf3 100644
--- a/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContext.g.cs
+++ b/src/libs/Google.Gemini/Generated/Google.Gemini.JsonSerializerContext.g.cs
@@ -13,49 +13,37 @@ namespace Google.Gemini
DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
Converters = new global::System.Type[]
{
- typeof(global::Google.Gemini.JsonConverters.FunctionDeclarationBehaviorJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.FunctionDeclarationBehaviorNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.TunedModelStateJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.TunedModelStateNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.ToolCallToolTypeJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.ToolCallToolTypeNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.PromptFeedbackBlockReasonJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ToolResponseToolTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.PromptFeedbackBlockReasonNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ToolResponseToolTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.EmbedContentRequestTaskTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.DynamicRetrievalConfigModeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.EmbedContentRequestTaskTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.DynamicRetrievalConfigModeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.GenerateContentRequestServiceTierJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionCallingConfigModeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.GenerateContentRequestServiceTierNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionCallingConfigModeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.CodeExecutionResultOutcomeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.UsageMetadataServiceTierJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.CodeExecutionResultOutcomeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.UsageMetadataServiceTierNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatImageSizeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatDeliveryJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatImageSizeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatDeliveryNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatMimeTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatMimeTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatMimeTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatMimeTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatDeliveryJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionDeclarationBehaviorJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatDeliveryNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionDeclarationBehaviorNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatAspectRatioJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ModelStatusModelStageJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatAspectRatioNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ModelStatusModelStageNullableJsonConverter),
typeof(global::Google.Gemini.JsonConverters.GenerationConfigMediaResolutionJsonConverter),
@@ -69,109 +57,93 @@ namespace Google.Gemini
typeof(global::Google.Gemini.JsonConverters.ModalityTokenCountModalityNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.CandidateFinishReasonJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.CandidateFinishReasonNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.SafetySettingCategoryJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.SchemaTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.SafetySettingCategoryNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.SchemaTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.SafetySettingThresholdJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.EmbedContentConfigTaskTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.SafetySettingThresholdNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.EmbedContentConfigTaskTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FileStateJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.TunedModelStateJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FileStateNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.TunedModelStateNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FileSourceJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GeneratedFileStateJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FileSourceNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GeneratedFileStateNullableJsonConverter),
typeof(global::Google.Gemini.JsonConverters.EmbedContentBatchStateJsonConverter),
typeof(global::Google.Gemini.JsonConverters.EmbedContentBatchStateNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.SchemaTypeJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.SchemaTypeNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.ModelStatusModelStageJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.ModelStatusModelStageNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.ExecutableCodeLanguageJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.DocumentStateJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ExecutableCodeLanguageNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.DocumentStateNullableJsonConverter),
typeof(global::Google.Gemini.JsonConverters.TextResponseFormatMimeTypeJsonConverter),
typeof(global::Google.Gemini.JsonConverters.TextResponseFormatMimeTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.GeneratedFileStateJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.GeneratedFileStateNullableJsonConverter),
-
- typeof(global::Google.Gemini.JsonConverters.PermissionGranteeTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ComputerUseEnvironmentJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.PermissionGranteeTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ComputerUseEnvironmentNullableJsonConverter),
typeof(global::Google.Gemini.JsonConverters.PermissionRoleJsonConverter),
typeof(global::Google.Gemini.JsonConverters.PermissionRoleNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FunctionCallingConfigModeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.PermissionGranteeTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FunctionCallingConfigModeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.PermissionGranteeTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ToolResponseToolTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FileStateJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ToolResponseToolTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FileStateNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ComputerUseEnvironmentJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FileSourceJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ComputerUseEnvironmentNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FileSourceNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.UrlMetadataUrlRetrievalStatusJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GenerateContentBatchStateJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.UrlMetadataUrlRetrievalStatusNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GenerateContentBatchStateNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.UsageMetadataServiceTierJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionResponseSchedulingJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.UsageMetadataServiceTierNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.FunctionResponseSchedulingNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ThinkingConfigThinkingLevelJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.PromptFeedbackBlockReasonJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.ThinkingConfigThinkingLevelNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.PromptFeedbackBlockReasonNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.DynamicRetrievalConfigModeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GenerateContentRequestServiceTierJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.DynamicRetrievalConfigModeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.GenerateContentRequestServiceTierNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.DocumentStateJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ToolCallToolTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.DocumentStateNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ToolCallToolTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatMimeTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatImageSizeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatMimeTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatImageSizeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatDeliveryJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatMimeTypeJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.AudioResponseFormatDeliveryNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatMimeTypeNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.GenerateContentBatchStateJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatDeliveryJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.GenerateContentBatchStateNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatDeliveryNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FunctionResponseSchedulingJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatAspectRatioJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.FunctionResponseSchedulingNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.ImageResponseFormatAspectRatioNullableJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.EmbedContentConfigTaskTypeJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.CandidateFinishReasonJsonConverter),
- typeof(global::Google.Gemini.JsonConverters.EmbedContentConfigTaskTypeNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.CandidateFinishReasonNullableJsonConverter),
typeof(global::Google.Gemini.JsonConverters.SafetyRatingProbabilityJsonConverter),
@@ -181,302 +153,330 @@ namespace Google.Gemini
typeof(global::Google.Gemini.JsonConverters.SafetyRatingCategoryNullableJsonConverter),
+ typeof(global::Google.Gemini.JsonConverters.EmbedContentRequestTaskTypeJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.EmbedContentRequestTaskTypeNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.CodeExecutionResultOutcomeJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.CodeExecutionResultOutcomeNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.UrlMetadataUrlRetrievalStatusJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.UrlMetadataUrlRetrievalStatusNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.ThinkingConfigThinkingLevelJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.ThinkingConfigThinkingLevelNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.SafetySettingCategoryJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.SafetySettingCategoryNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.SafetySettingThresholdJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.SafetySettingThresholdNullableJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.ExecutableCodeLanguageJsonConverter),
+
+ typeof(global::Google.Gemini.JsonConverters.ExecutableCodeLanguageNullableJsonConverter),
+
typeof(global::Google.Gemini.JsonConverters.UnixTimestampJsonConverter),
})]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.JsonSerializerContextTypes))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchEmbedContentsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ContentEmbedding))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbeddingUsageMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunkCustomMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunkStringList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclaration))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(object))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Schema))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclarationBehavior), TypeInfoPropertyName = "FunctionDeclarationBehavior2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Interval))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentRequests))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponseToolType), TypeInfoPropertyName = "ToolResponseToolType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCall))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Empty))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.File))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SearchTypes))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.WebSearch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageSearch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UploadToFileSearchStoreRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CustomMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ChunkingConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.WhiteSpaceConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModel))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelState), TypeInfoPropertyName = "TunedModelState2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelSource))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningTask))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningExample))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CustomLongRunningOperation))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Status))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AsyncBatchEmbedContentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TransferOwnershipRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PlaceAnswerSources))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ReviewSnippet))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VideoMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequests))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VoiceConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PrebuiltVoiceConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Hyperparameters))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CitationMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CitationSource))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchOutput))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedResponses))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Web))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LogprobsResultCandidate))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LatLng))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Model))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearchRetrieval))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Corpus))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlContext))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCall))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TopCandidates))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningSnapshot))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Blob))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListOperationsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Operation))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchStats))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCall))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCallToolType), TypeInfoPropertyName = "ToolCallToolType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedback))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedbackBlockReason), TypeInfoPropertyName = "PromptFeedbackBlockReason2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRating))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(float))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfigMode), TypeInfoPropertyName = "DynamicRetrievalConfigMode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentResponses))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Content))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Part))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievalConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecution))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningExamples))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentRequestTaskType), TypeInfoPropertyName = "EmbedContentRequestTaskType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySetting))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Tool))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequestServiceTier), TypeInfoPropertyName = "GenerateContentRequestServiceTier2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListCorporaResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingPassageId))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSearch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecutionResult))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecutionResultOutcome), TypeInfoPropertyName = "CodeExecutionResultOutcome2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormat))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatImageSize), TypeInfoPropertyName = "ImageResponseFormatImageSize2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatMimeType), TypeInfoPropertyName = "ImageResponseFormatMimeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatDelivery), TypeInfoPropertyName = "ImageResponseFormatDelivery2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatAspectRatio), TypeInfoPropertyName = "ImageResponseFormatAspectRatio2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigMediaResolution), TypeInfoPropertyName = "GenerationConfigMediaResolution2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TranslationConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeechConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ResponseFormatConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigResponseModalitie), TypeInfoPropertyName = "GenerationConfigResponseModalitie2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListFilesResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TransferOwnershipResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchOutput))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseBlob))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.McpServer))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.StreamableHttpTransport))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchEmbedContentsRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Image))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SearchEntryPoint))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunk))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleAiGenerativelanguageV1betaGroundingSupport))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievalMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelSource))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeakerVoiceConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VoiceConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListGeneratedFilesResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFile))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CountTokensResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCount))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCountModality), TypeInfoPropertyName = "ModalityTokenCountModality2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileData))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageSearch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchOutput))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.MultiSpeakerVoiceConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchStats))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlContextMetadata))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CountTokensRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.MultiSpeakerVoiceConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeakerVoiceConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingAttribution))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AttributionSourceId))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.StringList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TextResponseFormat))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedResponses))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfigMode), TypeInfoPropertyName = "FunctionCallingConfigMode2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VideoFileMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Operation))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Status))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ContentEmbedding))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Corpus))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Maps))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PlaceAnswerSources))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UsageMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UsageMetadataServiceTier), TypeInfoPropertyName = "UsageMetadataServiceTier2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Blob))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListFilesResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.File))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AudioResponseFormat))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Candidate))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CitationMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LogprobsResult))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CandidateFinishReason), TypeInfoPropertyName = "CandidateFinishReason2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingCategory), TypeInfoPropertyName = "SafetySettingCategory2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySettingThreshold), TypeInfoPropertyName = "SafetySettingThreshold2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AudioResponseFormatDelivery), TypeInfoPropertyName = "AudioResponseFormatDelivery2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AudioResponseFormatMimeType), TypeInfoPropertyName = "AudioResponseFormatMimeType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclaration))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionDeclarationBehavior), TypeInfoPropertyName = "FunctionDeclarationBehavior2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Schema))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Image))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievedContext))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VideoFileMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileState), TypeInfoPropertyName = "FileState2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSource), TypeInfoPropertyName = "FileSource2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListModelsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CachedContentUsageMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputEmbedContentConfig))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchState), TypeInfoPropertyName = "EmbedContentBatchState2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchStats))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListGeneratedFilesResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFile))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SchemaType), TypeInfoPropertyName = "SchemaType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Web))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListOperationsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModelStatus))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModelStatusModelStage), TypeInfoPropertyName = "ModelStatusModelStage2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigMediaResolution), TypeInfoPropertyName = "GenerationConfigMediaResolution2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerationConfigResponseModalitie), TypeInfoPropertyName = "GenerationConfigResponseModalitie2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SpeechConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TranslationConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ResponseFormatConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunkCustomMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunkStringList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ModalityTokenCountModality), TypeInfoPropertyName = "ModalityTokenCountModality2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CustomLongRunningOperation))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SchemaType), TypeInfoPropertyName = "SchemaType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentConfigTaskType), TypeInfoPropertyName = "EmbedContentConfigTaskType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedEmbedContentRequests))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TopCandidates))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LogprobsResultCandidate))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ChunkingConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.WhiteSpaceConfig))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SemanticRetrieverChunk))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ExecutableCode))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ExecutableCodeLanguage), TypeInfoPropertyName = "ExecutableCodeLanguage2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TextResponseFormatMimeType), TypeInfoPropertyName = "TextResponseFormatMimeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListCachedContentsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CachedContent))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TransferOwnershipRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListDocumentsResponse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Document))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModel))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TunedModelState), TypeInfoPropertyName = "TunedModelState2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningTask))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.VideoMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchGenerateContentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Hyperparameters))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileData))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GeneratedFileState), TypeInfoPropertyName = "GeneratedFileState2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListTunedModelsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Permission))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionGranteeType), TypeInfoPropertyName = "PermissionGranteeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionRole), TypeInfoPropertyName = "PermissionRole2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Empty))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Maps))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionCallingConfigMode), TypeInfoPropertyName = "FunctionCallingConfigMode2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSearchStore))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolResponseToolType), TypeInfoPropertyName = "ToolResponseToolType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CountTokensResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CustomMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.StringList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CountTokensRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Content))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Part))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ExecutableCode))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCall))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecutionResult))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputEmbedContentConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchState), TypeInfoPropertyName = "EmbedContentBatchState2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentBatchStats))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DocumentState), TypeInfoPropertyName = "DocumentState2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Dataset))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningExamples))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningSnapshot))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TuningExample))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleAiGenerativelanguageV1betaSegment))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievalConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.LatLng))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AttributionSourceId))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingPassageId))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TextResponseFormat))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.TextResponseFormatMimeType), TypeInfoPropertyName = "TextResponseFormatMimeType2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ComputerUse))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ComputerUseEnvironment), TypeInfoPropertyName = "ComputerUseEnvironment2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlMetadataUrlRetrievalStatus), TypeInfoPropertyName = "UrlMetadataUrlRetrievalStatus2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UsageMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UsageMetadataServiceTier), TypeInfoPropertyName = "UsageMetadataServiceTier2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleMaps))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchGenerateContentRequest))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatch))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RetrievalMetadata))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingChunk))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleAiGenerativelanguageV1betaSegment))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Dataset))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListPermissionsResponse))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ThinkingConfigThinkingLevel), TypeInfoPropertyName = "ThinkingConfigThinkingLevel2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DynamicRetrievalConfigMode), TypeInfoPropertyName = "DynamicRetrievalConfigMode2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.DocumentState), TypeInfoPropertyName = "DocumentState2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AudioResponseFormatMimeType), TypeInfoPropertyName = "AudioResponseFormatMimeType2")]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.AudioResponseFormatDelivery), TypeInfoPropertyName = "AudioResponseFormatDelivery2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PrebuiltVoiceConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Permission))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionRole), TypeInfoPropertyName = "PermissionRole2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PermissionGranteeType), TypeInfoPropertyName = "PermissionGranteeType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InputConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequests))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ReviewSnippet))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileState), TypeInfoPropertyName = "FileState2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSource), TypeInfoPropertyName = "FileSource2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UploadToFileSearchStoreRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FileSearch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchState), TypeInfoPropertyName = "GenerateContentBatchState2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentBatchOutput))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.RegisterFilesRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseScheduling), TypeInfoPropertyName = "FunctionResponseScheduling2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponsePart))]
- [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseScheduling), TypeInfoPropertyName = "FunctionResponseScheduling2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormat))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedback))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.PromptFeedbackBlockReason), TypeInfoPropertyName = "PromptFeedbackBlockReason2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetyRating))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleMaps))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Tool))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.SafetySetting))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GenerateContentRequestServiceTier), TypeInfoPropertyName = "GenerateContentRequestServiceTier2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolConfig))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CreateFileRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.FunctionResponseBlob))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListModelsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.Model))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.BatchEmbedContentsRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.UrlContext))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.McpServer))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GoogleSearchRetrieval))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CodeExecution))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.GroundingAttribution))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ToolCallToolType), TypeInfoPropertyName = "ToolCallToolType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.InlinedRequest))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListTunedModelsResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.CachedContentUsageMetadata))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.EmbedContentResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.WebSearch))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ListFileSearchStoresResponse))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatImageSize), TypeInfoPropertyName = "ImageResponseFormatImageSize2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatMimeType), TypeInfoPropertyName = "ImageResponseFormatMimeType2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatDelivery), TypeInfoPropertyName = "ImageResponseFormatDelivery2")]
+ [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Google.Gemini.ImageResponseFormatAspectRatio), TypeInfoPropertyName = "ImageResponseFormatAspectRatio2")]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList