AlloyDB v1alpha API - Class User (1.0.0-alpha09)

public sealed class User : IMessage<User>, IEquatable<User>, IDeepCloneable<User>, IBufferMessage, IMessage

Reference documentation and code samples for the AlloyDB v1alpha API class User.

Message describing User object.

Inheritance

object > User

Namespace

Google.Cloud.AlloyDb.V1Alpha

Assembly

Google.Cloud.AlloyDb.V1Alpha.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

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