public sealed class GetSessionRequest : IMessage<GetSessionRequest>, IEquatable<GetSessionRequest>, IDeepCloneable<GetSessionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner v1 API class GetSessionRequest.
The request for [GetSession][google.spanner.v1.Spanner.GetSession].
[[["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 `GetSessionRequest` class is part of the Google Cloud Spanner v1 API, specifically in the `Google.Cloud.Spanner.V1` namespace within the `Google.Cloud.Spanner.V1.dll` assembly."],["This class is used to define the request for retrieving a session, as specified by the `GetSession` method, implementing several interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version available is `5.0.0-beta05`, with version `4.6.0` currently being the current version, and various other previous versions of this class being available as far back as version `3.5.0`."],["It inherits members from the `object` class and includes properties like `Name` (a string representing the session name) and `SessionName` (a `SessionName`-typed view over the resource name)."],["It offers two constructors, a default one and another allowing initialization from another `GetSessionRequest` object, useful for cloning."]]],[]]