[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eUserPassword\u003c/code\u003e class within the Google Cloud AlloyDB v1beta API, used to manage database user credentials.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserPassword\u003c/code\u003e class is derived from the base \u003ccode\u003eobject\u003c/code\u003e class and implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors, a default one and another that accepts another \u003ccode\u003eUserPassword\u003c/code\u003e object to clone, allowing the creation of users.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUserPassword\u003c/code\u003e has two key properties, \u003ccode\u003ePassword\u003c/code\u003e and \u003ccode\u003eUser\u003c/code\u003e, both of which are string types, representing the user's password and username respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUserPassword\u003c/code\u003e class belongs to the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace, and is part of the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class UserPassword (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.UserPassword)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.UserPassword) \n\n public sealed class UserPassword : IMessage\u003cUserPassword\u003e, IEquatable\u003cUserPassword\u003e, IDeepCloneable\u003cUserPassword\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class UserPassword.\n\nThe username/password for a database user. Used for specifying initial\nusers at cluster creation time. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UserPassword \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UserPassword](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.UserPassword), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UserPassword](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.UserPassword), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UserPassword](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.UserPassword), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.AlloyDb.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### UserPassword()\n\n public UserPassword()\n\n### UserPassword(UserPassword)\n\n public UserPassword(UserPassword other)\n\nProperties\n----------\n\n### Password\n\n public string Password { get; set; }\n\nThe initial password for the user.\n\n### User\n\n public string User { get; set; }\n\nThe database username."]]