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"]],[["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 of the `CreateSessionRequest` class is `5.0.0-beta05`, with various previous versions also documented, ranging from `5.0.0-beta04` to `3.5.0`."],["The `CreateSessionRequest` class is part of the `Google.Cloud.Spanner.V1` namespace and is used for requesting the creation of a new session in the Google Cloud Spanner v1 API."],["This class inherits from `object` and implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class has properties, `Database` (a string representing the database name) and `Session`, which are both required for a request."],["The `CreateSessionRequest` class has two constructors: a default one and another one that takes another `CreateSessionRequest` object as a parameter."]]],[]]