Sha256: 3e1b70be5ca83d3f9c7d2dcfc1c2a7c047f9ca643956ab39f4eb8557a3976247
Contents?: true
Size: 622 Bytes
Versions: 12
Compression:
Stored size: 622 Bytes
Contents
module Elasticsearch module XPack module API module MachineLearning module Actions # @option arguments [Hash] :body The detector (*Required*) # def validate_detector(arguments={}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] method = Elasticsearch::API::HTTP_POST path = "_xpack/ml/anomaly_detectors/_validate/detector" params = {} body = arguments[:body] perform_request(method, path, params, body).body end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems