public sealed class CreateSessionRequest : IMessage<CreateSessionRequest>, IEquatable<CreateSessionRequest>, IDeepCloneable<CreateSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class CreateSessionRequest.
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 \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class is part of the Google Cloud Spanner v1 API, serving as a request object for creating new sessions.\u003c/p\u003e\n"],["\u003cp\u003eThis class, found within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, is implemented in the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class while implementing multiple interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class contains a constructor, \u003ccode\u003eCreateSessionRequest()\u003c/code\u003e, and accepts a \u003ccode\u003eCreateSessionRequest\u003c/code\u003e object in its other constructor, \u003ccode\u003eCreateSessionRequest(CreateSessionRequest other)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two main properties, \u003ccode\u003eDatabase\u003c/code\u003e, which is a string that specifies the target database, and \u003ccode\u003eSession\u003c/code\u003e, which details the session to be created and is also a required property.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a list of versions that are documented, with \u003ccode\u003e5.0.0-beta05\u003c/code\u003e being the latest and \u003ccode\u003e3.5.0\u003c/code\u003e being the oldest, the current version at the top of the page is \u003ccode\u003e4.6.0\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]