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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version available is 5.0.0-beta05, while version 3.9.0 is the current context being viewed."],["`CreateSessionRequest` is a class used for requesting the creation of a new session in Google Cloud Spanner."],["The `CreateSessionRequest` class inherits from `Object` and implements several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The `CreateSessionRequest` class has properties such as `Database`, which is a required string field for specifying the target database, `DatabaseAsDatabaseName`, providing a typed view over the resource name, and `Session` that represents the session to be created."],["There are two constructors provided for `CreateSessionRequest`, one is a default constructor and the other accepts another `CreateSessionRequest` object as a parameter for creating a new session."]]],[]]