Managed Service for SPQR API, gRPC: UserService.Get
Returns the specified SPQR User resource.
To get the list of available SPQR User resources, 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 SPQR cluster the user belongs to. |
|
user_name |
string Required field. Name of the SPQR User resource to return. |
User
{
"name": "string",
"cluster_id": "string",
"permissions": [
{
"database_name": "string"
}
],
"settings": {
"connection_limit": "google.protobuf.Int64Value",
"connection_retries": "google.protobuf.Int64Value"
},
"grants": [
"string"
]
}
A SPQR User resource. For more information, see the
Developer's Guide.
|
Field |
Description |
|
name |
string Name of the SPQR user. |
|
cluster_id |
string ID of the SPQR cluster the user belongs to. |
|
permissions[] |
Set of permissions granted to the user. |
|
settings |
SPQR Settings for this user |
|
grants[] |
string User grants |
Permission
|
Field |
Description |
|
database_name |
string Name of the database that the permission grants access to. |
UserSettings
|
Field |
Description |
|
connection_limit |
|
|
connection_retries |