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 is part of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, found within the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements \u003ccode\u003eIMessage<CreateSessionRequest>\u003c/code\u003e, \u003ccode\u003eIEquatable<CreateSessionRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CreateSessionRequest>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eDatabase\u003c/code\u003e (a string representing the database) and \u003ccode\u003eSession\u003c/code\u003e (a \u003ccode\u003eSession\u003c/code\u003e object representing the session to be created), both required for creating a session.\u003c/p\u003e\n"],["\u003cp\u003eThe page also provides access to the historical versions of the \u003ccode\u003eCreateSessionRequest\u003c/code\u003e documentation, starting from version 3.5.0 up to the newest beta version 5.0.0-beta05.\u003c/p\u003e\n"]]],[],null,[]]