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-04-17 UTC."],[[["The `CreateSessionRequest` class is part of the Google Cloud Spanner v1 API, serving as a request object for creating new sessions."],["This class, found within the `Google.Cloud.Spanner.V1` namespace, is implemented in the `Google.Cloud.Spanner.V1.dll` assembly and inherits from the base `object` class while implementing multiple interfaces."],["The `CreateSessionRequest` class contains a constructor, `CreateSessionRequest()`, and accepts a `CreateSessionRequest` object in its other constructor, `CreateSessionRequest(CreateSessionRequest other)`."],["The class has two main properties, `Database`, which is a string that specifies the target database, and `Session`, which details the session to be created and is also a required property."],["The documentation provides a list of versions that are documented, with `5.0.0-beta05` being the latest and `3.5.0` being the oldest, the current version at the top of the page is `4.6.0`."]]],[]]