# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword.

The username/password for a database user. Used for specifying initial
users at cluster creation time.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #password

    def password() -> ::String

**Returns**

- (::String) --- The initial password for the user.

### #password=

    def password=(value) -> ::String

**Parameter**

- **value** (::String) --- The initial password for the user.
**Returns**

- (::String) --- The initial password for the user.

### #password_set

    def password_set() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates if the initial_user.password field has been set.

### #user

    def user() -> ::String

**Returns**

- (::String) --- The database username.

### #user=

    def user=(value) -> ::String

**Parameter**

- **value** (::String) --- The database username.
**Returns**

- (::String) --- The database username.