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 beta version available is 5.0.0-beta05 for the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e package.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.13.0 is documented as a specific version within the list of available versions, but is not the most recent.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateSessionRequest\u003c/code\u003e is a class used to request the creation of a session in Google Cloud Spanner, found within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains the properties \u003ccode\u003eDatabase\u003c/code\u003e, used to determine which database the new session is created in, \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e, which is a \u003ccode\u003eDatabaseName\u003c/code\u003e-typed view of the \u003ccode\u003eDatabase\u003c/code\u003e resource, and \u003ccode\u003eSession\u003c/code\u003e, which determines the session to be created.\u003c/p\u003e\n"]]],[],null,[]]