[[["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\u003eThe User object in this API includes fields for \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, with \u003ccode\u003ename\u003c/code\u003e being output-only, \u003ccode\u003epassword\u003c/code\u003e and \u003ccode\u003ekeepExtraRoles\u003c/code\u003e being input-only, and the rest being optional.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003euserType\u003c/code\u003e field is an enum with three possible values: \u003ccode\u003eUSER_TYPE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eALLOYDB_BUILT_IN\u003c/code\u003e (for password-based authentication), and \u003ccode\u003eALLOYDB_IAM_USER\u003c/code\u003e (for IAM-based authentication).\u003c/p\u003e\n"],["\u003cp\u003eThe API provides methods to \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 (update) User objects, enabling full management of users within a project, location, and cluster.\u003c/p\u003e\n"],["\u003cp\u003eThe databaseRoles field defines the roles that the user has in the database, following the naming conventions of PostgreSQL.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ekeepExtraRoles\u003c/code\u003e allows keeping the granted roles of a pre-existing user, and the password field defines the password of the user.\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."]]