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\u003eThis webpage details the \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class, which is used to request the creation of a new session in Google Cloud Spanner, with the latest beta version being 5.0.0-beta05.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and object management within the .NET environment.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors: a default one and another that takes an existing \u003ccode\u003eCreateSessionRequest\u003c/code\u003e object as a parameter for copying, alongside properties for setting the database and session for the request.\u003c/p\u003e\n"],["\u003cp\u003eThe current version being documented is version 3.8.0, with a number of previous versions provided, ranging from version 3.5.0 to 5.0.0-beta05, demonstrating the evolution of the functionality over time.\u003c/p\u003e\n"],["\u003cp\u003eThe class's key properties are \u003ccode\u003eDatabase\u003c/code\u003e, which is a string, and \u003ccode\u003eSession\u003c/code\u003e, which is of type \u003ccode\u003eSession\u003c/code\u003e, and are used to create a session in a specific database.\u003c/p\u003e\n"]]],[],null,[]]