Skip to content

Commit c3aad2e

Browse files
committed
[API] Update generated code 7.8
1 parent bb07e72 commit c3aad2e

File tree

142 files changed

+154
-161
lines changed

Some content is hidden

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

142 files changed

+154
-161
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/bulk.rb

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@ module Actions
3333
# @option arguments [List] :_source_excludes Default list of fields to exclude from the returned _source field, can be overridden on each sub-request
3434
# @option arguments [List] :_source_includes Default list of fields to extract and return from the _source field, can be overridden on each sub-request
3535
# @option arguments [String] :pipeline The pipeline id to preprocess incoming documents with
36-
# @option arguments [Boolean] :prefer_v2_templates favor V2 templates instead of V1 templates during automatic index creation
3736
# @option arguments [Hash] :headers Custom HTTP headers
3837
# @option arguments [Hash] :body The operation definition and data (action-data pairs), separated by newlines (*Required*)
3938
#
40-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/docs-bulk.html
39+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/docs-bulk.html
4140
#
4241
def bulk(arguments = {})
4342
raise ArgumentError, "Required argument 'body' missing" unless arguments[:body]
@@ -83,8 +82,7 @@ def bulk(arguments = {})
8382
:_source,
8483
:_source_excludes,
8584
:_source_includes,
86-
:pipeline,
87-
:prefer_v2_templates
85+
:pipeline
8886
].freeze)
8987
end
9088
end

elasticsearch-api/lib/elasticsearch/api/actions/cat/aliases.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333

3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-alias.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-alias.html
3737
#
3838
def aliases(arguments = {})
3939
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/allocation.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module Actions
3434
# @option arguments [Boolean] :v Verbose mode. Display column headers
3535
# @option arguments [Hash] :headers Custom HTTP headers
3636
#
37-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-allocation.html
37+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-allocation.html
3838
#
3939
def allocation(arguments = {})
4040
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/count.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ module Actions
2929
# @option arguments [Boolean] :v Verbose mode. Display column headers
3030
# @option arguments [Hash] :headers Custom HTTP headers
3131
#
32-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-count.html
32+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-count.html
3333
#
3434
def count(arguments = {})
3535
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/fielddata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ module Actions
3333
# @option arguments [List] :fields A comma-separated list of fields to return in the output
3434
# @option arguments [Hash] :headers Custom HTTP headers
3535
#
36-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-fielddata.html
36+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-fielddata.html
3737
#
3838
def fielddata(arguments = {})
3939
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/health.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module Actions
3232
# @option arguments [Boolean] :v Verbose mode. Display column headers
3333
# @option arguments [Hash] :headers Custom HTTP headers
3434
#
35-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-health.html
35+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-health.html
3636
#
3737
def health(arguments = {})
3838
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/help.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ module Actions
2525
# @option arguments [List] :s Comma-separated list of column names or column aliases to sort by
2626
# @option arguments [Hash] :headers Custom HTTP headers
2727
#
28-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat.html
28+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat.html
2929
#
3030
def help(arguments = {})
3131
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/indices.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ module Actions
4545

4646
# @option arguments [Hash] :headers Custom HTTP headers
4747
#
48-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-indices.html
48+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-indices.html
4949
#
5050
def indices(arguments = {})
5151
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/master.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Actions
3030
# @option arguments [Boolean] :v Verbose mode. Display column headers
3131
# @option arguments [Hash] :headers Custom HTTP headers
3232
#
33-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-master.html
33+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-master.html
3434
#
3535
def master(arguments = {})
3636
headers = arguments.delete(:headers) || {}

elasticsearch-api/lib/elasticsearch/api/actions/cat/nodeattrs.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Actions
3030
# @option arguments [Boolean] :v Verbose mode. Display column headers
3131
# @option arguments [Hash] :headers Custom HTTP headers
3232
#
33-
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/cat-nodeattrs.html
33+
# @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/cat-nodeattrs.html
3434
#
3535
def nodeattrs(arguments = {})
3636
headers = arguments.delete(:headers) || {}

0 commit comments

Comments
 (0)