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 document provides reference information for the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class within the Google Cloud Spanner v1 API, detailing its properties, methods, and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class is used to define how a session pool is divided, offering key properties like \u003ccode\u003eDatabaseName\u003c/code\u003e and \u003ccode\u003eDatabaseRole\u003c/code\u003e to specify session characteristics.\u003c/p\u003e\n"],["\u003cp\u003eThere are a total of 20 different versions for this section, ranging from version 3.5.0 to 5.0.0-beta05, with 5.0.0-beta05 being the most recent version listed.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSessionPoolSegmentKey\u003c/code\u003e class offers static methods, including \u003ccode\u003eCreate(DatabaseName)\u003c/code\u003e to instantiate it with a database name, and \u003ccode\u003eWithDatabaseRole(string)\u003c/code\u003e to create a modified instance with a specific database role.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements \u003ccode\u003eIEquatable<SessionPool.SessionPoolSegmentKey>\u003c/code\u003e, indicating it supports equality comparisons, and it overrides the \u003ccode\u003eGetHashCode()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e methods from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]