lib/elasticsearch/api/actions/nodes/usage.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/nodes/usage.rb in elasticsearch-api-8.12.0

- old
+ new

@@ -27,10 +27,10 @@ # @option arguments [List] :node_id A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes # @option arguments [List] :metric Limit the information returned to the specified metrics (options: _all, rest_actions) # @option arguments [Time] :timeout Explicit operation timeout # @option arguments [Hash] :headers Custom HTTP headers # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/cluster-nodes-usage.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/cluster-nodes-usage.html # def usage(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || "nodes.usage" } defined_params = [:node_id, :metric].inject({}) do |set_variables, variable|