AlloyDB V1ALPHA API - Class Google::Cloud::AlloyDB::V1alpha::User (v0.7.0)

Reference documentation and code samples for the AlloyDB V1ALPHA API class Google::Cloud::AlloyDB::V1alpha::User.

Message describing User object.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#database_roles

def database_roles() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

#database_roles=

def database_roles=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
Returns
  • (::Array<::String>) — Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.

#password

def password() -> ::String
Returns
  • (::String) — Input only. Password for the user.

#password=

def password=(value) -> ::String
Parameter
  • value (::String) — Input only. Password for the user.
Returns
  • (::String) — Input only. Password for the user.

#user_type

def user_type() -> ::Google::Cloud::AlloyDB::V1alpha::User::UserType
Returns

#user_type=

def user_type=(value) -> ::Google::Cloud::AlloyDB::V1alpha::User::UserType
Parameter
Returns