lib/elasticsearch/api/actions/indices/get_data_stream.rb in elasticsearch-api-8.15.0 vs lib/elasticsearch/api/actions/indices/get_data_stream.rb in elasticsearch-api-8.16.0
- old
+ new
@@ -25,12 +25,14 @@
# Returns data streams.
#
# @option arguments [List] :name A comma-separated list of data streams to get; use `*` to get all data streams
# @option arguments [String] :expand_wildcards Whether wildcard expressions should get expanded to open or closed indices (default: open) (options: open, closed, hidden, none, all)
# @option arguments [Boolean] :include_defaults Return all relevant default configurations for the data stream (default: false)
+ # @option arguments [Time] :master_timeout Specify timeout for connection to master
+ # @option arguments [Boolean] :verbose Whether the maximum timestamp for each data stream should be calculated and returned (default: false)
# @option arguments [Hash] :headers Custom HTTP headers
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.15/data-streams.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.16/data-streams.html
#
def get_data_stream(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || 'indices.get_data_stream' }
defined_params = [:name].each_with_object({}) do |variable, set_variables|