AlloyDB v1 API - Class User (1.9.0)

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.

Inheritance

object > User

Namespace

Google.Cloud.AlloyDb.V1

Assembly

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; }

UserName-typed view over the Name resource name property.

Property Value
Type Description
UserName

UserType

public User.Types.UserType UserType { get; set; }

Optional. Type of this user.

Property Value
Type Description
UserTypesUserType