diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
index a95353e610..a417b9b437 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs
@@ -88,6 +88,10 @@ internal static class ApiUrlLookup
internal static ApiUrls IndexManagementStats = new ApiUrls(new[] { "_stats", "_stats/{metric}", "{index}/_stats", "{index}/_stats/{metric}" });
internal static ApiUrls IndexManagementUpdateAliases = new ApiUrls(new[] { "_aliases" });
internal static ApiUrls IndexManagementValidateQuery = new ApiUrls(new[] { "_validate/query", "{index}/_validate/query" });
+ internal static ApiUrls InferenceDelete = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
+ internal static ApiUrls InferenceGet = new ApiUrls(new[] { "_inference", "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
+ internal static ApiUrls InferenceInference = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
+ internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
internal static ApiUrls IngestDeleteGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" });
internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" });
internal static ApiUrls IngestGeoIpStats = new ApiUrls(new[] { "_ingest/geoip/stats" });
@@ -218,6 +222,7 @@ internal static class ApiUrlLookup
internal static ApiUrls QueryRulesListRulesets = new ApiUrls(new[] { "_query_rules" });
internal static ApiUrls QueryRulesPutRule = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_rule/{rule_id}" });
internal static ApiUrls QueryRulesPutRuleset = new ApiUrls(new[] { "_query_rules/{ruleset_id}" });
+ internal static ApiUrls QueryRulesTest = new ApiUrls(new[] { "_query_rules/{ruleset_id}/_test" });
internal static ApiUrls SecurityActivateUserProfile = new ApiUrls(new[] { "_security/profile/_activate" });
internal static ApiUrls SecurityAuthenticate = new ApiUrls(new[] { "_security/_authenticate" });
internal static ApiUrls SecurityBulkDeleteRole = new ApiUrls(new[] { "_security/role" });
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
index c87bdfffbb..dbeb916562 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs
@@ -36,8 +36,10 @@ public sealed partial class AsyncSearchStatusRequestParameters : RequestParamete
///
///
-/// Get async search status
-/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+/// Get the async search status.
+///
+///
+/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
///
@@ -58,8 +60,10 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Serverless.Id id)
///
///
-/// Get async search status
-/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+/// Get the async search status.
+///
+///
+/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
///
@@ -92,8 +96,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Get async search status
-/// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+/// Get the async search status.
+///
+///
+/// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
index 5f52d5657f..3d0db2d1b6 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/DeleteAsyncSearchRequest.g.cs
@@ -36,8 +36,10 @@ public sealed partial class DeleteAsyncSearchRequestParameters : RequestParamete
///
///
-/// Deletes an async search by identifier.
-/// If the search is still running, the search request will be cancelled.
+/// Delete an async search.
+///
+///
+/// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
@@ -59,8 +61,10 @@ public DeleteAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Id id)
///
///
-/// Deletes an async search by identifier.
-/// If the search is still running, the search request will be cancelled.
+/// Delete an async search.
+///
+///
+/// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
@@ -94,8 +98,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Deletes an async search by identifier.
-/// If the search is still running, the search request will be cancelled.
+/// Delete an async search.
+///
+///
+/// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
index eb6996e314..773597370a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/GetAsyncSearchRequest.g.cs
@@ -62,7 +62,10 @@ public sealed partial class GetAsyncSearchRequestParameters : RequestParameters
///
///
-/// Retrieves the results of a previously submitted async search request given its identifier.
+/// Get async search results.
+///
+///
+/// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
///
@@ -113,7 +116,10 @@ public GetAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : b
///
///
-/// Retrieves the results of a previously submitted async search request given its identifier.
+/// Get async search results.
+///
+///
+/// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
///
@@ -150,7 +156,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Retrieves the results of a previously submitted async search request given its identifier.
+/// Get async search results.
+///
+///
+/// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
index 201bd4cacd..eecf690c28 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/SubmitAsyncSearchRequest.g.cs
@@ -138,7 +138,6 @@ public sealed partial class SubmitAsyncSearchRequestParameters : RequestParamete
///
///
public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
- public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); }
///
///
@@ -652,10 +651,16 @@ public override void Write(Utf8JsonWriter writer, SubmitAsyncSearchRequest value
///
///
-/// Runs a search request asynchronously.
-/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
-/// Warning: Async search does not support scroll nor search requests that only include the suggest section.
-/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+/// Run an async search.
+///
+///
+/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+///
+///
+/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+///
+///
+/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
///
@@ -799,8 +804,6 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
///
[JsonIgnore]
public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
- [JsonIgnore]
- public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); }
///
///
@@ -1145,10 +1148,16 @@ public SubmitAsyncSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices
///
///
-/// Runs a search request asynchronously.
-/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
-/// Warning: Async search does not support scroll nor search requests that only include the suggest section.
-/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+/// Run an async search.
+///
+///
+/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+///
+///
+/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+///
+///
+/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
///
@@ -1187,7 +1196,6 @@ public SubmitAsyncSearchRequestDescriptor()
public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion);
public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient);
public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests);
- public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode);
public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference);
public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize);
public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax);
@@ -2264,10 +2272,16 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Runs a search request asynchronously.
-/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
-/// Warning: Async search does not support scroll nor search requests that only include the suggest section.
-/// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+/// Run an async search.
+///
+///
+/// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+///
+///
+/// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+///
+///
+/// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
///
@@ -2306,7 +2320,6 @@ public SubmitAsyncSearchRequestDescriptor()
public SubmitAsyncSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true) => Qs("keep_on_completion", keepOnCompletion);
public SubmitAsyncSearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient);
public SubmitAsyncSearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests);
- public SubmitAsyncSearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode);
public SubmitAsyncSearchRequestDescriptor Preference(string? preference) => Qs("preference", preference);
public SubmitAsyncSearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize);
public SubmitAsyncSearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax);
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs
index 5ef6d921fe..d0dec945da 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClearScrollRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class ClearScrollRequestParameters : RequestParameters
///
///
-/// Clears the search context and results for a scrolling search.
+/// Clear a scrolling search.
+///
+///
+/// Clear the search context and results for a scrolling search.
///
///
public sealed partial class ClearScrollRequest : PlainRequest
@@ -61,7 +64,10 @@ public sealed partial class ClearScrollRequest : PlainRequest
///
-/// Clears the search context and results for a scrolling search.
+/// Clear a scrolling search.
+///
+///
+/// Clear the search context and results for a scrolling search.
///
///
public sealed partial class ClearScrollRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs
index fce101f496..843be08f62 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ClosePointInTimeRequest.g.cs
@@ -36,7 +36,13 @@ public sealed partial class ClosePointInTimeRequestParameters : RequestParameter
///
///
-/// Closes a point-in-time.
+/// Close a point in time.
+///
+///
+/// A point in time must be opened explicitly before being used in search requests.
+/// The keep_alive parameter tells Elasticsearch how long it should persist.
+/// A point in time is automatically closed when the keep_alive period has elapsed.
+/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests.
///
///
public sealed partial class ClosePointInTimeRequest : PlainRequest
@@ -60,7 +66,13 @@ public sealed partial class ClosePointInTimeRequest : PlainRequest
///
-/// Closes a point-in-time.
+/// Close a point in time.
+///
+///
+/// A point in time must be opened explicitly before being used in search requests.
+/// The keep_alive parameter tells Elasticsearch how long it should persist.
+/// A point in time is automatically closed when the keep_alive period has elapsed.
+/// However, keeping points in time has a cost; close them as soon as they are no longer required for search requests.
///
///
public sealed partial class ClosePointInTimeRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs
index e56fc10d40..4b332640fe 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/DeleteByQueryRethrottleRequest.g.cs
@@ -42,7 +42,11 @@ public sealed partial class DeleteByQueryRethrottleRequestParameters : RequestPa
///
///
-/// Changes the number of requests per second for a particular Delete By Query operation.
+/// Throttle a delete by query operation.
+///
+///
+/// Change the number of requests per second for a particular delete by query operation.
+/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
///
///
public sealed partial class DeleteByQueryRethrottleRequest : PlainRequest
@@ -70,7 +74,11 @@ public DeleteByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.T
///
///
-/// Changes the number of requests per second for a particular Delete By Query operation.
+/// Throttle a delete by query operation.
+///
+///
+/// Change the number of requests per second for a particular delete by query operation.
+/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
///
///
public sealed partial class DeleteByQueryRethrottleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs
index f01dfc28fc..ed8d5a287a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Eql/EqlSearchRequest.g.cs
@@ -115,6 +115,16 @@ public EqlSearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices
[JsonInclude, JsonPropertyName("keep_on_completion")]
public bool? KeepOnCompletion { get; set; }
+ ///
+ ///
+ /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size
+ /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the
+ /// max_samples_per_key parameter. Pipes are not supported for sample queries.
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("max_samples_per_key")]
+ public int? MaxSamplesPerKey { get; set; }
+
///
///
/// EQL query you wish to run.
@@ -202,6 +212,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsear
private Action>[] FilterDescriptorActions { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAliveValue { get; set; }
private bool? KeepOnCompletionValue { get; set; }
+ private int? MaxSamplesPerKeyValue { get; set; }
private string QueryValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Eql.ResultPosition? ResultPositionValue { get; set; }
private IDictionary> RuntimeMappingsValue { get; set; }
@@ -354,6 +365,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnComple
return Self;
}
+ ///
+ ///
+ /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size
+ /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the
+ /// max_samples_per_key parameter. Pipes are not supported for sample queries.
+ ///
+ ///
+ public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey)
+ {
+ MaxSamplesPerKeyValue = maxSamplesPerKey;
+ return Self;
+ }
+
///
///
/// EQL query you wish to run.
@@ -551,6 +575,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteBooleanValue(KeepOnCompletionValue.Value);
}
+ if (MaxSamplesPerKeyValue.HasValue)
+ {
+ writer.WritePropertyName("max_samples_per_key");
+ writer.WriteNumberValue(MaxSamplesPerKeyValue.Value);
+ }
+
writer.WritePropertyName("query");
writer.WriteStringValue(QueryValue);
if (ResultPositionValue is not null)
@@ -637,6 +667,7 @@ public EqlSearchRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverle
private Action[] FilterDescriptorActions { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAliveValue { get; set; }
private bool? KeepOnCompletionValue { get; set; }
+ private int? MaxSamplesPerKeyValue { get; set; }
private string QueryValue { get; set; }
private Elastic.Clients.Elasticsearch.Serverless.Eql.ResultPosition? ResultPositionValue { get; set; }
private IDictionary RuntimeMappingsValue { get; set; }
@@ -789,6 +820,19 @@ public EqlSearchRequestDescriptor KeepOnCompletion(bool? keepOnCompletion = true
return Self;
}
+ ///
+ ///
+ /// By default, the response of a sample query contains up to 10 samples, with one sample per unique set of join keys. Use the size
+ /// parameter to get a smaller or larger set of samples. To retrieve more than one sample per set of join keys, use the
+ /// max_samples_per_key parameter. Pipes are not supported for sample queries.
+ ///
+ ///
+ public EqlSearchRequestDescriptor MaxSamplesPerKey(int? maxSamplesPerKey)
+ {
+ MaxSamplesPerKeyValue = maxSamplesPerKey;
+ return Self;
+ }
+
///
///
/// EQL query you wish to run.
@@ -986,6 +1030,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
writer.WriteBooleanValue(KeepOnCompletionValue.Value);
}
+ if (MaxSamplesPerKeyValue.HasValue)
+ {
+ writer.WritePropertyName("max_samples_per_key");
+ writer.WriteNumberValue(MaxSamplesPerKeyValue.Value);
+ }
+
writer.WritePropertyName("query");
writer.WriteStringValue(QueryValue);
if (ResultPositionValue is not null)
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs
index da4e00b240..c947c93800 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/FieldCapsRequest.g.cs
@@ -86,9 +86,15 @@ public sealed partial class FieldCapsRequestParameters : RequestParameters
///
///
-/// The field capabilities API returns the information about the capabilities of fields among multiple indices.
-/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type
-/// of keyword is returned as any other field that belongs to the keyword family.
+/// Get the field capabilities.
+///
+///
+/// Get information about the capabilities of fields among multiple indices.
+///
+///
+/// For data streams, the API returns field capabilities among the stream’s backing indices.
+/// It returns runtime fields like any other field.
+/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family.
///
///
public sealed partial class FieldCapsRequest : PlainRequest
@@ -196,9 +202,15 @@ public FieldCapsRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indice
///
///
-/// The field capabilities API returns the information about the capabilities of fields among multiple indices.
-/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type
-/// of keyword is returned as any other field that belongs to the keyword family.
+/// Get the field capabilities.
+///
+///
+/// Get information about the capabilities of fields among multiple indices.
+///
+///
+/// For data streams, the API returns field capabilities among the stream’s backing indices.
+/// It returns runtime fields like any other field.
+/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family.
///
///
public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor, FieldCapsRequestParameters>
@@ -330,9 +342,15 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// The field capabilities API returns the information about the capabilities of fields among multiple indices.
-/// The field capabilities API returns runtime fields like any other field. For example, a runtime field with a type
-/// of keyword is returned as any other field that belongs to the keyword family.
+/// Get the field capabilities.
+///
+///
+/// Get information about the capabilities of fields among multiple indices.
+///
+///
+/// For data streams, the API returns field capabilities among the stream’s backing indices.
+/// It returns runtime fields like any other field.
+/// For example, a runtime field with a type of keyword is returned the same as any other field that belongs to the keyword family.
///
///
public sealed partial class FieldCapsRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs
index 19c041d5f4..81d7198745 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/AnalyzeIndexRequest.g.cs
@@ -36,7 +36,8 @@ public sealed partial class AnalyzeIndexRequestParameters : RequestParameters
///
///
-/// Performs analysis on a text string and returns the resulting tokens.
+/// Get tokens from text analysis.
+/// The analyze API performs analysis on a text string and returns the resulting tokens.
///
///
public sealed partial class AnalyzeIndexRequest : PlainRequest
@@ -137,7 +138,8 @@ public AnalyzeIndexRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? i
///
///
-/// Performs analysis on a text string and returns the resulting tokens.
+/// Get tokens from text analysis.
+/// The analyze API performs analysis on a text string and returns the resulting tokens.
///
///
public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor, AnalyzeIndexRequestParameters>
@@ -368,7 +370,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Performs analysis on a text string and returns the resulting tokens.
+/// Get tokens from text analysis.
+/// The analyze API performs analysis on a text string and returns the resulting tokens.
///
///
public sealed partial class AnalyzeIndexRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
index 9f27881dc8..31b5341d64 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/ExistsAliasRequest.g.cs
@@ -56,13 +56,6 @@ public sealed partial class ExistsAliasRequestParameters : RequestParameters
///
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request retrieves information from the local node only.
- ///
- ///
- public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
@@ -116,14 +109,6 @@ public ExistsAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indi
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request retrieves information from the local node only.
- ///
- ///
- [JsonIgnore]
- public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
@@ -155,7 +140,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Nam
public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local);
public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
@@ -203,7 +187,6 @@ public ExistsAliasRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Nam
public ExistsAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public ExistsAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public ExistsAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public ExistsAliasRequestDescriptor Local(bool? local = true) => Qs("local", local);
public ExistsAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
index 53820d6bb2..8af03179f6 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/GetAliasRequest.g.cs
@@ -56,13 +56,6 @@ public sealed partial class GetAliasRequestParameters : RequestParameters
///
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request retrieves information from the local node only.
- ///
- ///
- public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
@@ -124,14 +117,6 @@ public GetAliasRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request retrieves information from the local node only.
- ///
- ///
- [JsonIgnore]
- public bool? Local { get => Q("local"); set => Q("local", value); }
}
///
@@ -163,7 +148,6 @@ public GetAliasRequestDescriptor()
public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local);
public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
@@ -211,7 +195,6 @@ public GetAliasRequestDescriptor()
public GetAliasRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public GetAliasRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public GetAliasRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public GetAliasRequestDescriptor Local(bool? local = true) => Qs("local", local);
public GetAliasRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
index 3c979b58a5..39f545869d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/PutDataLifecycleRequest.g.cs
@@ -65,7 +65,7 @@ public sealed partial class PutDataLifecycleRequestParameters : RequestParameter
/// Update the data stream lifecycle of the specified data streams.
///
///
-public sealed partial class PutDataLifecycleRequest : PlainRequest
+public sealed partial class PutDataLifecycleRequest : PlainRequest, ISelfSerializable
{
public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name))
{
@@ -107,25 +107,13 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
///
[JsonIgnore]
public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle Lifecycle { get; set; }
- ///
- ///
- /// If defined, every document added to this data stream will be stored at least for this time frame.
- /// Any time after this duration the document could be deleted.
- /// When empty, every document in this data stream will be stored indefinitely.
- ///
- ///
- [JsonInclude, JsonPropertyName("data_retention")]
- public Elastic.Clients.Elasticsearch.Serverless.Duration? DataRetention { get; set; }
-
- ///
- ///
- /// If defined, every backing index will execute the configured downsampling configuration after the backing
- /// index is not the data stream write index anymore.
- ///
- ///
- [JsonInclude, JsonPropertyName("downsampling")]
- public Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? Downsampling { get; set; }
+ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ JsonSerializer.Serialize(writer, Lifecycle, options);
+ }
}
///
@@ -137,10 +125,7 @@ public PutDataLifecycleRequest(Elastic.Clients.Elasticsearch.Serverless.DataStre
public sealed partial class PutDataLifecycleRequestDescriptor : RequestDescriptor
{
internal PutDataLifecycleRequestDescriptor(Action configure) => configure.Invoke(this);
-
- public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name))
- {
- }
+ public PutDataLifecycleRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle, Elastic.Clients.Elasticsearch.Serverless.DataStreamNames name) : base(r => r.Required("name", name)) => LifecycleValue = lifecycle;
internal override ApiUrls ApiUrls => ApiUrlLookup.IndexManagementPutDataLifecycle;
@@ -160,79 +145,36 @@ public PutDataLifecycleRequestDescriptor Name(Elastic.Clients.Elasticsearch.Serv
return Self;
}
- private Elastic.Clients.Elasticsearch.Serverless.Duration? DataRetentionValue { get; set; }
- private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? DownsamplingValue { get; set; }
- private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor DownsamplingDescriptor { get; set; }
- private Action DownsamplingDescriptorAction { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle LifecycleValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDescriptor LifecycleDescriptor { get; set; }
+ private Action LifecycleDescriptorAction { get; set; }
- ///
- ///
- /// If defined, every document added to this data stream will be stored at least for this time frame.
- /// Any time after this duration the document could be deleted.
- /// When empty, every document in this data stream will be stored indefinitely.
- ///
- ///
- public PutDataLifecycleRequestDescriptor DataRetention(Elastic.Clients.Elasticsearch.Serverless.Duration? dataRetention)
- {
- DataRetentionValue = dataRetention;
- return Self;
- }
-
- ///
- ///
- /// If defined, every backing index will execute the configured downsampling configuration after the backing
- /// index is not the data stream write index anymore.
- ///
- ///
- public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsampling? downsampling)
+ public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycle lifecycle)
{
- DownsamplingDescriptor = null;
- DownsamplingDescriptorAction = null;
- DownsamplingValue = downsampling;
+ LifecycleDescriptor = null;
+ LifecycleDescriptorAction = null;
+ LifecycleValue = lifecycle;
return Self;
}
- public PutDataLifecycleRequestDescriptor Downsampling(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor descriptor)
+ public PutDataLifecycleRequestDescriptor Lifecycle(Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDescriptor descriptor)
{
- DownsamplingValue = null;
- DownsamplingDescriptorAction = null;
- DownsamplingDescriptor = descriptor;
+ LifecycleValue = null;
+ LifecycleDescriptorAction = null;
+ LifecycleDescriptor = descriptor;
return Self;
}
- public PutDataLifecycleRequestDescriptor Downsampling(Action configure)
+ public PutDataLifecycleRequestDescriptor Lifecycle(Action configure)
{
- DownsamplingValue = null;
- DownsamplingDescriptor = null;
- DownsamplingDescriptorAction = configure;
+ LifecycleValue = null;
+ LifecycleDescriptor = null;
+ LifecycleDescriptorAction = configure;
return Self;
}
protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
{
- writer.WriteStartObject();
- if (DataRetentionValue is not null)
- {
- writer.WritePropertyName("data_retention");
- JsonSerializer.Serialize(writer, DataRetentionValue, options);
- }
-
- if (DownsamplingDescriptor is not null)
- {
- writer.WritePropertyName("downsampling");
- JsonSerializer.Serialize(writer, DownsamplingDescriptor, options);
- }
- else if (DownsamplingDescriptorAction is not null)
- {
- writer.WritePropertyName("downsampling");
- JsonSerializer.Serialize(writer, new Elastic.Clients.Elasticsearch.Serverless.IndexManagement.DataStreamLifecycleDownsamplingDescriptor(DownsamplingDescriptorAction), options);
- }
- else if (DownsamplingValue is not null)
- {
- writer.WritePropertyName("downsampling");
- JsonSerializer.Serialize(writer, DownsamplingValue, options);
- }
-
- writer.WriteEndObject();
+ JsonSerializer.Serialize(writer, LifecycleValue, options);
}
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs
index 0960e65ef6..81234631b7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/IndexManagement/SegmentsRequest.g.cs
@@ -56,13 +56,6 @@ public sealed partial class SegmentsRequestParameters : RequestParameters
///
///
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request returns a verbose response.
- ///
- ///
- public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); }
}
///
@@ -116,14 +109,6 @@ public SegmentsRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices
///
[JsonIgnore]
public bool? IgnoreUnavailable { get => Q("ignore_unavailable"); set => Q("ignore_unavailable", value); }
-
- ///
- ///
- /// If true, the request returns a verbose response.
- ///
- ///
- [JsonIgnore]
- public bool? Verbose { get => Q("verbose"); set => Q("verbose", value); }
}
///
@@ -155,7 +140,6 @@ public SegmentsRequestDescriptor()
public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose);
public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
@@ -197,7 +181,6 @@ public SegmentsRequestDescriptor()
public SegmentsRequestDescriptor AllowNoIndices(bool? allowNoIndices = true) => Qs("allow_no_indices", allowNoIndices);
public SegmentsRequestDescriptor ExpandWildcards(ICollection? expandWildcards) => Qs("expand_wildcards", expandWildcards);
public SegmentsRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
- public SegmentsRequestDescriptor Verbose(bool? verbose = true) => Qs("verbose", verbose);
public SegmentsRequestDescriptor Indices(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs
new file mode 100644
index 0000000000..b2db5f61ff
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceRequest.g.cs
@@ -0,0 +1,133 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using Elastic.Transport.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class DeleteInferenceRequestParameters : RequestParameters
+{
+ ///
+ ///
+ /// When true, the endpoint is not deleted, and a list of ingest processors which reference this endpoint is returned
+ ///
+ ///
+ public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); }
+
+ ///
+ ///
+ /// When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields
+ ///
+ ///
+ public bool? Force { get => Q("force"); set => Q("force", value); }
+}
+
+///
+///
+/// Delete an inference endpoint
+///
+///
+public sealed partial class DeleteInferenceRequest : PlainRequest
+{
+ public DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId))
+ {
+ }
+
+ public DeleteInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceDelete;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
+
+ internal override bool SupportsBody => false;
+
+ internal override string OperationName => "inference.delete";
+
+ ///
+ ///
+ /// When true, the endpoint is not deleted, and a list of ingest processors which reference this endpoint is returned
+ ///
+ ///
+ [JsonIgnore]
+ public bool? DryRun { get => Q("dry_run"); set => Q("dry_run", value); }
+
+ ///
+ ///
+ /// When true, the inference endpoint is forcefully deleted even if it is still being used by ingest processors or semantic text fields
+ ///
+ ///
+ [JsonIgnore]
+ public bool? Force { get => Q("force"); set => Q("force", value); }
+}
+
+///
+///
+/// Delete an inference endpoint
+///
+///
+public sealed partial class DeleteInferenceRequestDescriptor : RequestDescriptor
+{
+ internal DeleteInferenceRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public DeleteInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId))
+ {
+ }
+
+ public DeleteInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceDelete;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.DELETE;
+
+ internal override bool SupportsBody => false;
+
+ internal override string OperationName => "inference.delete";
+
+ public DeleteInferenceRequestDescriptor DryRun(bool? dryRun = true) => Qs("dry_run", dryRun);
+ public DeleteInferenceRequestDescriptor Force(bool? force = true) => Qs("force", force);
+
+ public DeleteInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId)
+ {
+ RouteValues.Required("inference_id", inferenceId);
+ return Self;
+ }
+
+ public DeleteInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType)
+ {
+ RouteValues.Optional("task_type", taskType);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs
new file mode 100644
index 0000000000..87912c59bf
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/DeleteInferenceResponse.g.cs
@@ -0,0 +1,40 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class DeleteInferenceResponse : ElasticsearchResponse
+{
+ ///
+ ///
+ /// For a successful response, this value is always true. On failure, an exception is returned instead.
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("acknowledged")]
+ public bool Acknowledged { get; init; }
+ [JsonInclude, JsonPropertyName("pipelines")]
+ public IReadOnlyCollection Pipelines { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs
new file mode 100644
index 0000000000..f18bb03711
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceRequest.g.cs
@@ -0,0 +1,105 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using Elastic.Transport.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class GetInferenceRequestParameters : RequestParameters
+{
+}
+
+///
+///
+/// Get an inference endpoint
+///
+///
+public sealed partial class GetInferenceRequest : PlainRequest
+{
+ public GetInferenceRequest()
+ {
+ }
+
+ public GetInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("inference_id", inferenceId))
+ {
+ }
+
+ public GetInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("task_type", taskType).Optional("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceGet;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ internal override string OperationName => "inference.get";
+}
+
+///
+///
+/// Get an inference endpoint
+///
+///
+public sealed partial class GetInferenceRequestDescriptor : RequestDescriptor
+{
+ internal GetInferenceRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public GetInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId) : base(r => r.Optional("task_type", taskType).Optional("inference_id", inferenceId))
+ {
+ }
+
+ public GetInferenceRequestDescriptor()
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceGet;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.GET;
+
+ internal override bool SupportsBody => false;
+
+ internal override string OperationName => "inference.get";
+
+ public GetInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id? inferenceId)
+ {
+ RouteValues.Optional("inference_id", inferenceId);
+ return Self;
+ }
+
+ public GetInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType)
+ {
+ RouteValues.Optional("task_type", taskType);
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs
new file mode 100644
index 0000000000..eadcef93ac
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/GetInferenceResponse.g.cs
@@ -0,0 +1,33 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class GetInferenceResponse : ElasticsearchResponse
+{
+ [JsonInclude, JsonPropertyName("endpoints")]
+ public IReadOnlyCollection Endpoints { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs
new file mode 100644
index 0000000000..6e94c6b33a
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceRequest.g.cs
@@ -0,0 +1,199 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using Elastic.Transport.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class InferenceRequestParameters : RequestParameters
+{
+ ///
+ ///
+ /// Specifies the amount of time to wait for the inference request to complete.
+ ///
+ ///
+ public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+}
+
+///
+///
+/// Perform inference on the service
+///
+///
+public sealed partial class InferenceRequest : PlainRequest
+{
+ public InferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId))
+ {
+ }
+
+ public InferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceInference;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "inference.inference";
+
+ ///
+ ///
+ /// Specifies the amount of time to wait for the inference request to complete.
+ ///
+ ///
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Serverless.Duration? Timeout { get => Q("timeout"); set => Q("timeout", value); }
+
+ ///
+ ///
+ /// Inference input.
+ /// Either a string or an array of strings.
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("input")]
+ [SingleOrManyCollectionConverter(typeof(string))]
+ public ICollection Input { get; set; }
+
+ ///
+ ///
+ /// Query input, required for rerank task.
+ /// Not required for other tasks.
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("query")]
+ public string? Query { get; set; }
+
+ ///
+ ///
+ /// Optional task settings
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("task_settings")]
+ public object? TaskSettings { get; set; }
+}
+
+///
+///
+/// Perform inference on the service
+///
+///
+public sealed partial class InferenceRequestDescriptor : RequestDescriptor
+{
+ internal InferenceRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public InferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId))
+ {
+ }
+
+ public InferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferenceInference;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "inference.inference";
+
+ public InferenceRequestDescriptor Timeout(Elastic.Clients.Elasticsearch.Serverless.Duration? timeout) => Qs("timeout", timeout);
+
+ public InferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId)
+ {
+ RouteValues.Required("inference_id", inferenceId);
+ return Self;
+ }
+
+ public InferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType)
+ {
+ RouteValues.Optional("task_type", taskType);
+ return Self;
+ }
+
+ private ICollection InputValue { get; set; }
+ private string? QueryValue { get; set; }
+ private object? TaskSettingsValue { get; set; }
+
+ ///
+ ///
+ /// Inference input.
+ /// Either a string or an array of strings.
+ ///
+ ///
+ public InferenceRequestDescriptor Input(ICollection input)
+ {
+ InputValue = input;
+ return Self;
+ }
+
+ ///
+ ///
+ /// Query input, required for rerank task.
+ /// Not required for other tasks.
+ ///
+ ///
+ public InferenceRequestDescriptor Query(string? query)
+ {
+ QueryValue = query;
+ return Self;
+ }
+
+ ///
+ ///
+ /// Optional task settings
+ ///
+ ///
+ public InferenceRequestDescriptor TaskSettings(object? taskSettings)
+ {
+ TaskSettingsValue = taskSettings;
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ writer.WriteStartObject();
+ writer.WritePropertyName("input");
+ SingleOrManySerializationHelper.Serialize(InputValue, writer, options);
+ if (!string.IsNullOrEmpty(QueryValue))
+ {
+ writer.WritePropertyName("query");
+ writer.WriteStringValue(QueryValue);
+ }
+
+ if (TaskSettingsValue is not null)
+ {
+ writer.WritePropertyName("task_settings");
+ JsonSerializer.Serialize(writer, TaskSettingsValue, options);
+ }
+
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs
new file mode 100644
index 0000000000..0e2891aecf
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/InferenceResponse.g.cs
@@ -0,0 +1,31 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class InferenceResponse : ElasticsearchResponse
+{
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs
new file mode 100644
index 0000000000..25fcbef107
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceRequest.g.cs
@@ -0,0 +1,132 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using Elastic.Transport.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class PutInferenceRequestParameters : RequestParameters
+{
+}
+
+///
+///
+/// Create an inference endpoint
+///
+///
+public sealed partial class PutInferenceRequest : PlainRequest, ISelfSerializable
+{
+ public PutInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId))
+ {
+ }
+
+ public PutInferenceRequest(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferencePut;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.PUT;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "inference.put";
+
+ [JsonIgnore]
+ public Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint InferenceConfig { get; set; }
+
+ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ JsonSerializer.Serialize(writer, InferenceConfig, options);
+ }
+}
+
+///
+///
+/// Create an inference endpoint
+///
+///
+public sealed partial class PutInferenceRequestDescriptor : RequestDescriptor
+{
+ internal PutInferenceRequestDescriptor(Action configure) => configure.Invoke(this);
+ public PutInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Optional("task_type", taskType).Required("inference_id", inferenceId)) => InferenceConfigValue = inferenceConfig;
+ public PutInferenceRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig, Elastic.Clients.Elasticsearch.Serverless.Id inferenceId) : base(r => r.Required("inference_id", inferenceId)) => InferenceConfigValue = inferenceConfig;
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.InferencePut;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.PUT;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "inference.put";
+
+ public PutInferenceRequestDescriptor InferenceId(Elastic.Clients.Elasticsearch.Serverless.Id inferenceId)
+ {
+ RouteValues.Required("inference_id", inferenceId);
+ return Self;
+ }
+
+ public PutInferenceRequestDescriptor TaskType(Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType? taskType)
+ {
+ RouteValues.Optional("task_type", taskType);
+ return Self;
+ }
+
+ private Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint InferenceConfigValue { get; set; }
+ private Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpointDescriptor InferenceConfigDescriptor { get; set; }
+ private Action InferenceConfigDescriptorAction { get; set; }
+
+ public PutInferenceRequestDescriptor InferenceConfig(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpoint inferenceConfig)
+ {
+ InferenceConfigDescriptor = null;
+ InferenceConfigDescriptorAction = null;
+ InferenceConfigValue = inferenceConfig;
+ return Self;
+ }
+
+ public PutInferenceRequestDescriptor InferenceConfig(Elastic.Clients.Elasticsearch.Serverless.Inference.InferenceEndpointDescriptor descriptor)
+ {
+ InferenceConfigValue = null;
+ InferenceConfigDescriptorAction = null;
+ InferenceConfigDescriptor = descriptor;
+ return Self;
+ }
+
+ public PutInferenceRequestDescriptor InferenceConfig(Action configure)
+ {
+ InferenceConfigValue = null;
+ InferenceConfigDescriptor = null;
+ InferenceConfigDescriptorAction = configure;
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ JsonSerializer.Serialize(writer, InferenceConfigValue, options);
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs
new file mode 100644
index 0000000000..88c831242f
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Inference/PutInferenceResponse.g.cs
@@ -0,0 +1,70 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.Inference;
+
+public sealed partial class PutInferenceResponse : ElasticsearchResponse
+{
+ ///
+ ///
+ /// The inference Id
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("inference_id")]
+ public string InferenceId { get; init; }
+
+ ///
+ ///
+ /// The service type
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("service")]
+ public string Service { get; init; }
+
+ ///
+ ///
+ /// Settings specific to the service
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("service_settings")]
+ public object ServiceSettings { get; init; }
+
+ ///
+ ///
+ /// Task settings specific to the service and task type
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("task_settings")]
+ public object? TaskSettings { get; init; }
+
+ ///
+ ///
+ /// The task type
+ ///
+ ///
+ [JsonInclude, JsonPropertyName("task_type")]
+ public Elastic.Clients.Elasticsearch.Serverless.Inference.TaskType TaskType { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs
index 21cd468437..3e60e8ceca 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MachineLearning/PutDatafeedRequest.g.cs
@@ -254,7 +254,12 @@ public override void Write(Utf8JsonWriter writer, PutDatafeedRequest value, Json
/// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.
/// You can associate only one datafeed with each anomaly detection job.
/// The datafeed contains a query that runs at a defined interval (frequency).
-/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index.
+/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval.
+/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had
+/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers,
+/// those credentials are used instead.
+/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed
+/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index.
///
///
[JsonConverter(typeof(PutDatafeedRequestConverter))]
@@ -438,7 +443,12 @@ public PutDatafeedRequest()
/// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.
/// You can associate only one datafeed with each anomaly detection job.
/// The datafeed contains a query that runs at a defined interval (frequency).
-/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index.
+/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval.
+/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had
+/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers,
+/// those credentials are used instead.
+/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed
+/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index.
///
///
public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor, PutDatafeedRequestParameters>
@@ -871,7 +881,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
/// Datafeeds retrieve data from Elasticsearch for analysis by an anomaly detection job.
/// You can associate only one datafeed with each anomaly detection job.
/// The datafeed contains a query that runs at a defined interval (frequency).
-/// If you are concerned about delayed data, you can add a delay (query_delay') at each interval. When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had at the time of creation and runs the query using those same roles. If you provide secondary authorization headers, those credentials are used instead. You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed directly to the .ml-configindex. Do not give userswriteprivileges on the.ml-config` index.
+/// If you are concerned about delayed data, you can add a delay (query_delay) at each interval.
+/// When Elasticsearch security features are enabled, your datafeed remembers which roles the user who created it had
+/// at the time of creation and runs the query using those same roles. If you provide secondary authorization headers,
+/// those credentials are used instead.
+/// You must use Kibana, this API, or the create anomaly detection jobs API to create a datafeed. Do not add a datafeed
+/// directly to the .ml-config index. Do not give users write privileges on the .ml-config index.
///
///
public sealed partial class PutDatafeedRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs
index 9aa85448a9..e9954b360a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiGetRequest.g.cs
@@ -94,7 +94,12 @@ public sealed partial class MultiGetRequestParameters : RequestParameters
///
///
-/// Allows to get multiple documents in one request.
+/// Get multiple documents.
+///
+///
+/// Get multiple JSON documents by ID from one or more indices.
+/// If you specify an index in the request URI, you only need to specify the document IDs in the request body.
+/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail.
///
///
public sealed partial class MultiGetRequest : PlainRequest
@@ -201,7 +206,12 @@ public MultiGetRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName? index
///
///
-/// Allows to get multiple documents in one request.
+/// Get multiple documents.
+///
+///
+/// Get multiple JSON documents by ID from one or more indices.
+/// If you specify an index in the request URI, you only need to specify the document IDs in the request body.
+/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail.
///
///
public sealed partial class MultiGetRequestDescriptor : RequestDescriptor, MultiGetRequestParameters>
@@ -343,7 +353,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Allows to get multiple documents in one request.
+/// Get multiple documents.
+///
+///
+/// Get multiple JSON documents by ID from one or more indices.
+/// If you specify an index in the request URI, you only need to specify the document IDs in the request body.
+/// To ensure fast responses, this multi get (mget) API responds with partial results if one or more shards fail.
///
///
public sealed partial class MultiGetRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs
index 8c0ef9bbda..25f73f2120 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchRequest.g.cs
@@ -121,7 +121,25 @@ public sealed partial class MultiSearchRequestParameters : RequestParameters
///
///
-/// Allows to execute several search operations in one request.
+/// Run multiple searches.
+///
+///
+/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format.
+/// The structure is as follows:
+///
+///
+/// header\n
+/// body\n
+/// header\n
+/// body\n
+///
+///
+/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node.
+///
+///
+/// IMPORTANT: The final line of data must end with a newline character \n.
+/// Each newline character may be preceded by a carriage return \r.
+/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson.
///
///
public sealed partial class MultiSearchRequest : PlainRequest, IStreamSerializable
@@ -264,7 +282,25 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien
///
///
-/// Allows to execute several search operations in one request.
+/// Run multiple searches.
+///
+///
+/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format.
+/// The structure is as follows:
+///
+///
+/// header\n
+/// body\n
+/// header\n
+/// body\n
+///
+///
+/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node.
+///
+///
+/// IMPORTANT: The final line of data must end with a newline character \n.
+/// Each newline character may be preceded by a carriage return \r.
+/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson.
///
///
public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, MultiSearchRequestParameters>, IStreamSerializable
@@ -343,7 +379,25 @@ public MultiSearchRequestDescriptor AddSearches(Elastic.Clients.Elast
///
///
-/// Allows to execute several search operations in one request.
+/// Run multiple searches.
+///
+///
+/// The format of the request is similar to the bulk API format and makes use of the newline delimited JSON (NDJSON) format.
+/// The structure is as follows:
+///
+///
+/// header\n
+/// body\n
+/// header\n
+/// body\n
+///
+///
+/// This structure is specifically optimized to reduce parsing if a specific search ends up redirected to another node.
+///
+///
+/// IMPORTANT: The final line of data must end with a newline character \n.
+/// Each newline character may be preceded by a carriage return \r.
+/// When sending requests to this endpoint the Content-Type header should be set to application/x-ndjson.
///
///
public sealed partial class MultiSearchRequestDescriptor : RequestDescriptor, IStreamSerializable
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs
index 3d32f3e457..1fffa2f190 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiSearchTemplateRequest.g.cs
@@ -74,7 +74,7 @@ public sealed partial class MultiSearchTemplateRequestParameters : RequestParame
///
///
-/// Runs multiple templated searches with a single request.
+/// Run multiple templated searches.
///
///
public sealed partial class MultiSearchTemplateRequest : PlainRequest, IStreamSerializable
@@ -163,7 +163,7 @@ async Task IStreamSerializable.SerializeAsync(Stream stream, IElasticsearchClien
///
///
-/// Runs multiple templated searches with a single request.
+/// Run multiple templated searches.
///
///
public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, MultiSearchTemplateRequestParameters>, IStreamSerializable
@@ -235,7 +235,7 @@ public MultiSearchTemplateRequestDescriptor AddSearchTemplates(Elasti
///
///
-/// Runs multiple templated searches with a single request.
+/// Run multiple templated searches.
///
///
public sealed partial class MultiSearchTemplateRequestDescriptor : RequestDescriptor, IStreamSerializable
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs
index 1f4602c474..40cdd16d28 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/MultiTermVectorsRequest.g.cs
@@ -114,7 +114,13 @@ public sealed partial class MultiTermVectorsRequestParameters : RequestParameter
///
///
-/// Returns multiple termvectors in one request.
+/// Get multiple term vectors.
+///
+///
+/// You can specify existing documents by index and ID or provide artificial documents in the body of the request.
+/// You can specify the index in the request body or request URI.
+/// The response contains a docs array with all the fetched termvectors.
+/// Each element has the structure provided by the termvectors API.
///
///
public sealed partial class MultiTermVectorsRequest : PlainRequest
@@ -244,7 +250,13 @@ public MultiTermVectorsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexNam
///
///
-/// Returns multiple termvectors in one request.
+/// Get multiple term vectors.
+///
+///
+/// You can specify existing documents by index and ID or provide artificial documents in the body of the request.
+/// You can specify the index in the request body or request URI.
+/// The response contains a docs array with all the fetched termvectors.
+/// Each element has the structure provided by the termvectors API.
///
///
public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor, MultiTermVectorsRequestParameters>
@@ -389,7 +401,13 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Returns multiple termvectors in one request.
+/// Get multiple term vectors.
+///
+///
+/// You can specify existing documents by index and ID or provide artificial documents in the body of the request.
+/// You can specify the index in the request body or request URI.
+/// The response contains a docs array with all the fetched termvectors.
+/// Each element has the structure provided by the termvectors API.
///
///
public sealed partial class MultiTermVectorsRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs
index da6b9acc96..a9947bbed2 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/OpenPointInTimeRequest.g.cs
@@ -73,13 +73,20 @@ public sealed partial class OpenPointInTimeRequestParameters : RequestParameters
///
///
-/// A search request by default executes against the most recent visible data of the target indices,
+/// Open a point in time.
+///
+///
+/// A search request by default runs against the most recent visible data of the target indices,
/// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the
/// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple
/// search requests using the same point in time. For example, if refreshes happen between
/// search_after requests, then the results of those requests might not be consistent as changes happening
/// between searches are only visible to the more recent point in time.
///
+///
+/// A point in time must be opened explicitly before being used in search requests.
+/// The keep_alive parameter tells Elasticsearch how long it should persist.
+///
///
public sealed partial class OpenPointInTimeRequest : PlainRequest
{
@@ -149,13 +156,20 @@ public OpenPointInTimeRequest(Elastic.Clients.Elasticsearch.Serverless.Indices i
///
///
-/// A search request by default executes against the most recent visible data of the target indices,
+/// Open a point in time.
+///
+///
+/// A search request by default runs against the most recent visible data of the target indices,
/// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the
/// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple
/// search requests using the same point in time. For example, if refreshes happen between
/// search_after requests, then the results of those requests might not be consistent as changes happening
/// between searches are only visible to the more recent point in time.
///
+///
+/// A point in time must be opened explicitly before being used in search requests.
+/// The keep_alive parameter tells Elasticsearch how long it should persist.
+///
///
public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor, OpenPointInTimeRequestParameters>
{
@@ -247,13 +261,20 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// A search request by default executes against the most recent visible data of the target indices,
+/// Open a point in time.
+///
+///
+/// A search request by default runs against the most recent visible data of the target indices,
/// which is called point in time. Elasticsearch pit (point in time) is a lightweight view into the
/// state of the data as it existed when initiated. In some cases, it’s preferred to perform multiple
/// search requests using the same point in time. For example, if refreshes happen between
/// search_after requests, then the results of those requests might not be consistent as changes happening
/// between searches are only visible to the more recent point in time.
///
+///
+/// A point in time must be opened explicitly before being used in search requests.
+/// The keep_alive parameter tells Elasticsearch how long it should persist.
+///
///
public sealed partial class OpenPointInTimeRequestDescriptor : RequestDescriptor
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs
new file mode 100644
index 0000000000..d29a817792
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestRequest.g.cs
@@ -0,0 +1,102 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Requests;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport;
+using Elastic.Transport.Extensions;
+using System;
+using System.Collections.Generic;
+using System.Linq.Expressions;
+using System.Text.Json;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.QueryRules;
+
+public sealed partial class TestRequestParameters : RequestParameters
+{
+}
+
+///
+///
+/// Creates or updates a query ruleset.
+///
+///
+public sealed partial class TestRequest : PlainRequest
+{
+ public TestRequest(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "query_rules.test";
+
+ [JsonInclude, JsonPropertyName("match_criteria")]
+ public IDictionary MatchCriteria { get; set; }
+}
+
+///
+///
+/// Creates or updates a query ruleset.
+///
+///
+public sealed partial class TestRequestDescriptor : RequestDescriptor
+{
+ internal TestRequestDescriptor(Action configure) => configure.Invoke(this);
+
+ public TestRequestDescriptor(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId) : base(r => r.Required("ruleset_id", rulesetId))
+ {
+ }
+
+ internal override ApiUrls ApiUrls => ApiUrlLookup.QueryRulesTest;
+
+ protected override HttpMethod StaticHttpMethod => HttpMethod.POST;
+
+ internal override bool SupportsBody => true;
+
+ internal override string OperationName => "query_rules.test";
+
+ public TestRequestDescriptor RulesetId(Elastic.Clients.Elasticsearch.Serverless.Id rulesetId)
+ {
+ RouteValues.Required("ruleset_id", rulesetId);
+ return Self;
+ }
+
+ private IDictionary MatchCriteriaValue { get; set; }
+
+ public TestRequestDescriptor MatchCriteria(Func, FluentDictionary> selector)
+ {
+ MatchCriteriaValue = selector?.Invoke(new FluentDictionary());
+ return Self;
+ }
+
+ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions options, IElasticsearchClientSettings settings)
+ {
+ writer.WriteStartObject();
+ writer.WritePropertyName("match_criteria");
+ JsonSerializer.Serialize(writer, MatchCriteriaValue, options);
+ writer.WriteEndObject();
+ }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs
new file mode 100644
index 0000000000..f2999d2d40
--- /dev/null
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/QueryRules/TestResponse.g.cs
@@ -0,0 +1,35 @@
+// Licensed to Elasticsearch B.V under one or more agreements.
+// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
+// See the LICENSE file in the project root for more information.
+//
+// ███╗ ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
+// ████╗ ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
+// ██╔██╗ ██║██║ ██║ ██║ ██║██║ █████╗
+// ██║╚██╗██║██║ ██║ ██║ ██║██║ ██╔══╝
+// ██║ ╚████║╚██████╔╝ ██║ ██║╚██████╗███████╗
+// ╚═╝ ╚═══╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝╚══════╝
+// ------------------------------------------------
+//
+// This file is automatically generated.
+// Please do not edit these files manually.
+//
+// ------------------------------------------------
+
+#nullable restore
+
+using Elastic.Clients.Elasticsearch.Serverless.Fluent;
+using Elastic.Clients.Elasticsearch.Serverless.Serialization;
+using Elastic.Transport.Products.Elasticsearch;
+using System;
+using System.Collections.Generic;
+using System.Text.Json.Serialization;
+
+namespace Elastic.Clients.Elasticsearch.Serverless.QueryRules;
+
+public sealed partial class TestResponse : ElasticsearchResponse
+{
+ [JsonInclude, JsonPropertyName("matched_rules")]
+ public IReadOnlyCollection MatchedRules { get; init; }
+ [JsonInclude, JsonPropertyName("total_matched_rules")]
+ public int TotalMatchedRules { get; init; }
+}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs
index 85d9c3e904..fea2484686 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RankEvalRequest.g.cs
@@ -63,7 +63,10 @@ public sealed partial class RankEvalRequestParameters : RequestParameters
///
///
-/// Enables you to evaluate the quality of ranked search results over a set of typical search queries.
+/// Evaluate ranked search results.
+///
+///
+/// Evaluate the quality of ranked search results over a set of typical search queries.
///
///
public sealed partial class RankEvalRequest : PlainRequest
@@ -135,7 +138,10 @@ public RankEvalRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices
///
///
-/// Enables you to evaluate the quality of ranked search results over a set of typical search queries.
+/// Evaluate ranked search results.
+///
+///
+/// Evaluate the quality of ranked search results over a set of typical search queries.
///
///
public sealed partial class RankEvalRequestDescriptor : RequestDescriptor, RankEvalRequestParameters>
@@ -303,7 +309,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Enables you to evaluate the quality of ranked search results over a set of typical search queries.
+/// Evaluate ranked search results.
+///
+///
+/// Evaluate the quality of ranked search results over a set of typical search queries.
///
///
public sealed partial class RankEvalRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs
index d073864682..8bcfea0159 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ReindexRethrottleRequest.g.cs
@@ -42,7 +42,10 @@ public sealed partial class ReindexRethrottleRequestParameters : RequestParamete
///
///
-/// Copies documents from a source to a destination.
+/// Throttle a reindex operation.
+///
+///
+/// Change the number of requests per second for a particular reindex operation.
///
///
public sealed partial class ReindexRethrottleRequest : PlainRequest
@@ -70,7 +73,10 @@ public ReindexRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.Id task
///
///
-/// Copies documents from a source to a destination.
+/// Throttle a reindex operation.
+///
+///
+/// Change the number of requests per second for a particular reindex operation.
///
///
public sealed partial class ReindexRethrottleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs
index 98214e0bfa..7a9a01ec4d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/RenderSearchTemplateRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class RenderSearchTemplateRequestParameters : RequestParam
///
///
-/// Renders a search template as a search request body.
+/// Render a search template.
+///
+///
+/// Render a search template as a search request body.
///
///
public sealed partial class RenderSearchTemplateRequest : PlainRequest
@@ -84,7 +87,10 @@ public RenderSearchTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Id?
///
///
-/// Renders a search template as a search request body.
+/// Render a search template.
+///
+///
+/// Render a search template as a search request body.
///
///
public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor, RenderSearchTemplateRequestParameters>
@@ -177,7 +183,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Renders a search template as a search request body.
+/// Render a search template.
+///
+///
+/// Render a search template as a search request body.
///
///
public sealed partial class RenderSearchTemplateRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs
index 4f722b979b..c86812de36 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ScrollRequest.g.cs
@@ -42,7 +42,24 @@ public sealed partial class ScrollRequestParameters : RequestParameters
///
///
-/// Allows to retrieve a large numbers of results from a single search request.
+/// Run a scrolling search.
+///
+///
+/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT).
+///
+///
+/// The scroll API gets large sets of results from a single scrolling search request.
+/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter.
+/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request.
+/// The search response returns a scroll ID in the _scroll_id response body parameter.
+/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request.
+/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search.
+///
+///
+/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context.
+///
+///
+/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests.
///
///
public sealed partial class ScrollRequest : PlainRequest
@@ -82,7 +99,24 @@ public sealed partial class ScrollRequest : PlainRequest
///
-/// Allows to retrieve a large numbers of results from a single search request.
+/// Run a scrolling search.
+///
+///
+/// IMPORTANT: The scroll API is no longer recommend for deep pagination. If you need to preserve the index state while paging through more than 10,000 hits, use the search_after parameter with a point in time (PIT).
+///
+///
+/// The scroll API gets large sets of results from a single scrolling search request.
+/// To get the necessary scroll ID, submit a search API request that includes an argument for the scroll query parameter.
+/// The scroll parameter indicates how long Elasticsearch should retain the search context for the request.
+/// The search response returns a scroll ID in the _scroll_id response body parameter.
+/// You can then use the scroll ID with the scroll API to retrieve the next batch of results for the request.
+/// If the Elasticsearch security features are enabled, the access to the results of a specific scroll ID is restricted to the user or API key that submitted the search.
+///
+///
+/// You can also use the scroll API to specify a new scroll parameter that extends or shortens the retention period for the search context.
+///
+///
+/// IMPORTANT: Results from a scrolling search reflect the state of the index at the time of the initial search request. Subsequent indexing or document changes only affect later search and scroll requests.
///
///
public sealed partial class ScrollRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
index 5c1f2d95bc..f66e7e1f32 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchMvtRequest.g.cs
@@ -37,7 +37,9 @@ public sealed partial class SearchMvtRequestParameters : RequestParameters
///
///
/// Search a vector tile.
-/// Searches a vector tile for geospatial values.
+///
+///
+/// Search a vector tile for geospatial values.
///
///
public sealed partial class SearchMvtRequest : PlainRequest
@@ -221,7 +223,9 @@ public SearchMvtRequest(Elastic.Clients.Elasticsearch.Serverless.Indices indices
///
///
/// Search a vector tile.
-/// Searches a vector tile for geospatial values.
+///
+///
+/// Search a vector tile for geospatial values.
///
///
public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor, SearchMvtRequestParameters>
@@ -672,7 +676,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
/// Search a vector tile.
-/// Searches a vector tile for geospatial values.
+///
+///
+/// Search a vector tile for geospatial values.
///
///
public sealed partial class SearchMvtRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs
index 79e1a49b38..d7dfb6182a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchRequest.g.cs
@@ -134,14 +134,6 @@ public sealed partial class SearchRequestParameters : RequestParameters
///
public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
- ///
- ///
- /// The minimum version of the node that can handle the request
- /// Any handling node with a lower version will fail the request.
- ///
- ///
- public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); }
-
///
///
/// Nodes and shards used for the search.
@@ -694,7 +686,10 @@ public override void Write(Utf8JsonWriter writer, SearchRequest value, JsonSeria
///
///
-/// Returns search hits that match the query defined in the request.
+/// Run a search.
+///
+///
+/// Get search hits that match the query defined in the request.
/// You can provide search queries using the q query string parameter or the request body.
/// If both are specified, only the query parameter is used.
///
@@ -833,15 +828,6 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
[JsonIgnore]
public long? MaxConcurrentShardRequests { get => Q("max_concurrent_shard_requests"); set => Q("max_concurrent_shard_requests", value); }
- ///
- ///
- /// The minimum version of the node that can handle the request
- /// Any handling node with a lower version will fail the request.
- ///
- ///
- [JsonIgnore]
- public string? MinCompatibleShardNode { get => Q("min_compatible_shard_node"); set => Q("min_compatible_shard_node", value); }
-
///
///
/// Nodes and shards used for the search.
@@ -1287,7 +1273,10 @@ public SearchRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? indices)
///
///
-/// Returns search hits that match the query defined in the request.
+/// Run a search.
+///
+///
+/// Get search hits that match the query defined in the request.
/// You can provide search queries using the q query string parameter or the request body.
/// If both are specified, only the query parameter is used.
///
@@ -1325,7 +1314,6 @@ public SearchRequestDescriptor()
public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient);
public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests);
- public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode);
public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference);
public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize);
public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax);
@@ -2506,7 +2494,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Returns search hits that match the query defined in the request.
+/// Run a search.
+///
+///
+/// Get search hits that match the query defined in the request.
/// You can provide search queries using the q query string parameter or the request body.
/// If both are specified, only the query parameter is used.
///
@@ -2544,7 +2535,6 @@ public SearchRequestDescriptor()
public SearchRequestDescriptor IgnoreUnavailable(bool? ignoreUnavailable = true) => Qs("ignore_unavailable", ignoreUnavailable);
public SearchRequestDescriptor Lenient(bool? lenient = true) => Qs("lenient", lenient);
public SearchRequestDescriptor MaxConcurrentShardRequests(long? maxConcurrentShardRequests) => Qs("max_concurrent_shard_requests", maxConcurrentShardRequests);
- public SearchRequestDescriptor MinCompatibleShardNode(string? minCompatibleShardNode) => Qs("min_compatible_shard_node", minCompatibleShardNode);
public SearchRequestDescriptor Preference(string? preference) => Qs("preference", preference);
public SearchRequestDescriptor PreFilterShardSize(long? preFilterShardSize) => Qs("pre_filter_shard_size", preFilterShardSize);
public SearchRequestDescriptor QueryLuceneSyntax(string? queryLuceneSyntax) => Qs("q", queryLuceneSyntax);
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs
index e1288d7fef..3a37210a63 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/SearchTemplateRequest.g.cs
@@ -119,7 +119,7 @@ public sealed partial class SearchTemplateRequestParameters : RequestParameters
///
///
-/// Runs a search with a search template.
+/// Run a search with a search template.
///
///
public sealed partial class SearchTemplateRequest : PlainRequest
@@ -283,7 +283,7 @@ public SearchTemplateRequest(Elastic.Clients.Elasticsearch.Serverless.Indices? i
///
///
-/// Runs a search with a search template.
+/// Run a search with a search template.
///
///
public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor, SearchTemplateRequestParameters>
@@ -429,7 +429,7 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Runs a search with a search template.
+/// Run a search with a search template.
///
///
public sealed partial class SearchTemplateRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs
index 51d7f4d54b..fe394e4fec 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ActivateUserProfileRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class ActivateUserProfileRequestParameters : RequestParame
///
///
-/// Creates or updates a user profile on behalf of another user.
+/// Activate a user profile.
+///
+///
+/// Create or update a user profile on behalf of another user.
///
///
public sealed partial class ActivateUserProfileRequest : PlainRequest
@@ -61,7 +64,10 @@ public sealed partial class ActivateUserProfileRequest : PlainRequest
///
-/// Creates or updates a user profile on behalf of another user.
+/// Activate a user profile.
+///
+///
+/// Create or update a user profile on behalf of another user.
///
///
public sealed partial class ActivateUserProfileRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs
index ecd2ad1876..e87105682b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/AuthenticateRequest.g.cs
@@ -37,6 +37,8 @@ public sealed partial class AuthenticateRequestParameters : RequestParameters
///
///
/// Authenticate a user.
+///
+///
/// Authenticates a user and returns information about the authenticated user.
/// Include the user information in a basic auth header.
/// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user.
@@ -57,6 +59,8 @@ public sealed partial class AuthenticateRequest : PlainRequest
///
/// Authenticate a user.
+///
+///
/// Authenticates a user and returns information about the authenticated user.
/// Include the user information in a basic auth header.
/// A successful call returns a JSON structure that shows user information such as their username, the roles that are assigned to the user, any assigned metadata, and information about the realms that authenticated and authorized the user.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs
index ee3942ef7a..68ea0ad9b1 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkDeleteRoleRequest.g.cs
@@ -42,6 +42,9 @@ public sealed partial class BulkDeleteRoleRequestParameters : RequestParameters
///
///
+/// Bulk delete roles.
+///
+///
/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
/// The bulk delete roles API cannot delete roles that are defined in roles files.
///
@@ -75,6 +78,9 @@ public sealed partial class BulkDeleteRoleRequest : PlainRequest
///
+/// Bulk delete roles.
+///
+///
/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
/// The bulk delete roles API cannot delete roles that are defined in roles files.
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs
index f7cf7f825e..459580f212 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/BulkPutRoleRequest.g.cs
@@ -42,6 +42,9 @@ public sealed partial class BulkPutRoleRequestParameters : RequestParameters
///
///
+/// Bulk create or update roles.
+///
+///
/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
/// The bulk create or update roles API cannot update roles that are defined in roles files.
///
@@ -75,6 +78,9 @@ public sealed partial class BulkPutRoleRequest : PlainRequest
///
+/// Bulk create or update roles.
+///
+///
/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
/// The bulk create or update roles API cannot update roles that are defined in roles files.
///
@@ -121,6 +127,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
+/// Bulk create or update roles.
+///
+///
/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
/// The bulk create or update roles API cannot update roles that are defined in roles files.
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs
index 342b9460d4..d4817ad108 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearApiKeyCacheRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class ClearApiKeyCacheRequestParameters : RequestParameter
///
///
-/// Evicts a subset of all entries from the API key cache.
+/// Clear the API key cache.
+///
+///
+/// Evict a subset of all entries from the API key cache.
/// The cache is also automatically cleared on state changes of the security index.
///
///
@@ -57,7 +60,10 @@ public ClearApiKeyCacheRequest(Elastic.Clients.Elasticsearch.Serverless.Ids ids)
///
///
-/// Evicts a subset of all entries from the API key cache.
+/// Clear the API key cache.
+///
+///
+/// Evict a subset of all entries from the API key cache.
/// The cache is also automatically cleared on state changes of the security index.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs
index 6222ec0725..71ab78556a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedPrivilegesRequest.g.cs
@@ -36,7 +36,11 @@ public sealed partial class ClearCachedPrivilegesRequestParameters : RequestPara
///
///
-/// Evicts application privileges from the native application privileges cache.
+/// Clear the privileges cache.
+///
+///
+/// Evict privileges from the native application privilege cache.
+/// The cache is also automatically cleared for applications that have their privileges updated.
///
///
public sealed partial class ClearCachedPrivilegesRequest : PlainRequest
@@ -56,7 +60,11 @@ public ClearCachedPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Nam
///
///
-/// Evicts application privileges from the native application privileges cache.
+/// Clear the privileges cache.
+///
+///
+/// Evict privileges from the native application privilege cache.
+/// The cache is also automatically cleared for applications that have their privileges updated.
///
///
public sealed partial class ClearCachedPrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs
index e867442c43..88ff2437b7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRealmsRequest.g.cs
@@ -42,7 +42,10 @@ public sealed partial class ClearCachedRealmsRequestParameters : RequestParamete
///
///
-/// Evicts users from the user cache. Can completely clear the cache or evict specific users.
+/// Clear the user cache.
+///
+///
+/// Evict users from the user cache. You can completely clear the cache or evict specific users.
///
///
public sealed partial class ClearCachedRealmsRequest : PlainRequest
@@ -70,7 +73,10 @@ public ClearCachedRealmsRequest(Elastic.Clients.Elasticsearch.Serverless.Names r
///
///
-/// Evicts users from the user cache. Can completely clear the cache or evict specific users.
+/// Clear the user cache.
+///
+///
+/// Evict users from the user cache. You can completely clear the cache or evict specific users.
///
///
public sealed partial class ClearCachedRealmsRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs
index 63eb2f221d..1b9b3c6c0e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedRolesRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class ClearCachedRolesRequestParameters : RequestParameter
///
///
-/// Evicts roles from the native role cache.
+/// Clear the roles cache.
+///
+///
+/// Evict roles from the native role cache.
///
///
public sealed partial class ClearCachedRolesRequest : PlainRequest
@@ -56,7 +59,10 @@ public ClearCachedRolesRequest(Elastic.Clients.Elasticsearch.Serverless.Names na
///
///
-/// Evicts roles from the native role cache.
+/// Clear the roles cache.
+///
+///
+/// Evict roles from the native role cache.
///
///
public sealed partial class ClearCachedRolesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs
index 6290641f21..7005cecd4f 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/ClearCachedServiceTokensRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class ClearCachedServiceTokensRequestParameters : RequestP
///
///
-/// Evicts tokens from the service account token caches.
+/// Clear service account token caches.
+///
+///
+/// Evict a subset of all entries from the service account token caches.
///
///
public sealed partial class ClearCachedServiceTokensRequest : PlainRequest
@@ -56,7 +59,10 @@ public ClearCachedServiceTokensRequest(string ns, string service, Elastic.Client
///
///
-/// Evicts tokens from the service account token caches.
+/// Clear service account token caches.
+///
+///
+/// Evict a subset of all entries from the service account token caches.
///
///
public sealed partial class ClearCachedServiceTokensRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs
index 45ea635401..9568152258 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateApiKeyRequest.g.cs
@@ -43,7 +43,9 @@ public sealed partial class CreateApiKeyRequestParameters : RequestParameters
///
///
/// Create an API key.
-/// Creates an API key for access without requiring basic authentication.
+///
+///
+/// Create an API key for access without requiring basic authentication.
/// A successful request returns a JSON structure that contains the API key, its unique id, and its name.
/// If applicable, it also returns expiration information for the API key in milliseconds.
/// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.
@@ -103,7 +105,9 @@ public sealed partial class CreateApiKeyRequest : PlainRequest
///
/// Create an API key.
-/// Creates an API key for access without requiring basic authentication.
+///
+///
+/// Create an API key for access without requiring basic authentication.
/// A successful request returns a JSON structure that contains the API key, its unique id, and its name.
/// If applicable, it also returns expiration information for the API key in milliseconds.
/// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.
@@ -210,7 +214,9 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
/// Create an API key.
-/// Creates an API key for access without requiring basic authentication.
+///
+///
+/// Create an API key for access without requiring basic authentication.
/// A successful request returns a JSON structure that contains the API key, its unique id, and its name.
/// If applicable, it also returns expiration information for the API key in milliseconds.
/// NOTE: By default, API keys never expire. You can specify expiration information when you create the API keys.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs
index cf914c5cb4..1b16f17316 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/CreateServiceTokenRequest.g.cs
@@ -42,7 +42,10 @@ public sealed partial class CreateServiceTokenRequestParameters : RequestParamet
///
///
-/// Creates a service accounts token for access without requiring basic authentication.
+/// Create a service account token.
+///
+///
+/// Create a service accounts token for access without requiring basic authentication.
///
///
public sealed partial class CreateServiceTokenRequest : PlainRequest
@@ -74,7 +77,10 @@ public CreateServiceTokenRequest(string ns, string service) : base(r => r.Requir
///
///
-/// Creates a service accounts token for access without requiring basic authentication.
+/// Create a service account token.
+///
+///
+/// Create a service accounts token for access without requiring basic authentication.
///
///
public sealed partial class CreateServiceTokenRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs
index b13523c31d..53e7878ab3 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeletePrivilegesRequest.g.cs
@@ -42,7 +42,7 @@ public sealed partial class DeletePrivilegesRequestParameters : RequestParameter
///
///
-/// Removes application privileges.
+/// Delete application privileges.
///
///
public sealed partial class DeletePrivilegesRequest : PlainRequest
@@ -70,7 +70,7 @@ public DeletePrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name app
///
///
-/// Removes application privileges.
+/// Delete application privileges.
///
///
public sealed partial class DeletePrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs
index 51e64452bb..91b20085b2 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleMappingRequest.g.cs
@@ -42,7 +42,7 @@ public sealed partial class DeleteRoleMappingRequestParameters : RequestParamete
///
///
-/// Removes role mappings.
+/// Delete role mappings.
///
///
public sealed partial class DeleteRoleMappingRequest : PlainRequest
@@ -70,7 +70,7 @@ public DeleteRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Name na
///
///
-/// Removes role mappings.
+/// Delete role mappings.
///
///
public sealed partial class DeleteRoleMappingRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs
index 8b78b92a09..511239673c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteRoleRequest.g.cs
@@ -42,7 +42,10 @@ public sealed partial class DeleteRoleRequestParameters : RequestParameters
///
///
-/// Removes roles in the native realm.
+/// Delete roles.
+///
+///
+/// Delete roles in the native realm.
///
///
public sealed partial class DeleteRoleRequest : PlainRequest
@@ -70,7 +73,10 @@ public DeleteRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : b
///
///
-/// Removes roles in the native realm.
+/// Delete roles.
+///
+///
+/// Delete roles in the native realm.
///
///
public sealed partial class DeleteRoleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs
index 48fd4aeb88..ce2465d95d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DeleteServiceTokenRequest.g.cs
@@ -42,7 +42,10 @@ public sealed partial class DeleteServiceTokenRequestParameters : RequestParamet
///
///
-/// Deletes a service account token.
+/// Delete service account tokens.
+///
+///
+/// Delete service account tokens for a service in a specified namespace.
///
///
public sealed partial class DeleteServiceTokenRequest : PlainRequest
@@ -70,7 +73,10 @@ public DeleteServiceTokenRequest(string ns, string service, Elastic.Clients.Elas
///
///
-/// Deletes a service account token.
+/// Delete service account tokens.
+///
+///
+/// Delete service account tokens for a service in a specified namespace.
///
///
public sealed partial class DeleteServiceTokenRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs
index ffe29e0129..a3b2005119 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/DisableUserProfileRequest.g.cs
@@ -44,7 +44,10 @@ public sealed partial class DisableUserProfileRequestParameters : RequestParamet
///
///
-/// Disables a user profile so it's not visible in user profile searches.
+/// Disable a user profile.
+///
+///
+/// Disable user profiles so that they are not visible in user profile searches.
///
///
public sealed partial class DisableUserProfileRequest : PlainRequest
@@ -74,7 +77,10 @@ public DisableUserProfileRequest(string uid) : base(r => r.Required("uid", uid))
///
///
-/// Disables a user profile so it's not visible in user profile searches.
+/// Disable a user profile.
+///
+///
+/// Disable user profiles so that they are not visible in user profile searches.
///
///
public sealed partial class DisableUserProfileRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs
index 4e0b5e25e0..68aba25f44 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/EnableUserProfileRequest.g.cs
@@ -44,7 +44,10 @@ public sealed partial class EnableUserProfileRequestParameters : RequestParamete
///
///
-/// Enables a user profile so it's visible in user profile searches.
+/// Enable a user profile.
+///
+///
+/// Enable user profiles to make them visible in user profile searches.
///
///
public sealed partial class EnableUserProfileRequest : PlainRequest
@@ -74,7 +77,10 @@ public EnableUserProfileRequest(string uid) : base(r => r.Required("uid", uid))
///
///
-/// Enables a user profile so it's visible in user profile searches.
+/// Enable a user profile.
+///
+///
+/// Enable user profiles to make them visible in user profile searches.
///
///
public sealed partial class EnableUserProfileRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs
index 4b6499dc56..81ba73b301 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetApiKeyRequest.g.cs
@@ -101,6 +101,8 @@ public sealed partial class GetApiKeyRequestParameters : RequestParameters
///
///
/// Get API key information.
+///
+///
/// Retrieves information for one or more API keys.
/// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own.
/// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership.
@@ -193,6 +195,8 @@ public sealed partial class GetApiKeyRequest : PlainRequest
///
/// Get API key information.
+///
+///
/// Retrieves information for one or more API keys.
/// NOTE: If you have only the manage_own_api_key privilege, this API returns only the API keys that you own.
/// If you have read_security, manage_api_key or greater privileges (including manage_security), this API returns all API keys regardless of ownership.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs
index 326829e915..b8873b769a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class GetBuiltinPrivilegesRequestParameters : RequestParam
///
///
-/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
+/// Get builtin privileges.
+///
+///
+/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
///
///
public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest
@@ -52,7 +55,10 @@ public sealed partial class GetBuiltinPrivilegesRequest : PlainRequest
///
-/// Retrieves the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
+/// Get builtin privileges.
+///
+///
+/// Get the list of cluster privileges and index privileges that are available in this version of Elasticsearch.
///
///
public sealed partial class GetBuiltinPrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs
index f8523f5be5..289a4f1da5 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetBuiltinPrivilegesResponse.g.cs
@@ -29,7 +29,7 @@ namespace Elastic.Clients.Elasticsearch.Serverless.Security;
public sealed partial class GetBuiltinPrivilegesResponse : ElasticsearchResponse
{
[JsonInclude, JsonPropertyName("cluster")]
- public IReadOnlyCollection Cluster { get; init; }
+ public IReadOnlyCollection Cluster { get; init; }
[JsonInclude, JsonPropertyName("index")]
public IReadOnlyCollection Index { get; init; }
}
\ No newline at end of file
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs
index da45eb97fe..a90bea1fdd 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetPrivilegesRequest.g.cs
@@ -36,7 +36,7 @@ public sealed partial class GetPrivilegesRequestParameters : RequestParameters
///
///
-/// Retrieves application privileges.
+/// Get application privileges.
///
///
public sealed partial class GetPrivilegesRequest : PlainRequest
@@ -64,7 +64,7 @@ public GetPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name? appli
///
///
-/// Retrieves application privileges.
+/// Get application privileges.
///
///
public sealed partial class GetPrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs
index 30e94b5b7f..a454c8e731 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleMappingRequest.g.cs
@@ -36,7 +36,12 @@ public sealed partial class GetRoleMappingRequestParameters : RequestParameters
///
///
-/// Retrieves role mappings.
+/// Get role mappings.
+///
+///
+/// Role mappings define which roles are assigned to each user.
+/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files.
+/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files.
///
///
public sealed partial class GetRoleMappingRequest : PlainRequest
@@ -60,7 +65,12 @@ public GetRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Names? nam
///
///
-/// Retrieves role mappings.
+/// Get role mappings.
+///
+///
+/// Role mappings define which roles are assigned to each user.
+/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files.
+/// The get role mappings API cannot retrieve role mappings that are defined in role mapping files.
///
///
public sealed partial class GetRoleMappingRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs
index f4132f81a2..38491b4083 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetRoleRequest.g.cs
@@ -36,8 +36,10 @@ public sealed partial class GetRoleRequestParameters : RequestParameters
///
///
-/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
-/// The get roles API cannot retrieve roles that are defined in roles files.
+/// Get roles.
+///
+///
+/// Get roles in the native realm.
///
///
public sealed partial class GetRoleRequest : PlainRequest
@@ -61,8 +63,10 @@ public GetRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Names? name) : ba
///
///
-/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
-/// The get roles API cannot retrieve roles that are defined in roles files.
+/// Get roles.
+///
+///
+/// Get roles in the native realm.
///
///
public sealed partial class GetRoleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs
index 3d722b0eb8..bf6cd184fd 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceAccountsRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class GetServiceAccountsRequestParameters : RequestParamet
///
///
-/// This API returns a list of service accounts that match the provided path parameter(s).
+/// Get service accounts.
+///
+///
+/// Get a list of service accounts that match the provided path parameters.
///
///
public sealed partial class GetServiceAccountsRequest : PlainRequest
@@ -64,7 +67,10 @@ public GetServiceAccountsRequest(string? ns) : base(r => r.Optional("namespace",
///
///
-/// This API returns a list of service accounts that match the provided path parameter(s).
+/// Get service accounts.
+///
+///
+/// Get a list of service accounts that match the provided path parameters.
///
///
public sealed partial class GetServiceAccountsRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs
index 3d2a0ecfb8..f343ece9bb 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetServiceCredentialsRequest.g.cs
@@ -36,7 +36,7 @@ public sealed partial class GetServiceCredentialsRequestParameters : RequestPara
///
///
-/// Retrieves information of all service credentials for a service account.
+/// Get service account credentials.
///
///
public sealed partial class GetServiceCredentialsRequest : PlainRequest
@@ -56,7 +56,7 @@ public GetServiceCredentialsRequest(string ns, Elastic.Clients.Elasticsearch.Ser
///
///
-/// Retrieves information of all service credentials for a service account.
+/// Get service account credentials.
///
///
public sealed partial class GetServiceCredentialsRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs
index 0fea9bc36d..52d992c21c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetTokenRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class GetTokenRequestParameters : RequestParameters
///
///
-/// Creates a bearer token for access without requiring basic authentication.
+/// Get a token.
+///
+///
+/// Create a bearer token for access without requiring basic authentication.
///
///
public sealed partial class GetTokenRequest : PlainRequest
@@ -65,7 +68,10 @@ public sealed partial class GetTokenRequest : PlainRequest
///
-/// Creates a bearer token for access without requiring basic authentication.
+/// Get a token.
+///
+///
+/// Create a bearer token for access without requiring basic authentication.
///
///
public sealed partial class GetTokenRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs
index 3f6b988aad..6e0183f4d6 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserPrivilegesRequest.g.cs
@@ -50,7 +50,7 @@ public sealed partial class GetUserPrivilegesRequestParameters : RequestParamete
///
///
-/// Retrieves security privileges for the logged in user.
+/// Get user privileges.
///
///
public sealed partial class GetUserPrivilegesRequest : PlainRequest
@@ -84,7 +84,7 @@ public sealed partial class GetUserPrivilegesRequest : PlainRequest
///
-/// Retrieves security privileges for the logged in user.
+/// Get user privileges.
///
///
public sealed partial class GetUserPrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs
index bb282a71b6..5f0dd65f11 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GetUserProfileRequest.g.cs
@@ -45,7 +45,10 @@ public sealed partial class GetUserProfileRequestParameters : RequestParameters
///
///
-/// Retrieves a user's profile using the unique profile ID.
+/// Get a user profile.
+///
+///
+/// Get a user's profile using the unique profile ID.
///
///
public sealed partial class GetUserProfileRequest : PlainRequest
@@ -76,7 +79,10 @@ public GetUserProfileRequest(IReadOnlyCollection uid) : base(r => r.Requ
///
///
-/// Retrieves a user's profile using the unique profile ID.
+/// Get a user profile.
+///
+///
+/// Get a user's profile using the unique profile ID.
///
///
public sealed partial class GetUserProfileRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs
index 250badd561..91b196ec00 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/GrantApiKeyRequest.g.cs
@@ -36,8 +36,11 @@ public sealed partial class GrantApiKeyRequestParameters : RequestParameters
///
///
-/// Creates an API key on behalf of another user.
-/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API.
+/// Grant an API key.
+///
+///
+/// Create an API key on behalf of another user.
+/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API.
/// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created.
/// It is not possible to use this API to create an API key without that user’s credentials.
/// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user.
@@ -120,8 +123,11 @@ public sealed partial class GrantApiKeyRequest : PlainRequest
///
-/// Creates an API key on behalf of another user.
-/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API.
+/// Grant an API key.
+///
+///
+/// Create an API key on behalf of another user.
+/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API.
/// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created.
/// It is not possible to use this API to create an API key without that user’s credentials.
/// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user.
@@ -303,8 +309,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Creates an API key on behalf of another user.
-/// This API is similar to Create API keys, however it creates the API key for a user that is different than the user that runs the API.
+/// Grant an API key.
+///
+///
+/// Create an API key on behalf of another user.
+/// This API is similar to the create API keys API, however it creates the API key for a user that is different than the user that runs the API.
/// The caller must have authentication credentials (either an access token, or a username and password) for the user on whose behalf the API key will be created.
/// It is not possible to use this API to create an API key without that user’s credentials.
/// The user, for whom the authentication credentials is provided, can optionally "run as" (impersonate) another user.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs
index dbeec56ac2..103009be8c 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesRequest.g.cs
@@ -37,7 +37,9 @@ public sealed partial class HasPrivilegesRequestParameters : RequestParameters
///
///
/// Check user privileges.
-/// Determines whether the specified user has a specified list of privileges.
+///
+///
+/// Determine whether the specified user has a specified list of privileges.
///
///
public sealed partial class HasPrivilegesRequest : PlainRequest
@@ -75,7 +77,9 @@ public HasPrivilegesRequest(Elastic.Clients.Elasticsearch.Serverless.Name? user)
///
///
/// Check user privileges.
-/// Determines whether the specified user has a specified list of privileges.
+///
+///
+/// Determine whether the specified user has a specified list of privileges.
///
///
public sealed partial class HasPrivilegesRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs
index ec0fc8461a..56c7c266a7 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/HasPrivilegesUserProfileRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class HasPrivilegesUserProfileRequestParameters : RequestP
///
///
-/// Determines whether the users associated with the specified profile IDs have all the requested privileges.
+/// Check user profile privileges.
+///
+///
+/// Determine whether the users associated with the specified user profile IDs have all the requested privileges.
///
///
public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest
@@ -63,7 +66,10 @@ public sealed partial class HasPrivilegesUserProfileRequest : PlainRequest
///
-/// Determines whether the users associated with the specified profile IDs have all the requested privileges.
+/// Check user profile privileges.
+///
+///
+/// Determine whether the users associated with the specified user profile IDs have all the requested privileges.
///
///
public sealed partial class HasPrivilegesUserProfileRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs
index d9256ca110..c4d81214b8 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateApiKeyRequest.g.cs
@@ -37,7 +37,10 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter
///
///
/// Invalidate API keys.
-/// Invalidates one or more API keys.
+///
+///
+/// This API invalidates API keys created by the create API key or grant API key APIs.
+/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted.
/// The manage_api_key privilege allows deleting any API keys.
/// The manage_own_api_key only allows deleting API keys that are owned by the user.
/// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats:
@@ -55,7 +58,7 @@ public sealed partial class InvalidateApiKeyRequestParameters : RequestParameter
///
/// -
///
-/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field.
+/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field.
///
///
///
@@ -122,7 +125,10 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest
///
/// Invalidate API keys.
-/// Invalidates one or more API keys.
+///
+///
+/// This API invalidates API keys created by the create API key or grant API key APIs.
+/// Invalidated API keys fail authentication, but they can still be viewed using the get API key information and query API key information APIs, for at least the configured retention period, until they are automatically deleted.
/// The manage_api_key privilege allows deleting any API keys.
/// The manage_own_api_key only allows deleting API keys that are owned by the user.
/// In addition, with the manage_own_api_key privilege, an invalidation request must be issued in one of the three formats:
@@ -140,7 +146,7 @@ public sealed partial class InvalidateApiKeyRequest : PlainRequest
/// -
///
-/// Or, if the request is issued by an API key, i.e. an API key invalidates itself, specify its ID in the ids field.
+/// Or, if the request is issued by an API key, that is to say an API key invalidates itself, specify its ID in the ids field.
///
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs
index 3f146541c7..91ad1b235a 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/InvalidateTokenRequest.g.cs
@@ -36,7 +36,16 @@ public sealed partial class InvalidateTokenRequestParameters : RequestParameters
///
///
-/// Invalidates one or more access tokens or refresh tokens.
+/// Invalidate a token.
+///
+///
+/// The access tokens returned by the get token API have a finite period of time for which they are valid.
+/// After that time period, they can no longer be used.
+/// The time period is defined by the xpack.security.authc.token.timeout setting.
+///
+///
+/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once.
+/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API.
///
///
public sealed partial class InvalidateTokenRequest : PlainRequest
@@ -61,7 +70,16 @@ public sealed partial class InvalidateTokenRequest : PlainRequest
///
-/// Invalidates one or more access tokens or refresh tokens.
+/// Invalidate a token.
+///
+///
+/// The access tokens returned by the get token API have a finite period of time for which they are valid.
+/// After that time period, they can no longer be used.
+/// The time period is defined by the xpack.security.authc.token.timeout setting.
+///
+///
+/// The refresh tokens returned by the get token API are only valid for 24 hours. They can also be used exactly once.
+/// If you want to invalidate one or more access or refresh tokens immediately, use this invalidate token API.
///
///
public sealed partial class InvalidateTokenRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs
index ab3366a550..2a4b0e681d 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutPrivilegesRequest.g.cs
@@ -44,7 +44,7 @@ public sealed partial class PutPrivilegesRequestParameters : RequestParameters
///
///
-/// Adds or updates application privileges.
+/// Create or update application privileges.
///
///
public sealed partial class PutPrivilegesRequest : PlainRequest, ISelfSerializable
@@ -74,7 +74,7 @@ void ISelfSerializable.Serialize(Utf8JsonWriter writer, JsonSerializerOptions op
///
///
-/// Adds or updates application privileges.
+/// Create or update application privileges.
///
///
public sealed partial class PutPrivilegesRequestDescriptor : RequestDescriptor, ISelfSerializable
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs
index 9be7d80b89..8b012008cd 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleMappingRequest.g.cs
@@ -42,7 +42,16 @@ public sealed partial class PutRoleMappingRequestParameters : RequestParameters
///
///
-/// Creates and updates role mappings.
+/// Create or update role mappings.
+///
+///
+/// Role mappings define which roles are assigned to each user.
+/// Each mapping has rules that identify users and a list of roles that are granted to those users.
+/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files.
+///
+///
+/// This API does not create roles. Rather, it maps users to existing roles.
+/// Roles can be created by using the create or update roles API or roles files.
///
///
public sealed partial class PutRoleMappingRequest : PlainRequest
@@ -82,7 +91,16 @@ public PutRoleMappingRequest(Elastic.Clients.Elasticsearch.Serverless.Name name)
///
///
-/// Creates and updates role mappings.
+/// Create or update role mappings.
+///
+///
+/// Role mappings define which roles are assigned to each user.
+/// Each mapping has rules that identify users and a list of roles that are granted to those users.
+/// The role mapping APIs are generally the preferred way to manage role mappings rather than using role mapping files. The create or update role mappings API cannot update role mappings that are defined in role mapping files.
+///
+///
+/// This API does not create roles. Rather, it maps users to existing roles.
+/// Roles can be created by using the create or update roles API or roles files.
///
///
public sealed partial class PutRoleMappingRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs
index 17b733fefa..7cb42023af 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/PutRoleRequest.g.cs
@@ -42,8 +42,12 @@ public sealed partial class PutRoleRequestParameters : RequestParameters
///
///
-/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
+/// Create or update roles.
+///
+///
+/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.
/// The create or update roles API cannot update roles that are defined in roles files.
+/// File-based role management is not available in Elastic Serverless.
///
///
public sealed partial class PutRoleRequest : PlainRequest
@@ -127,8 +131,12 @@ public PutRoleRequest(Elastic.Clients.Elasticsearch.Serverless.Name name) : base
///
///
-/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
+/// Create or update roles.
+///
+///
+/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.
/// The create or update roles API cannot update roles that are defined in roles files.
+/// File-based role management is not available in Elastic Serverless.
///
///
public sealed partial class PutRoleRequestDescriptor : RequestDescriptor, PutRoleRequestParameters>
@@ -407,8 +415,12 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
+/// Create or update roles.
+///
+///
+/// The role management APIs are generally the preferred way to manage roles in the native realm, rather than using file-based role management.
/// The create or update roles API cannot update roles that are defined in roles files.
+/// File-based role management is not available in Elastic Serverless.
///
///
public sealed partial class PutRoleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs
index 7e74a7993c..4da4639b1b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryApiKeysRequest.g.cs
@@ -153,8 +153,10 @@ public override void Write(Utf8JsonWriter writer, QueryApiKeysRequest value, Jso
///
///
-/// Query API keys.
-/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query.
+/// Find API keys with a query.
+///
+///
+/// Get a paginated list of API keys and their information. You can optionally filter the results with a query.
///
///
[JsonConverter(typeof(QueryApiKeysRequestConverter))]
@@ -263,8 +265,10 @@ public QueryApiKeysRequest()
///
///
-/// Query API keys.
-/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query.
+/// Find API keys with a query.
+///
+///
+/// Get a paginated list of API keys and their information. You can optionally filter the results with a query.
///
///
public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor, QueryApiKeysRequestParameters>
@@ -505,8 +509,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Query API keys.
-/// Retrieves a paginated list of API keys and their information. You can optionally filter the results with a query.
+/// Find API keys with a query.
+///
+///
+/// Get a paginated list of API keys and their information. You can optionally filter the results with a query.
///
///
public sealed partial class QueryApiKeysRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs
index 87f3f201e4..7aea332007 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryRoleRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class QueryRoleRequestParameters : RequestParameters
///
///
-/// Retrieves roles in a paginated manner. You can optionally filter the results with a query.
+/// Find roles with a query.
+///
+///
+/// Get roles in a paginated manner. You can optionally filter the results with a query.
///
///
public sealed partial class QueryRoleRequest : PlainRequest
@@ -103,7 +106,10 @@ public sealed partial class QueryRoleRequest : PlainRequest
///
-/// Retrieves roles in a paginated manner. You can optionally filter the results with a query.
+/// Find roles with a query.
+///
+///
+/// Get roles in a paginated manner. You can optionally filter the results with a query.
///
///
public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor, QueryRoleRequestParameters>
@@ -318,7 +324,10 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Retrieves roles in a paginated manner. You can optionally filter the results with a query.
+/// Find roles with a query.
+///
+///
+/// Get roles in a paginated manner. You can optionally filter the results with a query.
///
///
public sealed partial class QueryRoleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs
index 0f1142d276..3d9242111b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/QueryUserRequest.g.cs
@@ -42,7 +42,11 @@ public sealed partial class QueryUserRequestParameters : RequestParameters
///
///
-/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query.
+/// Find users with a query.
+///
+///
+/// Get information for users in a paginated manner.
+/// You can optionally filter the results with a query.
///
///
public sealed partial class QueryUserRequest : PlainRequest
@@ -116,7 +120,11 @@ public sealed partial class QueryUserRequest : PlainRequest
///
-/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query.
+/// Find users with a query.
+///
+///
+/// Get information for users in a paginated manner.
+/// You can optionally filter the results with a query.
///
///
public sealed partial class QueryUserRequestDescriptor : RequestDescriptor, QueryUserRequestParameters>
@@ -332,7 +340,11 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// Retrieves information for Users in a paginated manner. You can optionally filter the results with a query.
+/// Find users with a query.
+///
+///
+/// Get information for users in a paginated manner.
+/// You can optionally filter the results with a query.
///
///
public sealed partial class QueryUserRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs
index 148ca66cd0..8222f4fdbf 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlAuthenticateRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class SamlAuthenticateRequestParameters : RequestParameter
///
///
-/// Submits a SAML Response message to Elasticsearch for consumption.
+/// Authenticate SAML.
+///
+///
+/// Submits a SAML response message to Elasticsearch for consumption.
///
///
public sealed partial class SamlAuthenticateRequest : PlainRequest
@@ -76,7 +79,10 @@ public sealed partial class SamlAuthenticateRequest : PlainRequest
///
-/// Submits a SAML Response message to Elasticsearch for consumption.
+/// Authenticate SAML.
+///
+///
+/// Submits a SAML response message to Elasticsearch for consumption.
///
///
public sealed partial class SamlAuthenticateRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs
index 66f777e8d7..58b98982f3 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlCompleteLogoutRequest.g.cs
@@ -36,6 +36,9 @@ public sealed partial class SamlCompleteLogoutRequestParameters : RequestParamet
///
///
+/// Logout of SAML completely.
+///
+///
/// Verifies the logout response sent from the SAML IdP.
///
///
@@ -84,6 +87,9 @@ public sealed partial class SamlCompleteLogoutRequest : PlainRequest
///
+/// Logout of SAML completely.
+///
+///
/// Verifies the logout response sent from the SAML IdP.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs
index cdcc6ca1c5..b631761eb4 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlInvalidateRequest.g.cs
@@ -36,6 +36,9 @@ public sealed partial class SamlInvalidateRequestParameters : RequestParameters
///
///
+/// Invalidate SAML.
+///
+///
/// Submits a SAML LogoutRequest message to Elasticsearch for consumption.
///
///
@@ -80,6 +83,9 @@ public sealed partial class SamlInvalidateRequest : PlainRequest
///
+/// Invalidate SAML.
+///
+///
/// Submits a SAML LogoutRequest message to Elasticsearch for consumption.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs
index 0423c1881d..9b2ffde5d0 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlLogoutRequest.g.cs
@@ -36,6 +36,9 @@ public sealed partial class SamlLogoutRequestParameters : RequestParameters
///
///
+/// Logout of SAML.
+///
+///
/// Submits a request to invalidate an access token and refresh token.
///
///
@@ -70,6 +73,9 @@ public sealed partial class SamlLogoutRequest : PlainRequest
///
+/// Logout of SAML.
+///
+///
/// Submits a request to invalidate an access token and refresh token.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs
index 92570ab779..fab192886e 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlPrepareAuthenticationRequest.g.cs
@@ -36,7 +36,10 @@ public sealed partial class SamlPrepareAuthenticationRequestParameters : Request
///
///
-/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
+/// Prepare SAML authentication.
+///
+///
+/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
///
///
public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest
@@ -79,7 +82,10 @@ public sealed partial class SamlPrepareAuthenticationRequest : PlainRequest
///
-/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
+/// Prepare SAML authentication.
+///
+///
+/// Creates a SAML authentication request (<AuthnRequest>) as a URL string, based on the configuration of the respective SAML realm in Elasticsearch.
///
///
public sealed partial class SamlPrepareAuthenticationRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs
index 91804f5cb3..601fd669ec 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SamlServiceProviderMetadataRequest.g.cs
@@ -36,6 +36,9 @@ public sealed partial class SamlServiceProviderMetadataRequestParameters : Reque
///
///
+/// Create SAML service provider metadata.
+///
+///
/// Generate SAML metadata for a SAML 2.0 Service Provider.
///
///
@@ -56,6 +59,9 @@ public SamlServiceProviderMetadataRequest(Elastic.Clients.Elasticsearch.Serverle
///
///
+/// Create SAML service provider metadata.
+///
+///
/// Generate SAML metadata for a SAML 2.0 Service Provider.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs
index 48bb480009..8aa590fb3b 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/SuggestUserProfilesRequest.g.cs
@@ -36,6 +36,9 @@ public sealed partial class SuggestUserProfilesRequestParameters : RequestParame
///
///
+/// Suggest a user profile.
+///
+///
/// Get suggestions for user profiles that match specified search criteria.
///
///
@@ -92,6 +95,9 @@ public sealed partial class SuggestUserProfilesRequest : PlainRequest
///
+/// Suggest a user profile.
+///
+///
/// Get suggestions for user profiles that match specified search criteria.
///
///
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs
index 06552e2e13..aa6dbc91c9 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateApiKeyRequest.g.cs
@@ -37,6 +37,8 @@ public sealed partial class UpdateApiKeyRequestParameters : RequestParameters
///
///
/// Update an API key.
+///
+///
/// Updates attributes of an existing API key.
/// Users can only update API keys that they created or that were granted to them.
/// Use this API to update API keys created by the create API Key or grant API Key APIs.
@@ -94,6 +96,8 @@ public UpdateApiKeyRequest(Elastic.Clients.Elasticsearch.Serverless.Id id) : bas
///
///
/// Update an API key.
+///
+///
/// Updates attributes of an existing API key.
/// Users can only update API keys that they created or that were granted to them.
/// Use this API to update API keys created by the create API Key or grant API Key APIs.
@@ -196,6 +200,8 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
/// Update an API key.
+///
+///
/// Updates attributes of an existing API key.
/// Users can only update API keys that they created or that were granted to them.
/// Use this API to update API keys created by the create API Key or grant API Key APIs.
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs
index 632005a5cc..3b56008f30 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/Security/UpdateUserProfileDataRequest.g.cs
@@ -58,7 +58,10 @@ public sealed partial class UpdateUserProfileDataRequestParameters : RequestPara
///
///
-/// Updates specific data for the user profile that's associated with the specified unique ID.
+/// Update user profile data.
+///
+///
+/// Update specific data for the user profile that is associated with a unique ID.
///
///
public sealed partial class UpdateUserProfileDataRequest : PlainRequest
@@ -122,7 +125,10 @@ public UpdateUserProfileDataRequest(string uid) : base(r => r.Required("uid", ui
///
///
-/// Updates specific data for the user profile that's associated with the specified unique ID.
+/// Update user profile data.
+///
+///
+/// Update specific data for the user profile that is associated with a unique ID.
///
///
public sealed partial class UpdateUserProfileDataRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
index 9819d12388..7854f37940 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermVectorsRequest.g.cs
@@ -115,7 +115,9 @@ public sealed partial class TermVectorsRequestParameters : RequestParameters
///
///
/// Get term vector information.
-/// Returns information and statistics about terms in the fields of a particular document.
+///
+///
+/// Get information and statistics about terms in the fields of a particular document.
///
///
public sealed partial class TermVectorsRequest : PlainRequest
@@ -255,7 +257,9 @@ public TermVectorsRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName ind
///
///
/// Get term vector information.
-/// Returns information and statistics about terms in the fields of a particular document.
+///
+///
+/// Get information and statistics about terms in the fields of a particular document.
///
///
public sealed partial class TermVectorsRequestDescriptor : RequestDescriptor, TermVectorsRequestParameters>
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs
index 52e089690d..5173a597ba 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/TermsEnumRequest.g.cs
@@ -36,7 +36,18 @@ public sealed partial class TermsEnumRequestParameters : RequestParameters
///
///
-/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.
+/// Get terms in an index.
+///
+///
+/// Discover terms that match a partial string in an index.
+/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios.
+///
+///
+/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate.
+/// This can occur due to a few reasons, such as a request timeout or a node error.
+///
+///
+/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents.
///
///
public sealed partial class TermsEnumRequest : PlainRequest
@@ -106,7 +117,18 @@ public TermsEnumRequest(Elastic.Clients.Elasticsearch.Serverless.IndexName index
///
///
-/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.
+/// Get terms in an index.
+///
+///
+/// Discover terms that match a partial string in an index.
+/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios.
+///
+///
+/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate.
+/// This can occur due to a few reasons, such as a request timeout or a node error.
+///
+///
+/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents.
///
///
public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor, TermsEnumRequestParameters>
@@ -314,7 +336,18 @@ protected override void Serialize(Utf8JsonWriter writer, JsonSerializerOptions o
///
///
-/// The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.
+/// Get terms in an index.
+///
+///
+/// Discover terms that match a partial string in an index.
+/// This "terms enum" API is designed for low-latency look-ups used in auto-complete scenarios.
+///
+///
+/// If the complete property in the response is false, the returned terms set may be incomplete and should be treated as approximate.
+/// This can occur due to a few reasons, such as a request timeout or a node error.
+///
+///
+/// NOTE: The terms enum API may return terms from deleted documents. Deleted documents are initially only marked as deleted. It is not until their segments are merged that documents are actually deleted. Until that happens, the terms enum API will return terms from these documents.
///
///
public sealed partial class TermsEnumRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs
index a10de0936d..a5f50b58ef 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/UpdateByQueryRethrottleRequest.g.cs
@@ -42,7 +42,11 @@ public sealed partial class UpdateByQueryRethrottleRequestParameters : RequestPa
///
///
-/// Changes the number of requests per second for a particular Update By Query operation.
+/// Throttle an update by query operation.
+///
+///
+/// Change the number of requests per second for a particular update by query operation.
+/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
///
///
public sealed partial class UpdateByQueryRethrottleRequest : PlainRequest
@@ -70,7 +74,11 @@ public UpdateByQueryRethrottleRequest(Elastic.Clients.Elasticsearch.Serverless.I
///
///
-/// Changes the number of requests per second for a particular Update By Query operation.
+/// Throttle an update by query operation.
+///
+///
+/// Change the number of requests per second for a particular update by query operation.
+/// Rethrottling that speeds up the query takes effect immediately but rethrotting that slows down the query takes effect after completing the current batch to prevent scroll timeouts.
///
///
public sealed partial class UpdateByQueryRethrottleRequestDescriptor : RequestDescriptor
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
index 95d1920cbb..b3d675da44 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.AsyncSearch.g.cs
@@ -41,12 +41,14 @@ internal AsyncSearchNamespacedClient(ElasticsearchClient client) : base(client)
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -56,12 +58,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -71,12 +75,14 @@ public virtual Task DeleteAsync(DeleteAsyn
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -87,12 +93,14 @@ public virtual Task DeleteAsync(Elastic.Cl
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -104,12 +112,14 @@ public virtual Task DeleteAsync(Elastic.Cl
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(DeleteAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -119,12 +129,14 @@ public virtual Task DeleteAsync(DeleteAsyncSearchRequ
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -135,12 +147,14 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast
///
///
- /// Deletes an async search by identifier.
- /// If the search is still running, the search request will be cancelled.
+ /// Delete an async search.
+ ///
+ ///
+ /// If the asynchronous search is still running, it is cancelled.
/// Otherwise, the saved search results are deleted.
/// If the Elasticsearch security features are enabled, the deletion of a specific async search is restricted to: the authenticated user that submitted the original search request; users that have the cancel_task cluster privilege.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -152,10 +166,13 @@ public virtual Task DeleteAsync(Elastic.Clients.Elast
///
///
- /// Retrieves the results of a previously submitted async search request given its identifier.
+ /// Get async search results.
+ ///
+ ///
+ /// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(GetAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -165,10 +182,13 @@ public virtual Task> GetAsync(GetAs
///
///
- /// Retrieves the results of a previously submitted async search request given its identifier.
+ /// Get async search results.
+ ///
+ ///
+ /// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(GetAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -178,10 +198,13 @@ public virtual Task> GetAsync(GetAs
///
///
- /// Retrieves the results of a previously submitted async search request given its identifier.
+ /// Get async search results.
+ ///
+ ///
+ /// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -192,10 +215,13 @@ public virtual Task> GetAsync(Elast
///
///
- /// Retrieves the results of a previously submitted async search request given its identifier.
+ /// Get async search results.
+ ///
+ ///
+ /// Retrieve the results of a previously submitted asynchronous search request.
/// If the Elasticsearch security features are enabled, access to the results of a specific async search is restricted to the user or API key that submitted it.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -207,11 +233,13 @@ public virtual Task> GetAsync(Elast
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequest request, CancellationToken cancellationToken = default)
{
@@ -221,11 +249,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -235,11 +265,13 @@ public virtual Task StatusAsync(AsyncSearc
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -250,11 +282,13 @@ public virtual Task StatusAsync(Elastic.Cl
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -266,11 +300,13 @@ public virtual Task StatusAsync(Elastic.Cl
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(AsyncSearchStatusRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -280,11 +316,13 @@ public virtual Task StatusAsync(AsyncSearchStatusRequ
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -295,11 +333,13 @@ public virtual Task StatusAsync(Elastic.Clients.Elast
///
///
- /// Get async search status
- /// Retrieves the status of a previously submitted async search request given its identifier, without retrieving search results.
+ /// Get the async search status.
+ ///
+ ///
+ /// Get the status of a previously submitted async search request given its identifier, without retrieving search results.
/// If the Elasticsearch security features are enabled, use of this API is restricted to the monitoring_user role.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatusAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -311,13 +351,19 @@ public virtual Task StatusAsync(Elastic.Clients.Elast
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(SubmitAsyncSearchRequest request, CancellationToken cancellationToken = default)
{
@@ -327,13 +373,19 @@ public virtual Task> SubmitAsync
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(SubmitAsyncSearchRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -343,13 +395,19 @@ public virtual Task> SubmitAsync
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default)
{
@@ -360,13 +418,19 @@ public virtual Task> SubmitAsync
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -378,13 +442,19 @@ public virtual Task> SubmitAsync
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(CancellationToken cancellationToken = default)
{
@@ -395,13 +465,19 @@ public virtual Task> SubmitAsync
///
///
- /// Runs a search request asynchronously.
- /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field, hence partial results become available following the sort criteria that was requested.
- /// Warning: Async search does not support scroll nor search requests that only include the suggest section.
- /// By default, Elasticsearch doesn’t allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
+ /// Run an async search.
+ ///
+ ///
+ /// When the primary sort of the results is an indexed field, shards get sorted based on minimum and maximum value that they hold for that field. Partial results become available following the sort criteria that was requested.
+ ///
+ ///
+ /// Warning: Asynchronous search does not support scroll or search requests that include only the suggest section.
+ ///
+ ///
+ /// By default, Elasticsearch does not allow you to store an async search response larger than 10Mb and an attempt to do this results in an error.
/// The maximum allowed size for a stored async search response can be set by changing the search.max_async_search_response_size cluster level setting.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> SubmitAsync(Action> configureRequest, CancellationToken cancellationToken = default)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
index ac98b37b29..d46bb20418 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Cluster.g.cs
@@ -43,7 +43,7 @@ internal ClusterNamespacedClient(ElasticsearchClient client) : base(client)
///
/// Provides explanations for shard allocations in the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(AllocationExplainRequest request, CancellationToken cancellationToken = default)
{
@@ -55,7 +55,7 @@ public virtual Task AllocationExplainAsync(Allocation
///
/// Provides explanations for shard allocations in the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(AllocationExplainRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -67,7 +67,7 @@ public virtual Task AllocationExplainAsync(Allocation
///
/// Provides explanations for shard allocations in the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(CancellationToken cancellationToken = default)
{
@@ -80,7 +80,7 @@ public virtual Task AllocationExplainAsync(Cancellati
///
/// Provides explanations for shard allocations in the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task AllocationExplainAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -96,7 +96,7 @@ public virtual Task AllocationExplainAsync(Action
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequest request, CancellationToken cancellationToken = default)
{
@@ -110,7 +110,7 @@ public virtual Task DeleteComponentTemplateAsyn
/// Deletes component templates.
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(DeleteComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -124,7 +124,7 @@ public virtual Task DeleteComponentTemplateAsyn
/// Deletes component templates.
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
{
@@ -139,7 +139,7 @@ public virtual Task DeleteComponentTemplateAsyn
/// Deletes component templates.
/// Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task DeleteComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -154,7 +154,7 @@ public virtual Task DeleteComponentTemplateAsyn
/// Check component templates.
/// Returns information about whether a particular component template exists.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequest request, CancellationToken cancellationToken = default)
{
@@ -167,7 +167,7 @@ public virtual Task ExistsComponentTemplateAsyn
/// Check component templates.
/// Returns information about whether a particular component template exists.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(ExistsComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -180,7 +180,7 @@ public virtual Task ExistsComponentTemplateAsyn
/// Check component templates.
/// Returns information about whether a particular component template exists.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, CancellationToken cancellationToken = default)
{
@@ -194,7 +194,7 @@ public virtual Task ExistsComponentTemplateAsyn
/// Check component templates.
/// Returns information about whether a particular component template exists.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExistsComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Names name, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -209,7 +209,7 @@ public virtual Task ExistsComponentTemplateAsyn
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequest request, CancellationToken cancellationToken = default)
{
@@ -222,7 +222,7 @@ public virtual Task GetComponentTemplateAsync(GetC
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(GetComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -235,7 +235,7 @@ public virtual Task GetComponentTemplateAsync(GetC
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, CancellationToken cancellationToken = default)
{
@@ -249,7 +249,7 @@ public virtual Task GetComponentTemplateAsync(Elas
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name? name, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -264,7 +264,7 @@ public virtual Task GetComponentTemplateAsync(Elas
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(CancellationToken cancellationToken = default)
{
@@ -278,7 +278,7 @@ public virtual Task GetComponentTemplateAsync(Canc
/// Get component templates.
/// Retrieves information about component templates.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetComponentTemplateAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -293,7 +293,7 @@ public virtual Task GetComponentTemplateAsync(Acti
/// Returns cluster-wide settings.
/// By default, it returns only settings that have been explicitly defined.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(GetClusterSettingsRequest request, CancellationToken cancellationToken = default)
{
@@ -306,7 +306,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti
/// Returns cluster-wide settings.
/// By default, it returns only settings that have been explicitly defined.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(GetClusterSettingsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -319,7 +319,7 @@ public virtual Task GetSettingsAsync(GetClusterSetti
/// Returns cluster-wide settings.
/// By default, it returns only settings that have been explicitly defined.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(CancellationToken cancellationToken = default)
{
@@ -333,7 +333,7 @@ public virtual Task GetSettingsAsync(CancellationTok
/// Returns cluster-wide settings.
/// By default, it returns only settings that have been explicitly defined.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task GetSettingsAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -348,7 +348,7 @@ public virtual Task GetSettingsAsync(Action
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequest request, CancellationToken cancellationToken = default)
{
@@ -361,7 +361,7 @@ public virtual Task HealthAsync(HealthRequest request, Cancellat
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -374,7 +374,7 @@ public virtual Task HealthAsync(HealthRequestDescript
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default)
{
@@ -388,7 +388,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -403,7 +403,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elast
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(CancellationToken cancellationToken = default)
{
@@ -417,7 +417,7 @@ public virtual Task HealthAsync(CancellationToken can
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -432,7 +432,7 @@ public virtual Task HealthAsync(Action
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(HealthRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -445,7 +445,7 @@ public virtual Task HealthAsync(HealthRequestDescriptor descript
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, CancellationToken cancellationToken = default)
{
@@ -459,7 +459,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Serverless.Indices? indices, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -474,7 +474,7 @@ public virtual Task HealthAsync(Elastic.Clients.Elasticsearch.Se
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(CancellationToken cancellationToken = default)
{
@@ -488,7 +488,7 @@ public virtual Task HealthAsync(CancellationToken cancellationTo
/// The cluster health API returns a simple status on the health of the cluster. You can also use the API to get the health status of only specified data streams and indices. For data streams, the API retrieves the health status of the stream’s backing indices.
/// The cluster health status is: green, yellow or red. On the shard level, a red status indicates that the specific shard is not allocated in the cluster, yellow means that the primary shard is allocated but replicas are not, and green means that all shards are allocated. The index level status is controlled by the worst shard status. The cluster status is controlled by the worst index status.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task HealthAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -503,7 +503,7 @@ public virtual Task HealthAsync(Action
/// Get cluster info.
/// Returns basic information about the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(ClusterInfoRequest request, CancellationToken cancellationToken = default)
{
@@ -516,7 +516,7 @@ public virtual Task InfoAsync(ClusterInfoRequest request, C
/// Get cluster info.
/// Returns basic information about the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(ClusterInfoRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -529,7 +529,7 @@ public virtual Task InfoAsync(ClusterInfoRequestDescriptor
/// Get cluster info.
/// Returns basic information about the cluster.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(IReadOnlyCollection target, CancellationToken cancellationToken = default)
{
@@ -543,7 +543,7 @@ public virtual Task InfoAsync(IReadOnlyCollection
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task InfoAsync(IReadOnlyCollection target, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -560,7 +560,7 @@ public virtual Task InfoAsync(IReadOnlyCollection
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(PendingTasksRequest request, CancellationToken cancellationToken = default)
{
@@ -575,7 +575,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequest
/// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.
/// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(PendingTasksRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -590,7 +590,7 @@ public virtual Task PendingTasksAsync(PendingTasksRequestD
/// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.
/// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(CancellationToken cancellationToken = default)
{
@@ -606,7 +606,7 @@ public virtual Task PendingTasksAsync(CancellationToken ca
/// These are distinct from the tasks reported by the Task Management API which include periodic tasks and tasks initiated by the user, such as node stats, search queries, or create index requests.
/// However, if a user-initiated task such as a create index command causes a cluster state update, the activity of this task might be reported by both task api and pending cluster tasks API.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PendingTasksAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -639,7 +639,7 @@ public virtual Task PendingTasksAsync(Action/* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequest request, CancellationToken cancellationToken = default)
{
@@ -670,7 +670,7 @@ public virtual Task PutComponentTemplateAsync(PutC
/// You can use C-style /* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -701,7 +701,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
{
@@ -733,7 +733,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -766,7 +766,7 @@ public virtual Task PutComponentTemplateAsync/* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(PutComponentTemplateRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -797,7 +797,7 @@ public virtual Task PutComponentTemplateAsync(PutC
/// You can use C-style /* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
{
@@ -829,7 +829,7 @@ public virtual Task PutComponentTemplateAsync(Elas
/// You can use C-style /* *\/ block comments in component templates.
/// You can include comments anywhere in the request body except before the opening curly bracket.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutComponentTemplateAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -844,7 +844,7 @@ public virtual Task PutComponentTemplateAsync(Elas
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(ClusterStatsRequest request, CancellationToken cancellationToken = default)
{
@@ -857,7 +857,7 @@ public virtual Task StatsAsync(ClusterStatsRequest request
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(ClusterStatsRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -870,7 +870,7 @@ public virtual Task StatsAsync(ClusterStatsRequestDescript
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, CancellationToken cancellationToken = default)
{
@@ -884,7 +884,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(Elastic.Clients.Elasticsearch.Serverless.NodeIds? nodeId, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -899,7 +899,7 @@ public virtual Task StatsAsync(Elastic.Clients.Elasticsear
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(CancellationToken cancellationToken = default)
{
@@ -913,7 +913,7 @@ public virtual Task StatsAsync(CancellationToken cancellat
/// Returns cluster statistics.
/// It returns basic index metrics (shard numbers, store size, memory usage) and information about the current nodes that form the cluster (number, roles, os, jvm versions, memory usage, cpu and installed plugins).
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task StatsAsync(Action configureRequest, CancellationToken cancellationToken = default)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
index 374798d47c..72a641f589 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Enrich.g.cs
@@ -98,7 +98,7 @@ public virtual Task DeletePolicyAsync(Elastic.Clients.Elas
///
/// Creates the enrich index for an existing enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExecutePolicyAsync(ExecutePolicyRequest request, CancellationToken cancellationToken = default)
{
@@ -110,7 +110,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque
///
/// Creates the enrich index for an existing enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExecutePolicyAsync(ExecutePolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -122,7 +122,7 @@ public virtual Task ExecutePolicyAsync(ExecutePolicyReque
///
/// Creates the enrich index for an existing enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
{
@@ -135,7 +135,7 @@ public virtual Task ExecutePolicyAsync(Elastic.Clients.El
///
/// Creates the enrich index for an existing enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task ExecutePolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default)
{
@@ -234,7 +234,7 @@ public virtual Task GetPolicyAsync(Action
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequest request, CancellationToken cancellationToken = default)
{
@@ -247,7 +247,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequest request,
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -260,7 +260,7 @@ public virtual Task PutPolicyAsync(PutPolicyReques
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
{
@@ -274,7 +274,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -289,7 +289,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -302,7 +302,7 @@ public virtual Task PutPolicyAsync(PutPolicyRequestDescriptor
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, CancellationToken cancellationToken = default)
{
@@ -316,7 +316,7 @@ public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsea
/// Create an enrich policy.
/// Creates an enrich policy.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task PutPolicyAsync(Elastic.Clients.Elasticsearch.Serverless.Name name, Action configureRequest, CancellationToken cancellationToken = default)
{
diff --git a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs
index cf1153ff7c..b1663f4cfa 100644
--- a/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs
+++ b/src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Client/ElasticsearchClient.Eql.g.cs
@@ -140,7 +140,7 @@ public virtual Task DeleteAsync(Elastic.Clients.Elasticsearch
///
/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(EqlGetRequest request, CancellationToken cancellationToken = default)
{
@@ -152,7 +152,7 @@ public virtual Task> GetAsync(EqlGetRequest reque
///
/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(EqlGetRequestDescriptor descriptor, CancellationToken cancellationToken = default)
{
@@ -164,7 +164,7 @@ public virtual Task> GetAsync(EqlGetRequestDescri
///
/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, CancellationToken cancellationToken = default)
{
@@ -177,7 +177,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela
///
/// Returns the current status and available results for an async EQL search or a stored synchronous EQL search.
///
- /// Learn more about this API in the Elasticsearch documentation.
+ /// Learn more about this API in the Elasticsearch documentation.
///
public virtual Task> GetAsync(Elastic.Clients.Elasticsearch.Serverless.Id id, Action> configureRequest, CancellationToken cancellationToken = default)
{
@@ -191,7 +191,7 @@ public virtual Task> GetAsync(Elastic.Clients.Ela
///