Skip to content

Commit 048b167

Browse files
floberndgithub-actions[bot]
authored andcommitted
Regenerate client using the latest specification (#7920)
1 parent 7e093b3 commit 048b167

File tree

282 files changed

+10998
-1079
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

282 files changed

+10998
-1079
lines changed

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/AsyncSearchStatusResponse.g.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,21 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
2828

2929
public sealed partial class AsyncSearchStatusResponse : ElasticsearchResponse
3030
{
31+
/// <summary>
32+
/// <para>Metadata about clusters involved in the cross-cluster search.<br/>Not shown for local-only searches.</para>
33+
/// </summary>
34+
[JsonInclude, JsonPropertyName("_clusters")]
35+
public Elastic.Clients.Elasticsearch.ClusterStatistics? Clusters { get; init; }
36+
3137
/// <summary>
3238
/// <para>If the async search completed, this field shows the status code of the search.<br/>For example, 200 indicates that the async search was successfully completed.<br/>503 indicates that the async search was completed with an error.</para>
3339
/// </summary>
3440
[JsonInclude, JsonPropertyName("completion_status")]
3541
public int? CompletionStatus { get; init; }
42+
[JsonInclude, JsonPropertyName("completion_time")]
43+
public DateTimeOffset? CompletionTime { get; init; }
44+
[JsonInclude, JsonPropertyName("completion_time_in_millis")]
45+
public long? CompletionTimeInMillis { get; init; }
3646
[JsonInclude, JsonPropertyName("expiration_time")]
3747
public DateTimeOffset? ExpirationTime { get; init; }
3848
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/GetAsyncSearchResponse.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
2828

2929
public sealed partial class GetAsyncSearchResponse<TDocument> : ElasticsearchResponse
3030
{
31+
[JsonInclude, JsonPropertyName("completion_time")]
32+
public DateTimeOffset? CompletionTime { get; init; }
33+
[JsonInclude, JsonPropertyName("completion_time_in_millis")]
34+
public long? CompletionTimeInMillis { get; init; }
3135
[JsonInclude, JsonPropertyName("expiration_time")]
3236
public DateTimeOffset? ExpirationTime { get; init; }
3337
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]

src/Elastic.Clients.Elasticsearch/_Generated/Api/AsyncSearch/SubmitAsyncSearchResponse.g.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ namespace Elastic.Clients.Elasticsearch.AsyncSearch;
2828

2929
public sealed partial class SubmitAsyncSearchResponse<TDocument> : ElasticsearchResponse
3030
{
31+
[JsonInclude, JsonPropertyName("completion_time")]
32+
public DateTimeOffset? CompletionTime { get; init; }
33+
[JsonInclude, JsonPropertyName("completion_time_in_millis")]
34+
public long? CompletionTimeInMillis { get; init; }
3135
[JsonInclude, JsonPropertyName("expiration_time")]
3236
public DateTimeOffset? ExpirationTime { get; init; }
3337
[JsonInclude, JsonPropertyName("expiration_time_in_millis")]

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsRequest.g.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
3232
public sealed class ClusterStatsRequestParameters : RequestParameters
3333
{
3434
/// <summary>
35-
/// <para>Return settings in flat format (default: false)</para>
35+
/// <para>If `true`, returns settings in flat format.</para>
3636
/// </summary>
3737
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
3838

3939
/// <summary>
40-
/// <para>Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response’s _nodes.failed property. Defaults to no timeout.</para>
40+
/// <para>Period to wait for each node to respond.<br/>If a node does not respond before its timeout expires, the response does not include its stats.<br/>However, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.</para>
4141
/// </summary>
4242
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("timeout"); set => Q("timeout", value); }
4343
}
4444

4545
/// <summary>
46-
/// <para>Returns high-level overview of cluster statistics.</para>
46+
/// <para>Returns cluster statistics.<br/>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).</para>
4747
/// </summary>
4848
public sealed partial class ClusterStatsRequest : PlainRequest<ClusterStatsRequestParameters>
4949
{
@@ -62,20 +62,20 @@ public ClusterStatsRequest(Elastic.Clients.Elasticsearch.NodeIds? node_id) : bas
6262
internal override bool SupportsBody => false;
6363

6464
/// <summary>
65-
/// <para>Return settings in flat format (default: false)</para>
65+
/// <para>If `true`, returns settings in flat format.</para>
6666
/// </summary>
6767
[JsonIgnore]
6868
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
6969

7070
/// <summary>
71-
/// <para>Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response’s _nodes.failed property. Defaults to no timeout.</para>
71+
/// <para>Period to wait for each node to respond.<br/>If a node does not respond before its timeout expires, the response does not include its stats.<br/>However, timed out nodes are included in the response’s `_nodes.failed` property. Defaults to no timeout.</para>
7272
/// </summary>
7373
[JsonIgnore]
7474
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("timeout"); set => Q("timeout", value); }
7575
}
7676

7777
/// <summary>
78-
/// <para>Returns high-level overview of cluster statistics.</para>
78+
/// <para>Returns cluster statistics.<br/>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).</para>
7979
/// </summary>
8080
public sealed partial class ClusterStatsRequestDescriptor : RequestDescriptor<ClusterStatsRequestDescriptor, ClusterStatsRequestParameters>
8181
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/ClusterStatsResponse.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
2828
public sealed partial class ClusterStatsResponse : ElasticsearchResponse
2929
{
3030
/// <summary>
31-
/// <para>Name of the cluster, based on the Cluster name setting setting.</para>
31+
/// <para>Name of the cluster, based on the cluster name setting.</para>
3232
/// </summary>
3333
[JsonInclude, JsonPropertyName("cluster_name")]
3434
public string ClusterName { get; init; }
@@ -60,7 +60,7 @@ public sealed partial class ClusterStatsResponse : ElasticsearchResponse
6060
public Elastic.Clients.Elasticsearch.HealthStatus Status { get; init; }
6161

6262
/// <summary>
63-
/// <para>Unix timestamp, in milliseconds, of the last time the cluster statistics were refreshed.</para>
63+
/// <para>Unix timestamp, in milliseconds, for the last time the cluster statistics were refreshed.</para>
6464
/// </summary>
6565
[JsonInclude, JsonPropertyName("timestamp")]
6666
public long Timestamp { get; init; }

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/GetClusterSettingsRequest.g.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,28 +32,28 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
3232
public sealed class GetClusterSettingsRequestParameters : RequestParameters
3333
{
3434
/// <summary>
35-
/// <para>Return settings in flat format (default: false)</para>
35+
/// <para>If `true`, returns settings in flat format.</para>
3636
/// </summary>
3737
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
3838

3939
/// <summary>
40-
/// <para>Whether to return all default clusters setting.</para>
40+
/// <para>If `true`, returns default cluster settings from the local node.</para>
4141
/// </summary>
4242
public bool? IncludeDefaults { get => Q<bool?>("include_defaults"); set => Q("include_defaults", value); }
4343

4444
/// <summary>
45-
/// <para>Explicit operation timeout for connection to master node</para>
45+
/// <para>Period to wait for a connection to the master node.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
4646
/// </summary>
4747
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("master_timeout"); set => Q("master_timeout", value); }
4848

4949
/// <summary>
50-
/// <para>Explicit operation timeout</para>
50+
/// <para>Period to wait for a response.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
5151
/// </summary>
5252
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("timeout"); set => Q("timeout", value); }
5353
}
5454

