Class RemoteUserIndicesPrivileges

java.lang.Object
co.elastic.clients.elasticsearch.security.RemoteUserIndicesPrivileges
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class RemoteUserIndicesPrivileges extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • fieldSecurity

      public final List<FieldSecurity> fieldSecurity()
      The document fields that the owners of the role have read access to.

      API name: field_security

    • names

      public final List<String> names()
      Required - A list of indices (or index name patterns) to which the permissions in this entry apply.

      API name: names

    • privileges

      public final List<String> privileges()
      Required - The index level privileges that owners of the role have on the specified indices.

      API name: privileges

    • query

      public final List<IndicesPrivilegesQuery> query()
      Search queries that define the documents the user has access to. A document within the specified indices must match these queries for it to be accessible by the owners of the role.

      API name: query

    • allowRestrictedIndices

      public final boolean allowRestrictedIndices()
      Required - Set to true if using wildcard or regular expressions for patterns that cover restricted indices. Implicitly, restricted indices have limited privileges that can cause pattern tests to fail. If restricted indices are explicitly included in the names list, Elasticsearch checks privileges against these indices regardless of the value set for allow_restricted_indices.

      API name: allow_restricted_indices

    • clusters

      public final List<String> clusters()
      Required - API name: clusters
    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupRemoteUserIndicesPrivilegesDeserializer

      protected static void setupRemoteUserIndicesPrivilegesDeserializer(ObjectDeserializer<RemoteUserIndicesPrivileges.Builder> op)