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"]],[["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 part of the Google Cloud Spanner v1 API, specifically in the \u003ccode\u003eGoogle.Cloud.Spanner.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Spanner.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to define the request for retrieving a session, as specified by the \u003ccode\u003eGetSession\u003c/code\u003e method, implementing several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, with version \u003ccode\u003e4.6.0\u003c/code\u003e currently being the current version, and various other previous versions of this class being available as far back as version \u003ccode\u003e3.5.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits members from the \u003ccode\u003eobject\u003c/code\u003e class and includes properties like \u003ccode\u003eName\u003c/code\u003e (a string representing the session name) and \u003ccode\u003eSessionName\u003c/code\u003e (a \u003ccode\u003eSessionName\u003c/code\u003e-typed view over the resource name).\u003c/p\u003e\n"],["\u003cp\u003eIt offers two constructors, a default one and another allowing initialization from another \u003ccode\u003eGetSessionRequest\u003c/code\u003e object, useful for cloning.\u003c/p\u003e\n"]]],[],null,[]]