Managed Service for Elasticsearch API, gRPC: UserService.Get
Written by
Updated at November 26, 2024
Returns the specified Elasticsearch user.
To get the list of available Elasticsearch users, make a List request.
gRPC request
rpc Get (GetUserRequest) returns (User)
GetUserRequest
{
"cluster_id": "string",
"user_name": "string"
}
Field |
Description |
cluster_id |
string Required field. ID of the Elasticsearch cluster the user belongs to. To get the cluster ID, make a ClusterService.List request. |
user_name |
string Required field. Name of the Elasticsearch user to return. To get the name of the user, make a UserService.List request. |
User
{
"name": "string",
"cluster_id": "string"
}
An Elasticsearch user.
Field |
Description |
name |
string Name of the Elasticsearch user. |
cluster_id |
string ID of the Elasticsearch cluster the user belongs to. |