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-04-17 UTC."],[[["The `CreateSessionRequest` class is used to request the creation of a new session in Google Cloud Spanner."],["This class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, equality checks, deep cloning, and buffer message management."],["The `CreateSessionRequest` class contains two constructors, one default and one that takes another `CreateSessionRequest` as an argument for copying."],["Key properties include `Database` (a string representing the target database) and `Session` (the session object to be created), along with `DatabaseAsDatabaseName`, which is a typed view of the `Database`."],["The document also lists the availible versions for this component from 3.5.0 up to the latest beta version 5.0.0-beta05."]]],[]]