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:
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteUserIndicesPrivileges>Json deserializer forRemoteUserIndicesPrivileges
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanRequired - Set totrueif using wildcard or regular expressions for patterns that cover restricted indices.clusters()Required - API name:clustersfinal List<FieldSecurity>The document fields that the owners of the role have read access to.names()Required - A list of indices (or index name patterns) to which the permissions in this entry apply.static RemoteUserIndicesPrivilegesRequired - The index level privileges that owners of the role have on the specified indices.final List<IndicesPrivilegesQuery>query()Search queries that define the documents the user has access to.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupRemoteUserIndicesPrivilegesDeserializer(ObjectDeserializer<RemoteUserIndicesPrivileges.Builder> op) toString()
- 
Field Details- 
_DESERIALIZERJson deserializer forRemoteUserIndicesPrivileges
 
- 
- 
Method Details- 
of
- 
fieldSecurityThe document fields that the owners of the role have read access to.API name: field_security
- 
namesRequired - A list of indices (or index name patterns) to which the permissions in this entry apply.API name: names
- 
privilegesRequired - The index level privileges that owners of the role have on the specified indices.API name: privileges
- 
querySearch 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
- 
allowRestrictedIndicespublic final boolean allowRestrictedIndices()Required - Set totrueif 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 thenameslist, Elasticsearch checks privileges against these indices regardless of the value set forallow_restricted_indices.API name: allow_restricted_indices
- 
clustersRequired - API name:clusters
- 
serializeSerialize this object to JSON.- Specified by:
- serializein interface- JsonpSerializable
 
- 
serializeInternal
- 
toString
- 
setupRemoteUserIndicesPrivilegesDeserializerprotected static void setupRemoteUserIndicesPrivilegesDeserializer(ObjectDeserializer<RemoteUserIndicesPrivileges.Builder> op) 
 
-