User(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Message describing User object.
Attributes | |
---|---|
Name | Description |
name |
str
Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}. |
password |
str
Input only. Password for the user. |
database_roles |
MutableSequence[str]
Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions. |
user_type |
google.cloud.alloydb_v1alpha.types.User.UserType
Optional. Type of this user. |
Classes
UserType
UserType(value)
Enum that details the user type.
Values: USER_TYPE_UNSPECIFIED (0): Unspecified user type. ALLOYDB_BUILT_IN (1): The default user type that authenticates via password-based authentication. ALLOYDB_IAM_USER (2): Database user that can authenticate via IAM-Based authentication.