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 page documents the \u003ccode\u003eCreateSessionRequest\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace, which is part of the Google.Cloud.Spanner.V1.dll assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateSessionRequest\u003c/code\u003e is used to request the creation of a new session in Google Cloud Spanner and it inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides two constructors: a default constructor (\u003ccode\u003eCreateSessionRequest()\u003c/code\u003e) and a copy constructor (\u003ccode\u003eCreateSessionRequest(CreateSessionRequest other)\u003c/code\u003e) for creating new \u003ccode\u003eCreateSessionRequest\u003c/code\u003e objects.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eDatabase\u003c/code\u003e, a string representing the target database, \u003ccode\u003eDatabaseAsDatabaseName\u003c/code\u003e, for typed view, and \u003ccode\u003eSession\u003c/code\u003e, representing the session to create.\u003c/p\u003e\n"],["\u003cp\u003eThis page also lists all versions of the \u003ccode\u003eCreateSessionRequest\u003c/code\u003e from the latest \u003ccode\u003e5.0.0-beta05\u003c/code\u003e down to \u003ccode\u003e3.5.0\u003c/code\u003e, for reference and to compare changes across those versions.\u003c/p\u003e\n"]]],[],null,[]]