Skip to content

Commit 6f3fb6b

Browse files
[codegen] 7.16 synchronization (#6064)
Co-authored-by: Mpdreamz <[email protected]>
1 parent 5d72fe8 commit 6f3fb6b

11 files changed

+65
-68
lines changed

src/ApiGenerator/RestSpecification/Core/delete_by_query.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -138,18 +138,6 @@
138138
"type" : "list",
139139
"description" : "A comma-separated list of <field>:<direction> pairs"
140140
},
141-
"_source": {
142-
"type" : "list",
143-
"description" : "True or false to return the _source field or not, or a list of fields to return"
144-
},
145-
"_source_excludes": {
146-
"type" : "list",
147-
"description" : "A list of fields to exclude from the returned _source field"
148-
},
149-
"_source_includes": {
150-
"type" : "list",
151-
"description" : "A list of fields to extract and return from the _source field"
152-
},
153141
"terminate_after": {
154142
"type" : "number",
155143
"description" : "The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."

src/ApiGenerator/RestSpecification/Core/ml.validate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description":"Validates an anomaly detection job."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/ml.validate_detector.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description":"Validates an anomaly detection detector."
66
},
77
"stability":"stable",
8-
"visibility":"public",
8+
"visibility":"private",
99
"headers":{
1010
"accept": [ "application/json"],
1111
"content_type": ["application/json"]

src/ApiGenerator/RestSpecification/Core/transform.delete_transform.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,14 @@
3030
"type":"boolean",
3131
"required":false,
3232
"description":"When `true`, the transform is deleted regardless of its current state. The default value is `false`, meaning that the transform must be `stopped` before it can be deleted."
33+
},
34+
"timeout":{
35+
"type":"time",
36+
"required":false,
37+
"description":"Controls the time to wait for the transform deletion"
3338
}
3439
}
3540
}
3641
}
42+
43+

src/ApiGenerator/RestSpecification/Core/transform.preview_transform.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@
3434
}
3535
]
3636
},
37+
"params":{
38+
"timeout":{
39+
"type":"time",
40+
"required":false,
41+
"description":"Controls the time to wait for the preview"
42+
}
43+
},
3744
"body":{
3845
"description":"The definition for the transform to preview",
3946
"required":false

src/ApiGenerator/RestSpecification/Core/transform.put_transform.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
"type":"boolean",
3232
"required":false,
3333
"description":"If validations should be deferred until transform starts, defaults to false."
34+
},
35+
"timeout":{
36+
"type":"time",
37+
"required":false,
38+
"description":"Controls the time to wait for the transform to start"
3439
}
3540
},
3641
"body":{

src/ApiGenerator/RestSpecification/Core/transform.update_transform.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232
"type":"boolean",
3333
"required":false,
3434
"description":"If validations should be deferred until transform starts, defaults to false."
35+
},
36+
"timeout":{
37+
"type":"time",
38+
"required":false,
39+
"description":"Controls the time to wait for the update"
3540
}
3641
},
3742
"body":{

src/ApiGenerator/RestSpecification/Core/transform.upgrade_transforms.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
"type":"boolean",
2626
"required":false,
2727
"description":"Whether to only check for updates but don't execute"
28+
},
29+
"timeout":{
30+
"type":"time",
31+
"required":false,
32+
"description":"Controls the time to wait for the upgrade"
2833
}
2934
}
3035
}

src/ApiGenerator/RestSpecification/Core/update_by_query.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -148,18 +148,6 @@
148148
"type":"list",
149149
"description":"A comma-separated list of <field>:<direction> pairs"
150150
},
151-
"_source":{
152-
"type":"list",
153-
"description":"True or false to return the _source field or not, or a list of fields to return"
154-
},
155-
"_source_excludes":{
156-
"type":"list",
157-
"description":"A list of fields to exclude from the returned _source field"
158-
},
159-
"_source_includes":{
160-
"type":"list",
161-
"description":"A list of fields to extract and return from the _source field"
162-
},
163151
"terminate_after":{
164152
"type":"number",
165153
"description":"The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early."

src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.NoNamespace.cs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -531,27 +531,6 @@ public string[] Sort
531531
set => Q("sort", value);
532532
}
533533

534-
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
535-
public bool? SourceEnabled
536-
{
537-
get => Q<bool? >("_source");
538-
set => Q("_source", value);
539-
}
540-
541-
///<summary>A list of fields to exclude from the returned _source field</summary>
542-
public string[] SourceExcludes
543-
{
544-
get => Q<string[]>("_source_excludes");
545-
set => Q("_source_excludes", value);
546-
}
547-
548-
///<summary>A list of fields to extract and return from the _source field</summary>
549-
public string[] SourceIncludes
550-
{
551-
get => Q<string[]>("_source_includes");
552-
set => Q("_source_includes", value);
553-
}
554-
555534
///<summary>Specific 'tag' of the request for logging and statistical purposes</summary>
556535
public string[] Stats
557536
{
@@ -2450,27 +2429,6 @@ public string[] Sort
24502429
set => Q("sort", value);
24512430
}
24522431

2453-
///<summary>True or false to return the _source field or not, or a list of fields to return</summary>
2454-
public bool? SourceEnabled
2455-
{
2456-
get => Q<bool? >("_source");
2457-
set => Q("_source", value);
2458-
}
2459-
2460-
///<summary>A list of fields to exclude from the returned _source field</summary>
2461-
public string[] SourceExcludes
2462-
{
2463-
get => Q<string[]>("_source_excludes");
2464-
set => Q("_source_excludes", value);
2465-
}
2466-
2467-
///<summary>A list of fields to extract and return from the _source field</summary>
2468-
public string[] SourceIncludes
2469-
{
2470-
get => Q<string[]>("_source_includes");
2471-
set => Q("_source_includes", value);
2472-
}
2473-
24742432
///<summary>Specific 'tag' of the request for logging and statistical purposes</summary>
24752433
public string[] Stats
24762434
{

0 commit comments

Comments
 (0)