public sealed class GetLocationRequest : IMessage<GetLocationRequest>, IEquatable<GetLocationRequest>, IDeepCloneable<GetLocationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google.Cloud.Location class GetLocationRequest.
The request message for [Locations.GetLocation][google.cloud.location.Locations.GetLocation].
[[["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\u003eGetLocationRequest\u003c/code\u003e class is a request message for \u003ccode\u003eLocations.GetLocation\u003c/code\u003e within the \u003ccode\u003eGoogle.Cloud.Location\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class has been implemented to inherit from \u003ccode\u003eobject\u003c/code\u003e while also utilizing the \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetLocationRequest\u003c/code\u003e class offers a default constructor as well as an overloaded constructor that takes another \u003ccode\u003eGetLocationRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains a \u003ccode\u003eName\u003c/code\u003e property of type \u003ccode\u003estring\u003c/code\u003e which represents the resource name for the location.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eGetLocationRequest\u003c/code\u003e class, with version 2.3.0 being the latest.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Location - Class GetLocationRequest (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.GetLocationRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Location/2.2.0/Google.Cloud.Location.GetLocationRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Location/2.1.0/Google.Cloud.Location.GetLocationRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Location/2.0.0/Google.Cloud.Location.GetLocationRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Location/1.0.0/Google.Cloud.Location.GetLocationRequest) \n\n public sealed class GetLocationRequest : IMessage\u003cGetLocationRequest\u003e, IEquatable\u003cGetLocationRequest\u003e, IDeepCloneable\u003cGetLocationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google.Cloud.Location class GetLocationRequest.\n\nThe request message for \\[Locations.GetLocation\\]\\[google.cloud.location.Locations.GetLocation\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetLocationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetLocationRequest](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.GetLocationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetLocationRequest](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.GetLocationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetLocationRequest](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.GetLocationRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Location](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location)\n\nAssembly\n--------\n\nGoogle.Cloud.Location.dll\n\nConstructors\n------------\n\n### GetLocationRequest()\n\n public GetLocationRequest()\n\n### GetLocationRequest(GetLocationRequest)\n\n public GetLocationRequest(GetLocationRequest other)\n\nProperties\n----------\n\n### Name\n\n public string Name { get; set; }\n\nResource name for the location."]]