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
defpassword()->::String
Returns
(::String) — The initial password for the user.
#password=
defpassword=(value)->::String
Parameter
value (::String) — The initial password for the user.
Returns
(::String) — The initial password for the user.
#password_set
defpassword_set()->::Boolean
Returns
(::Boolean) — Output only. Indicates if the initial_user.password field has been set.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [1.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.3.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [1.2.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.2.2/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [1.1.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.1.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [1.0.1](/ruby/docs/reference/google-cloud-cloud_dms-v1/1.0.1/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.8.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.8.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.7.2](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.7.2/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.6.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.6.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.5.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.5.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.4.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.4.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.3.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.3.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.2.0](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.2.0/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword)\n- [0.1.5](/ruby/docs/reference/google-cloud-cloud_dms-v1/0.1.5/Google-Cloud-CloudDMS-V1-AlloyDbSettings-UserPassword) \nReference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::AlloyDbSettings::UserPassword.\n\nThe username/password for a database user. Used for specifying initial\nusers at cluster creation time. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #password\n\n def password() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The initial password for the user.\n\n### #password=\n\n def password=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The initial password for the user. \n**Returns**\n\n- (::String) --- The initial password for the user.\n\n### #password_set\n\n def password_set() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Output only. Indicates if the initial_user.password field has been set.\n\n### #user\n\n def user() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The database username.\n\n### #user=\n\n def user=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The database username. \n**Returns**\n\n- (::String) --- The database username."]]