Skip to content

Commit b8b11eb

Browse files
committed
[API] Updates generated code
* features.reset_features adds master_timeout parameter APIs promoted to stable from experimental: * query_rule.delete * query_rule.get * query_rule.put * query_ruleset.delete * query_ruleset.get * query_ruleset.list * query_ruleset.put
1 parent c7fd3cf commit b8b11eb

File tree

8 files changed

+2
-29
lines changed

8 files changed

+2
-29
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/features/reset_features.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module Actions
2828
# to fix any issues, but experimental features are not subject to the
2929
# support SLA of official GA features.
3030
#
31+
# @option arguments [Time] :master_timeout Explicit operation timeout for connection to master node
3132
# @option arguments [Hash] :headers Custom HTTP headers
3233
#
3334
# @see https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html
@@ -42,7 +43,7 @@ def reset_features(arguments = {})
4243

4344
method = Elasticsearch::API::HTTP_POST
4445
path = '_features/_reset'
45-
params = {}
46+
params = Utils.process_params(arguments)
4647

4748
Elasticsearch::API::Response.new(
4849
perform_request(method, path, params, body, headers, request_opts)

elasticsearch-api/lib/elasticsearch/api/actions/query_rule/delete.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRule
2424
module Actions
2525
# Deletes an individual query rule within a ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the query ruleset this rule exists in
3228
# @option arguments [String] :rule_id The unique identifier of the rule to delete.

elasticsearch-api/lib/elasticsearch/api/actions/query_rule/get.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRule
2424
module Actions
2525
# Returns the details about an individual query rule within a ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the query ruleset the rule exists within
3228
# @option arguments [String] :rule_id The unique identifier of the rule to be retrieved.

elasticsearch-api/lib/elasticsearch/api/actions/query_rule/put.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRule
2424
module Actions
2525
# Creates or updates a query rule within a ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the ruleset this rule should be added to. The ruleset will be created if it does not exist.
3228
# @option arguments [String] :rule_id The unique identifier of the rule to be created or updated.

elasticsearch-api/lib/elasticsearch/api/actions/query_ruleset/delete.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRuleset
2424
module Actions
2525
# Deletes a query ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the query ruleset to delete
3228
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-api/lib/elasticsearch/api/actions/query_ruleset/get.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRuleset
2424
module Actions
2525
# Returns the details about a query ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the query ruleset
3228
# @option arguments [Hash] :headers Custom HTTP headers

elasticsearch-api/lib/elasticsearch/api/actions/query_ruleset/list.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRuleset
2424
module Actions
2525
# Lists query rulesets.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [Integer] :from Starting offset (default: 0)
3228
# @option arguments [Integer] :size specifies a max number of results to get (default: 100)

elasticsearch-api/lib/elasticsearch/api/actions/query_ruleset/put.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ module API
2323
module QueryRuleset
2424
module Actions
2525
# Creates or updates a query ruleset.
26-
# This functionality is Experimental and may be changed or removed
27-
# completely in a future release. Elastic will take a best effort approach
28-
# to fix any issues, but experimental features are not subject to the
29-
# support SLA of official GA features.
3026
#
3127
# @option arguments [String] :ruleset_id The unique identifier of the ruleset to be created or updated.
3228
# @option arguments [Hash] :headers Custom HTTP headers

0 commit comments

Comments
 (0)