public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage
The request for [CreateSession][google.spanner.v1.Spanner.CreateSession].
[[["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\u003eThe latest version of the \u003ccode\u003eCreateSessionRequest\u003c/code\u003e documentation is 5.0.0-beta05, with the content showcasing a range of versions down to 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class is used to request the creation of a new session within Google Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces including \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\u003eCreateSessionRequest\u003c/code\u003e class has properties for specifying the \u003ccode\u003eDatabase\u003c/code\u003e, \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e, and \u003ccode\u003eSession\u003c/code\u003e when creating a new session.\u003c/p\u003e\n"],["\u003cp\u003eThe document also includes constructors for creating an empty \u003ccode\u003eCreateSessionRequest\u003c/code\u003e or one based on another \u003ccode\u003eCreateSessionRequest\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]