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. The maximum string length in characters is 50. |
|
user_name |
string Required field. Name of the SPQR User resource to return. The maximum string length in characters is 63. Value must match the regular expression |
User
{
"name": "string",
"cluster_id": "string",
"permissions": [
{
"database_name": "string"
}
],
"settings": {
"connection_limit": "google.protobuf.Int64Value",
"connection_retries": "google.protobuf.Int64Value"
},
"grants": [
"string"
],
"deletion_protection": "google.protobuf.BoolValue"
}
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 The maximum string length in characters for each value is 63. Each value must match the regular expression |
|
deletion_protection |
Deletion Protection inhibits deletion of the user |
Permission
|
Field |
Description |
|
database_name |
string Name of the database that the permission grants access to. |
UserSettings
|
Field |
Description |
|
connection_limit |
|
|
connection_retries |