AlloyDB v1 API - Class User (1.6.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
NameDescription
otherUser

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
TypeDescription
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
TypeDescription
string

Password

public string Password { get; set; }

Input only. Password for the user.

Property Value
TypeDescription
string

UserName

public UserName UserName { get; set; }

UserName-typed view over the Name resource name property.

Property Value
TypeDescription
UserName

UserType

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

Optional. Type of this user.

Property Value
TypeDescription
UserTypesUserType