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 page documents the `CreateSessionRequest` class within the `Google.Cloud.Spanner.V1` namespace, which is part of the Google.Cloud.Spanner.V1.dll assembly."],["`CreateSessionRequest` is used to request the creation of a new session in Google Cloud Spanner and it inherits from `Object` and implements multiple interfaces."],["The class provides two constructors: a default constructor (`CreateSessionRequest()`) and a copy constructor (`CreateSessionRequest(CreateSessionRequest other)`) for creating new `CreateSessionRequest` objects."],["Key properties of the class include `Database`, a string representing the target database, `DatabaseAsDatabaseName`, for typed view, and `Session`, representing the session to create."],["This page also lists all versions of the `CreateSessionRequest` from the latest `5.0.0-beta05` down to `3.5.0`, for reference and to compare changes across those versions."]]],[]]