Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1"
locationId
string
The canonical id for this location. For example: "us-east1".
displayName
string
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
labels
map (key: string, value: string)
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
metadata
object
Service-specific metadata. For example the available capacity at the given location.
An object containing fields of an arbitrary type. An additional field "@type" contains a URI identifying the type. Example: { "id": 1234, "@type": "types.example.com/standard/id" }.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[[["\u003cp\u003eThis document describes the "Location" resource within the Google Cloud ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eLocations are represented as JSON objects with fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003elocationId\u003c/code\u003e, \u003ccode\u003edisplayName\u003c/code\u003e, \u003ccode\u003elabels\u003c/code\u003e, and \u003ccode\u003emetadata\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e field provides the resource name for the location, which can vary between implementations, while the \u003ccode\u003elocationId\u003c/code\u003e provides the canonical ID.\u003c/p\u003e\n"],["\u003cp\u003eTwo primary methods are available for interacting with locations: \u003ccode\u003eget\u003c/code\u003e to retrieve information about a specific location, and \u003ccode\u003elist\u003c/code\u003e to retrieve all supported locations for a service.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations\n\n- [Resource: Location](#Location)\n - [JSON representation](#Location.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Location\n------------------\n\nA resource that represents a Google Cloud location."]]