public sealed class GetSessionRequest : IMessage<GetSessionRequest>, IEquatable<GetSessionRequest>, IDeepCloneable<GetSessionRequest>, IBufferMessage, IMessage
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 used to request a session from the Google Cloud Spanner service and it is part of the `Google.Cloud.Spanner.V1` namespace."],["This class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` and inherits from `Object`."],["The `GetSessionRequest` class has two constructors: a default constructor and one that accepts another `GetSessionRequest` object as a parameter."],["It has two main properties `Name` (string) and `SessionName` (SessionName), where the `Name` property is required to specify the session to be retrieved, and the `SessionName` offers a typed view over the `Name` property."],["The latest version of `GetSessionRequest` is `5.0.0-beta05`, and older versions ranging back to `3.5.0` are also documented."]]],[]]