5555
/// <summary>
56-
/// <para>Returns cluster settings.</para>
56+
/// <para>Returns cluster-wide settings.<br/>By default, it returns only settings that have been explicitly defined.</para>
5757
/// </summary>
5858
public sealed partial class GetClusterSettingsRequest : PlainRequest<GetClusterSettingsRequestParameters>
5959
{
@@ -64,32 +64,32 @@ public sealed partial class GetClusterSettingsRequest : PlainRequest<GetClusterS
6464
internal override bool SupportsBody => false;
6565

6666
/// <summary>
67-
/// <para>Return settings in flat format (default: false)</para>
67+
/// <para>If `true`, returns settings in flat format.</para>
6868
/// </summary>
6969
[JsonIgnore]
7070
public bool? FlatSettings { get => Q<bool?>("flat_settings"); set => Q("flat_settings", value); }
7171

7272
/// <summary>
73-
/// <para>Whether to return all default clusters setting.</para>
73+
/// <para>If `true`, returns default cluster settings from the local node.</para>
7474
/// </summary>
7575
[JsonIgnore]
7676
public bool? IncludeDefaults { get => Q<bool?>("include_defaults"); set => Q("include_defaults", value); }
7777

7878
/// <summary>
79-
/// <para>Explicit operation timeout for connection to master node</para>
79+
/// <para>Period to wait for a connection to the master node.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
8080
/// </summary>
8181
[JsonIgnore]
8282
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("master_timeout"); set => Q("master_timeout", value); }
8383

