[[["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\u003eLocation\u003c/code\u003e class represents a Google Cloud Platform location and is defined within the \u003ccode\u003eGoogle.Cloud.Location\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eLocation\u003c/code\u003e class is 2.3.0, with previous versions 2.2.0, 2.1.0, 2.0.0 and 1.0.0 also available.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties such as \u003ccode\u003eDisplayName\u003c/code\u003e, \u003ccode\u003eLabels\u003c/code\u003e, \u003ccode\u003eLocationId\u003c/code\u003e, \u003ccode\u003eMetadata\u003c/code\u003e, and \u003ccode\u003eName\u003c/code\u003e to provide information about a location, like its friendly name, cross-service attributes, and resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocation\u003c/code\u003e class is derived from the base \u003ccode\u003eobject\u003c/code\u003e class, and it implements the interfaces \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\u003eThere are two constructors available: a default constructor \u003ccode\u003eLocation()\u003c/code\u003e, and a copy constructor \u003ccode\u003eLocation(Location other)\u003c/code\u003e to copy an existing location object.\u003c/p\u003e\n"]]],[],null,["# Google.Cloud.Location - Class Location (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Location)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Location/2.2.0/Google.Cloud.Location.Location)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Location/2.1.0/Google.Cloud.Location.Location)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Location/2.0.0/Google.Cloud.Location.Location)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Location/1.0.0/Google.Cloud.Location.Location) \n\n public sealed class Location : IMessage\u003cLocation\u003e, IEquatable\u003cLocation\u003e, IDeepCloneable\u003cLocation\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google.Cloud.Location class Location.\n\nA resource that represents Google Cloud Platform location. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Location \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Location](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Location), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Location](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Location), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Location](/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Location), [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### Location()\n\n public Location()\n\n### Location(Location)\n\n public Location(Location other)\n\nProperties\n----------\n\n### DisplayName\n\n public string DisplayName { get; set; }\n\nThe friendly name for this location, typically a nearby city name.\nFor example, \"Tokyo\".\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nCross-service attributes for the location. For example \n\n {\"cloud.googleapis.com/region\": \"us-east1\"}\n\n### LocationId\n\n public string LocationId { get; set; }\n\nThe canonical id for this location. For example: `\"us-east1\"`.\n\n### Metadata\n\n public Any Metadata { get; set; }\n\nService-specific metadata. For example the available capacity at the given\nlocation.\n\n### Name\n\n public string Name { get; set; }\n\nResource name for the location, which may vary between implementations.\nFor example: `\"projects/example-project/locations/us-east1\"`"]]