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 and is used to request a specific session.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers version 4.3.0 of the \u003ccode\u003eGetSessionRequest\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSessionRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GetSessionRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GetSessionRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, a default one \u003ccode\u003eGetSessionRequest()\u003c/code\u003e and another that accepts a \u003ccode\u003eGetSessionRequest\u003c/code\u003e object for copying \u003ccode\u003eGetSessionRequest(GetSessionRequest)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetSessionRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eName\u003c/code\u003e, which is a required string representing the session name, and \u003ccode\u003eSessionName\u003c/code\u003e, which provides a typed view of the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"]]],[],null,[]]