elasticsearch-api/lib/elasticsearch/api/actions/security/suggest_user_profiles.rb
def suggest_user_profiles(arguments = {})
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}

          body   = arguments.delete(:body)

          method = if body
                     Elasticsearch::API::HTTP_POST
                   else
                     Elasticsearch::API::HTTP_GET
                   end

          path   = "_security/profile/_suggest"
          params = Utils.process_params(arguments)

          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
# Get suggestions for user profiles that match specified search criteria.
# This functionality is Experimental and may be changed or removed
# completely in a future release. Elastic will take a best effort approach
# to fix any issues, but experimental features are not subject to the
# support SLA of official GA features.
#
# @option arguments [List] :data A comma-separated list of keys for which the corresponding application data are retrieved.
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The suggestion definition for user profiles
#
# @see https://www.elastic.co/guide/en/elasticsearch/reference/master/security-api-suggest-user-profile.html
#
Get suggestions for user profiles that match specified search criteria.
This functionality is Experimental and may be changed or removed
completely in a future release. Elastic will take a best effort approach
to fix any issues, but experimental features are not subject to the
support SLA of official GA features.
Get suggestions for user profiles that match specified search criteria . This functionality is Experimental and may be changed or removed completely in a future release . Elastic will take a best effort approach to fix any issues but experimental features are not subject to the support SLA of official GA features .
def suggest_user_profiles(arguments = {})
          arguments = arguments.clone
          headers = arguments.delete(:headers) || {}
          body   = arguments.delete(:body)
          method = if body
                     Elasticsearch::API::HTTP_POST
                   else
                     Elasticsearch::API::HTTP_GET
                   end
          path   = "_security/profile/_suggest"
          params = Utils.process_params(arguments)
          Elasticsearch::API::Response.new(
            perform_request(method, path, params, body, headers)
          )
        end
def suggest_user_profiles ( arguments = { } ) arguments = arguments . clone headers = arguments . delete ( :headers ) || { } body = arguments . delete ( :body ) method = if body Elasticsearch :: API :: HTTP_POST else Elasticsearch :: API :: HTTP_GET end path = "_security/profile/_suggest" params = Utils . process_params ( arguments ) Elasticsearch :: API :: Response . new ( perform_request ( method , path , params , body , headers ) ) end
Get suggestions for user profiles that match specified search criteria.
Get suggestions for user profiles that match specified search criteria .
arguments
:body The suggestion definition for user profiles
: body The suggestion definition for user profiles
see
None