public sealed class User : IMessage<User>, IEquatable<User>, IDeepCloneable<User>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class User.
Message describing User object.
Namespace
Google.Cloud.AlloyDb.V1Assembly
Google.Cloud.AlloyDb.V1.dll
Constructors
User()
public User()
User(User)
public User(User other)
Parameter | |
---|---|
Name | Description |
other |
User |
Properties
DatabaseRoles
public RepeatedField<string> DatabaseRoles { get; }
Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
KeepExtraRoles
public bool KeepExtraRoles { get; set; }
Input only. If the user already exists and it has additional roles, keep them granted.
Property Value | |
---|---|
Type | Description |
bool |
Name
public string Name { get; set; }
Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
Property Value | |
---|---|
Type | Description |
string |
Password
public string Password { get; set; }
Input only. Password for the user.
Property Value | |
---|---|
Type | Description |
string |
UserName
public UserName UserName { get; set; }
Property Value | |
---|---|
Type | Description |
UserName |
UserType
public User.Types.UserType UserType { get; set; }
Optional. Type of this user.
Property Value | |
---|---|
Type | Description |
UserTypesUserType |