The database role for the associated pool. May be null
in which case the default (public) database role is used if fine grained access control
is enabled; otherwise the database role is ignored.
[[["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 page provides reference information for the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class within the Google Cloud Spanner v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e is used to segment a session pool based on specific aspects, and it implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eDatabaseName\u003c/code\u003e and \u003ccode\u003eDatabaseRole\u003c/code\u003e which are used to define the database and role associated with a given session pool segment key.\u003c/p\u003e\n"],["\u003cp\u003eKey methods of the class are \u003ccode\u003eCreate(DatabaseName)\u003c/code\u003e which allows the creation of a \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e using a given database name, and \u003ccode\u003eWithDatabaseRole(string)\u003c/code\u003e to create one with a specific database role.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers various versions of the library, from 3.5.0 up to the latest beta version, showing the various release updates for the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]