Resource: User
Message describing User object.
| JSON representation |
|---|
{
"name"
:
string
,
"password"
:
string
,
"databaseRoles"
:
[
string
]
,
"userType"
:
enum (
|
| Fields | |
|---|---|
name
|
Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. |
password
|
Input only. Password for the user. |
databaseRoles[]
|
Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions. |
userType
|
Optional. Type of this user. |
keepExtraRoles
|
Input only. If the user already exists and it has additional roles, keep them granted. |
UserType
Enum that details the user type.
| Enums | |
|---|---|
USER_TYPE_UNSPECIFIED
|
Unspecified user type. |
ALLOYDB_BUILT_IN
|
The default user type that authenticates via password-based authentication. |
ALLOYDB_IAM_USER
|
Database user that can authenticate via IAM-Based authentication. |
Methods |
|
|---|---|
|
Creates a new User in a given project, location, and cluster. |
|
Deletes a single User. |
|
Gets details of a single User. |
|
Lists Users in a given project and location. |
|
Updates the parameters of a single User. |

