Required. The name of the database role. Values are of the form
projects/<project>/instances/<instance>/databases/<database>/databaseRoles/<role>
where <role> is as specified in the CREATE ROLE DDL statement.
[[["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-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDatabaseRole\u003c/code\u003e class within the Google Cloud Spanner Database Administration v1 API is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with numerous previous versions also available.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eDatabaseRole\u003c/code\u003e class, which is part of the \u003ccode\u003eGoogle.Cloud.Spanner.Admin.Database.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Spanner.Admin.Database.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabaseRole\u003c/code\u003e class represents a Cloud Spanner database role and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, while implementing several interfaces such as \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 \u003ccode\u003eDatabaseRole\u003c/code\u003e class includes two constructors, a default constructor \u003ccode\u003eDatabaseRole()\u003c/code\u003e and a copy constructor \u003ccode\u003eDatabaseRole(DatabaseRole other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDatabaseRole\u003c/code\u003e class features two key properties: \u003ccode\u003eDatabaseRoleName\u003c/code\u003e which is a typed view of the resource name, and \u003ccode\u003eName\u003c/code\u003e, which represents the database role's name in a specific format.\u003c/p\u003e\n"]]],[],null,[]]