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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGetSessionRequest\u003c/code\u003e class is used to request a session from the Google Cloud Spanner service and it is part of the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e and inherits from \u003ccode\u003eObject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSessionRequest\u003c/code\u003e class has two constructors: a default constructor and one that accepts another \u003ccode\u003eGetSessionRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt has two main properties \u003ccode\u003eName\u003c/code\u003e (string) and \u003ccode\u003eSessionName\u003c/code\u003e (SessionName), where the \u003ccode\u003eName\u003c/code\u003e property is required to specify the session to be retrieved, and the \u003ccode\u003eSessionName\u003c/code\u003e offers a typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eGetSessionRequest\u003c/code\u003e is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, and older versions ranging back to \u003ccode\u003e3.5.0\u003c/code\u003e are also documented.\u003c/p\u003e\n"]]],[],null,[]]