Class HasPrivilegesUserProfileRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.HasPrivilegesUserProfileRequest
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class HasPrivilegesUserProfileRequest
extends RequestBase
implements JsonpSerializable
Check user profile privileges.
Determine whether the users associated with the specified user profile IDs have all the requested privileges.
NOTE: The user profile feature is designed only for use by Kibana and Elastic's Observability, Enterprise Search, and Elastic Security solutions. Individual users and external applications should not call this API directly. Elastic reserves the right to change or remove this feature in future releases without prior notice.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<HasPrivilegesUserProfileRequest>
Json deserializer forHasPrivilegesUserProfileRequest
static final Endpoint<HasPrivilegesUserProfileRequest,
HasPrivilegesUserProfileResponse, ErrorResponse> Endpoint "security.has_privileges_user_profile
". -
Method Summary
Modifier and TypeMethodDescriptionof
(Function<HasPrivilegesUserProfileRequest.Builder, ObjectBuilder<HasPrivilegesUserProfileRequest>> fn) final PrivilegesCheck
Required - An object containing all the privileges to be checked.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupHasPrivilegesUserProfileRequestDeserializer
(ObjectDeserializer<HasPrivilegesUserProfileRequest.Builder> op) uids()
Required - A list of profile IDs.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forHasPrivilegesUserProfileRequest
-
_ENDPOINT
public static final Endpoint<HasPrivilegesUserProfileRequest,HasPrivilegesUserProfileResponse, _ENDPOINTErrorResponse> Endpoint "security.has_privileges_user_profile
".
-
-
Method Details
-
of
-
privileges
Required - An object containing all the privileges to be checked.API name:
privileges
-
uids
Required - A list of profile IDs. The privileges are checked for associated users of the profiles.API name:
uids
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupHasPrivilegesUserProfileRequestDeserializer
protected static void setupHasPrivilegesUserProfileRequestDeserializer(ObjectDeserializer<HasPrivilegesUserProfileRequest.Builder> op)
-