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 covers the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class within the Google Cloud Spanner v1 API, focusing on version 4.3.0 and other versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e defines the aspects under which a session pool is segmented and it implements the \u003ccode\u003eIEquatable\u003c/code\u003e interface for comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties \u003ccode\u003eDatabaseName\u003c/code\u003e and \u003ccode\u003eDatabaseRole\u003c/code\u003e, which specify the database and database role, respectively, for which sessions are pooled.\u003c/p\u003e\n"],["\u003cp\u003eKey methods include \u003ccode\u003eCreate(DatabaseName)\u003c/code\u003e to create a new segment key with a database name, and \u003ccode\u003eWithDatabaseRole(string)\u003c/code\u003e to create a new segment key with a specific database role.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetHashCode()\u003c/code\u003e and \u003ccode\u003eToString()\u003c/code\u003e methods are overriden from \u003ccode\u003eObject\u003c/code\u003e class to provide implementations for the \u003ccode\u003eSessionPool.SessionPoolSegmentKey\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]