The resource that owns the locations collection, if applicable.
Query parameters
Parameters
filter
string
A filter to narrow down results to a preferred subset. The filtering language accepts strings like "displayName=tokyo", and is documented in more detail in AIP-160.
pageSize
integer
The maximum number of results to return. If not set, the service selects a default.
pageToken
string
A page token received from the nextPageToken field in the response. Send that page token to receive the subsequent page.
extraLocationTypes[]
string
Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.
Request body
The request body must be empty.
Response body
The response message for Locations.ListLocations.
If successful, the response body contains data with the following structure:
[[["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-06-13 UTC."],[[["\u003cp\u003eThis service lists supported locations, offering various options like \u003ccode\u003eglobal\u003c/code\u003e, \u003ccode\u003eeurope-west3\u003c/code\u003e, \u003ccode\u003eus-central1\u003c/code\u003e, and more, as well as a link to a full list.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request URL utilizes gRPC Transcoding syntax, and it has one path parameter which is \u003ccode\u003ename\u003c/code\u003e, representing the resource owning the location collection.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters like \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e can be used to refine the search for specific location subsets, adjust the number of results, and handle pagination.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should be empty, and the response body will include a list of locations and an optional \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, both in a JSON format.\u003c/p\u003e\n"],["\u003cp\u003eAccess to this service requires one of two OAuth scopes: \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform.read-only\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]