AlloyDB V1 API - Class Google::Cloud::AlloyDB::V1::User (v0.9.1)

Reference documentation and code samples for the AlloyDB V1 API class Google::Cloud::AlloyDB::V1::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::V1::User::UserType
Returns

#user_type=

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