[[["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-07-15 UTC."],[[["\u003cp\u003eUsers are defined by attributes such as \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003epassword\u003c/code\u003e, \u003ccode\u003edatabaseRoles\u003c/code\u003e, \u003ccode\u003euserType\u003c/code\u003e, and \u003ccode\u003ekeepExtraRoles\u003c/code\u003e, which specify their identity, authentication, roles, and whether to retain existing roles.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euserType\u003c/code\u003e can be one of three options: \u003ccode\u003eUSER_TYPE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eALLOYDB_BUILT_IN\u003c/code\u003e for password-based authentication, or \u003ccode\u003eALLOYDB_IAM_USER\u003c/code\u003e for IAM-based authentication.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods are available to manage users, including \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003epatch\u003c/code\u003e, allowing for the full lifecycle management of user objects.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field is an output only string containing the path to the user while the \u003ccode\u003epassword\u003c/code\u003e and \u003ccode\u003ekeepExtraRoles\u003c/code\u003e are input only strings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003edatabaseRoles\u003c/code\u003e and \u003ccode\u003euserType\u003c/code\u003e fields are optional strings with \u003ccode\u003edatabaseRoles\u003c/code\u003e describing the user's role and \u003ccode\u003euserType\u003c/code\u003e providing the authentication method.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.clusters.users\n\nResource: User\n--------------\n\nMessage describing User object.\n\nUserType\n--------\n\nEnum that details the user type."]]