lib/elasticsearch/xpack/api/actions/machine_learning/update_datafeed.rb in elasticsearch-xpack-7.8.1 vs lib/elasticsearch/xpack/api/actions/machine_learning/update_datafeed.rb in elasticsearch-xpack-7.9.0.pre

- old
+ new

@@ -26,14 +26,15 @@ # @option arguments [Boolean] :ignore_unavailable Ignore unavailable indexes (default: false) # @option arguments [Boolean] :allow_no_indices Ignore if the source indices expressions resolves to no concrete indices (default: true) # @option arguments [Boolean] :ignore_throttled Ignore indices that are marked as throttled (default: true) # @option arguments [String] :expand_wildcards Whether source index expressions should get expanded to open or closed indices (default: open) # (options: open,closed,hidden,none,all) + # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The datafeed update settings (*Required*) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.8/ml-update-datafeed.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/ml-update-datafeed.html # def update_datafeed(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] raise ArgumentError, "Required argument 'datafeed_id' missing" unless arguments[:datafeed_id] @@ -58,10 +59,10 @@ :ignore_unavailable, :allow_no_indices, :ignore_throttled, :expand_wildcards ].freeze) + end end - end end end end