8484
/// <summary>
85-
/// <para>Explicit operation timeout</para>
85+
/// <para>Period to wait for a response.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
8686
/// </summary>
8787
[JsonIgnore]
8888
public Elastic.Clients.Elasticsearch.Duration? Timeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("timeout"); set => Q("timeout", value); }
8989
}
9090

9191
/// <summary>
92-
/// <para>Returns cluster settings.</para>
92+
/// <para>Returns cluster-wide settings.<br/>By default, it returns only settings that have been explicitly defined.</para>
9393
/// </summary>
9494
public sealed partial class GetClusterSettingsRequestDescriptor : RequestDescriptor<GetClusterSettingsRequestDescriptor, GetClusterSettingsRequestParameters>
9595
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/Cluster/PendingTasksRequest.g.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ namespace Elastic.Clients.Elasticsearch.Cluster;
3232
public sealed class PendingTasksRequestParameters : RequestParameters
3333
{
3434
/// <summary>
35-
/// <para>Return local information, do not retrieve the state from master node (default: false)</para>
35+
/// <para>If `true`, the request retrieves information from the local node only.<br/>If `false`, information is retrieved from the master node.</para>
3636
/// </summary>
3737
public bool? Local { get => Q<bool?>("local"); set => Q("local", value); }
3838

3939
/// <summary>
40-
/// <para>Specify timeout for connection to master</para>
40+
/// <para>Period to wait for a connection to the master node.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
4141
/// </summary>
4242
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("master_timeout"); set => Q("master_timeout", value); }
4343
}
4444

4545
/// <summary>
46-
/// <para>Returns a list of any cluster-level changes (e.g. create index, update mapping,<br/>allocate or fail shard) which have not yet been executed.</para>
46+
/// <para>Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.<br/>NOTE: This API returns a list of any pending updates to the cluster state.<br/>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.<br/>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.</para>
4747
/// </summary>
4848
public sealed partial class PendingTasksRequest : PlainRequest<PendingTasksRequestParameters>
4949
{
@@ -54,20 +54,20 @@ public sealed partial class PendingTasksRequest : PlainRequest<PendingTasksReque
5454
internal override bool SupportsBody => false;
5555

5656
/// <summary>
57-
/// <para>Return local information, do not retrieve the state from master node (default: false)</para>
57+
/// <para>If `true`, the request retrieves information from the local node only.<br/>If `false`, information is retrieved from the master node.</para>
5858
/// </summary>
5959
[JsonIgnore]
6060
public bool? Local { get => Q<bool?>("local"); set => Q("local", value); }
6161

6262
/// <summary>
63-
/// <para>Specify timeout for connection to master</para>
63+
/// <para>Period to wait for a connection to the master node.<br/>If no response is received before the timeout expires, the request fails and returns an error.</para>
6464
/// </summary>
6565
[JsonIgnore]
6666
public Elastic.Clients.Elasticsearch.Duration? MasterTimeout { get => Q<Elastic.Clients.Elasticsearch.Duration?>("master_timeout"); set => Q("master_timeout", value); }
6767
}
6868

6969
/// <summary>
70-
/// <para>Returns a list of any cluster-level changes (e.g. create index, update mapping,<br/>allocate or fail shard) which have not yet been executed.</para>
70+
/// <para>Returns cluster-level changes (such as create index, update mapping, allocate or fail shard) that have not yet been executed.<br/>NOTE: This API returns a list of any pending updates to the cluster state.<br/>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.<br/>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.</para>
7171
/// </summary>
7272
public sealed partial class PendingTasksRequestDescriptor : RequestDescriptor<PendingTasksRequestDescriptor, PendingTasksRequestParameters>
7373
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed class EnrichStatsRequestParameters : RequestParameters
3434
}
3535

