Class IndicesPrivilegesQuery

java.lang.Object
co.elastic.clients.elasticsearch.security.IndicesPrivilegesQuery
All Implemented Interfaces:
JsonpSerializable, TaggedUnion<IndicesPrivilegesQuery.Kind,Object>

@JsonpDeserializable public class IndicesPrivilegesQuery extends Object implements TaggedUnion<IndicesPrivilegesQuery.Kind,Object>, JsonpSerializable
While creating or updating a role you can provide either a JSON structure or a string to the API. However, the response provided by Elasticsearch will only be string with a json-as-text content.

Since this is embedded in IndicesPrivileges, the same structure is used for clarity in both contexts.

See Also: