If you are creating a new function, see the Console Quickstart on Cloud Run. The content on this page only applies to existing legacy functions created with the Cloud Functions v2 API.
Lists information about the supported locations for this service.
HTTP request
GET https://cloudfunctions.googleapis.com/v2/{name}/locations
Path parameters
Parameters
name
string
The resource that owns the locations collection, if applicable. It takes the form projects/{project}.
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.
[[["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-02-08 UTC."],[[["This service endpoint uses a `GET` request to retrieve location information for a specified project."],["The `name` path parameter, in the format of `projects/{project}`, is required to specify the project."],["Optional query parameters such as `filter`, `pageSize`, and `pageToken` can be used to refine the search results."],["The request body must be empty for this API call, and a successful response will be structured as a `ListLocationsResponse`."],["Authorization for this service requires either the `https://www.googleapis.com/auth/cloudfunctions` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]