Skip to content

Commit d521d76

Browse files
github-actions[bot]flobernd
andauthoredJan 2, 2025··
Regenerate client using the latest specification (#8440) (#8442)
Co-authored-by: Florian Bernd <[email protected]>
1 parent f2b92f7 commit d521d76

File tree

466 files changed

+34090
-5669
lines changed

Some content is hidden

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

466 files changed

+34090
-5669
lines changed
 

‎src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/ApiUrlLookup.g.cs

+3
Original file line numberDiff line numberDiff line change
@@ -93,12 +93,15 @@ internal static class ApiUrlLookup
9393
internal static ApiUrls InferenceInference = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
9494
internal static ApiUrls InferencePut = new ApiUrls(new[] { "_inference/{inference_id}", "_inference/{task_type}/{inference_id}" });
9595
internal static ApiUrls IngestDeleteGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" });
96+
internal static ApiUrls IngestDeleteIpLocationDatabase = new ApiUrls(new[] { "_ingest/ip_location/database/{id}" });
9697
internal static ApiUrls IngestDeletePipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" });
9798
internal static ApiUrls IngestGeoIpStats = new ApiUrls(new[] { "_ingest/geoip/stats" });
9899
internal static ApiUrls IngestGetGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database", "_ingest/geoip/database/{id}" });
100+
internal static ApiUrls IngestGetIpLocationDatabase = new ApiUrls(new[] { "_ingest/ip_location/database", "_ingest/ip_location/database/{id}" });
99101
internal static ApiUrls IngestGetPipeline = new ApiUrls(new[] { "_ingest/pipeline", "_ingest/pipeline/{id}" });
100102
internal static ApiUrls IngestProcessorGrok = new ApiUrls(new[] { "_ingest/processor/grok" });
101103
internal static ApiUrls IngestPutGeoipDatabase = new ApiUrls(new[] { "_ingest/geoip/database/{id}" });
104+
internal static ApiUrls IngestPutIpLocationDatabase = new ApiUrls(new[] { "_ingest/ip_location/database/{id}" });
102105
internal static ApiUrls IngestPutPipeline = new ApiUrls(new[] { "_ingest/pipeline/{id}" });
103106
internal static ApiUrls IngestSimulate = new ApiUrls(new[] { "_ingest/pipeline/_simulate", "_ingest/pipeline/{id}/_simulate" });
104107
internal static ApiUrls LicenseManagementGet = new ApiUrls(new[] { "_license" });

‎src/Elastic.Clients.Elasticsearch.Serverless/_Generated/Api/AsyncSearch/AsyncSearchStatusRequest.g.cs

+20
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ namespace Elastic.Clients.Elasticsearch.Serverless.AsyncSearch;
3232

3333
public sealed partial class AsyncSearchStatusRequestParameters : RequestParameters
3434
{
35+
/// <summary>
36+
/// <para>
37+
/// Specifies how long the async search needs to be available.
38+
/// Ongoing async searches and any saved search results are deleted after this period.
39+
/// </para>
40+
/// </summary>
41+
public Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAlive { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("keep_alive"); set => Q("keep_alive", value); }
3542
}
3643

3744
/// <summary>
@@ -56,6 +63,15 @@ public AsyncSearchStatusRequest(Elastic.Clients.Elasticsearch.Serverless.Id id)
5663
internal override bool SupportsBody => false;
5764

5865
internal override string OperationName => "async_search.status";
66+
67+
/// <summary>
68+
/// <para>
69+
/// Specifies how long the async search needs to be available.
70+
/// Ongoing async searches and any saved search results are deleted after this period.
71+
/// </para>
72+
/// </summary>
73+
[JsonIgnore]
74+
public Elastic.Clients.Elasticsearch.Serverless.Duration? KeepAlive { get => Q<Elastic.Clients.Elasticsearch.Serverless.Duration?>("keep_alive"); set => Q("keep_alive", value); }
5975
}
6076

6177
/// <summary>
@@ -83,6 +99,8 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
8399

84100
internal override string OperationName => "async_search.status";
85101

102+
public AsyncSearchStatusRequestDescriptor<TDocument> KeepAlive(Elastic.Clients.Elasticsearch.Serverless.Duration? keepAlive) => Qs("keep_alive", keepAlive);
103+
86104
public AsyncSearchStatusRequestDescriptor<TDocument> Id(Elastic.Clients.Elasticsearch.Serverless.Id id)
87105
{
88106
RouteValues.Required("id", id);
@@ -119,6 +137,8 @@ public AsyncSearchStatusRequestDescriptor(Elastic.Clients.Elasticsearch.Serverle
119137

120138
internal override string OperationName => "async_search.status";
121139

140+
public AsyncSearchStatusRequestDescriptor KeepAlive(Elastic.Clients.Elasticsearch.Serverless.Duration? keepAlive) => Qs("keep_alive", keepAlive);
141+
122142
public AsyncSearchStatusRequestDescriptor Id(Elastic.Clients.Elasticsearch.Serverless.Id id)
123143
{
124144
RouteValues.Required("id", id);

0 commit comments

Comments
 (0)