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`, for message handling, equality checks, deep cloning, and buffer management."],["The class provides two constructors: a default constructor and one that accepts another `CreateSessionRequest` instance for copying."],["The `CreateSessionRequest` class includes properties such as `Database` (the database name) and `Session` (the session to be created), along with a `DatabaseAsDatabaseName` property for a typed view."],["The page shows a list of available versions of the `CreateSessionRequest`, ranging from 3.5.0 to the latest beta version 5.0.0-beta05, and version 4.5.0 is the current version being reviewed."]]],[]]