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-08-04 UTC."],[[["The `GetSessionRequest` class is part of the Google Cloud Spanner v1 API and is used to request a specific session."],["This documentation covers version 4.3.0 of the `GetSessionRequest` class, but there are multiple versions available, including beta versions such as 5.0.0-beta05 and 5.0.0-beta04, along with various stable releases."],["The `GetSessionRequest` class inherits from `object` and implements multiple interfaces, such as `IMessage`, `IEquatable\u003cGetSessionRequest\u003e`, `IDeepCloneable\u003cGetSessionRequest\u003e`, and `IBufferMessage`."],["It has two constructors, a default one `GetSessionRequest()` and another that accepts a `GetSessionRequest` object for copying `GetSessionRequest(GetSessionRequest)`."],["The `GetSessionRequest` class includes properties such as `Name`, which is a required string representing the session name, and `SessionName`, which provides a typed view of the `Name` property."]]],[]]