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 `CreateSessionRequest` class is part of the Google Cloud Spanner v1 API and is used to request the creation of a new session."],["This class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, providing functionalities for message handling, comparison, cloning, and buffered operations."],["The class contains two key properties: `Database`, a string representing the database name, and `Session`, representing the session to be created."],["The documentation lists multiple versions of the `CreateSessionRequest` class, ranging from 3.5.0 up to the latest beta version 5.0.0-beta05."],["There are two constructors available: a default one, and a copy constructor that takes an existing `CreateSessionRequest` object as a parameter."]]],[]]