3636
/// <summary>
37-
/// <para>Gets enrich coordinator statistics and information about enrich policies that are currently executing.</para>
37+
/// <para>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
3838
/// </summary>
3939
public sealed partial class EnrichStatsRequest : PlainRequest<EnrichStatsRequestParameters>
4040
{
@@ -46,7 +46,7 @@ public sealed partial class EnrichStatsRequest : PlainRequest<EnrichStatsRequest
4646
}
4747

4848
/// <summary>
49-
/// <para>Gets enrich coordinator statistics and information about enrich policies that are currently executing.</para>
49+
/// <para>Returns enrich coordinator statistics and information about enrich policies that are currently executing.</para>
5050
/// </summary>
5151
public sealed partial class EnrichStatsRequestDescriptor : RequestDescriptor<EnrichStatsRequestDescriptor, EnrichStatsRequestParameters>
5252
{

src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/EnrichStatsResponse.g.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,21 @@ namespace Elastic.Clients.Elasticsearch.Enrich;
2727

2828
public sealed partial class EnrichStatsResponse : ElasticsearchResponse
2929
{
30+
/// <summary>
31+
/// <para>Objects containing information about the enrich cache stats on each ingest node.</para>
32+
/// </summary>
3033
[JsonInclude, JsonPropertyName("cache_stats")]
3134
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Enrich.CacheStats>? CacheStats { get; init; }
35+
36+
/// <summary>
37+
/// <para>Objects containing information about each coordinating ingest node for configured enrich processors.</para>
38+
/// </summary>
3239
[JsonInclude, JsonPropertyName("coordinator_stats")]
3340
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Enrich.CoordinatorStats> CoordinatorStats { get; init; }
41+
42+
/// <summary>
43+
/// <para>Objects containing information about each enrich policy that is currently executing.</para>
44+
/// </summary>
3445
[JsonInclude, JsonPropertyName("executing_policies")]
3546
public IReadOnlyCollection<Elastic.Clients.Elasticsearch.Enrich.ExecutingPolicy> ExecutingPolicies { get; init; }
3647
}

src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/ExecutePolicyRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Elastic.Clients.Elasticsearch.Enrich;
3232
public sealed class ExecutePolicyRequestParameters : RequestParameters
3333
{
3434
/// <summary>
35-
/// <para>Should the request should block until the execution is complete.</para>
35+
/// <para>If `true`, the request blocks other enrich policy execution requests until complete.</para>
3636
/// </summary>
3737
public bool? WaitForCompletion { get => Q<bool?>("wait_for_completion"); set => Q("wait_for_completion", value); }
3838
}
@@ -53,7 +53,7 @@ public ExecutePolicyRequest(Elastic.Clients.Elasticsearch.Name name) : base(r =>
5353
internal override bool SupportsBody => false;
5454

5555
/// <summary>
56-
/// <para>Should the request should block until the execution is complete.</para>
56+
/// <para>If `true`, the request blocks other enrich policy execution requests until complete.</para>
5757
/// </summary>
5858
[JsonIgnore]
5959
public bool? WaitForCompletion { get => Q<bool?>("wait_for_completion"); set => Q("wait_for_completion", value); }

src/Elastic.Clients.Elasticsearch/_Generated/Api/Enrich/GetPolicyRequest.g.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public sealed class GetPolicyRequestParameters : RequestParameters
3434
}
3535

3636
/// <summary>
37-
/// <para>Gets information about an enrich policy.</para>
37+
/// <para>Returns information about an enrich policy.</para>
3838
/// </summary>
3939
public sealed partial class GetPolicyRequest : PlainRequest<GetPolicyRequestParameters>
4040
{
@@ -54,7 +54,7 @@ public GetPolicyRequest(Elastic.Clients.Elasticsearch.Names? name) : base(r => r
5454
}
5555

5656
/// <summary>
57-
/// <para>Gets information about an enrich policy.</para>
57+
/// <para>Returns information about an enrich policy.</para>
5858
/// </summary>
5959
public sealed partial class GetPolicyRequestDescriptor : RequestDescriptor<GetPolicyRequestDescriptor, GetPolicyRequestParameters>
6060
{

0 commit comments

Comments
 (0)