Returns a list of functions that belong to the requested project.
HTTP request
GET https://cloudfunctions.googleapis.com/v2alpha/{parent}/functions
Path parameters
Parameters
parent
string
Required. The project and location from which the function should be listed, specified in the format projects/*/locations/* If you want to list functions in all locations, use "-" in place of a location. When listing functions in all locations, if one or more location(s) are unreachable, the response will contain functions from all reachable locations along with the names of any unreachable locations. It takes the form projects/{project}/locations/{location}.
Authorization requires the following IAM permission on the specified resource parent:
cloudfunctions.functions.list
Query parameters
Parameters
pageSize
integer
Maximum number of functions to return per call. The largest allowed pageSize is 1,000, if the pageSize is omitted or specified as greater than 1,000 then it will be replaced as 1,000. The size of the list response can be less than specified when used with filters.
pageToken
string
The value returned by the last ListFunctionsResponse; indicates that this is a continuation of a prior functions.list call, and that the system should return the next page of data.
filter
string
The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160.
orderBy
string
The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting oder is ascending. See https://google.aip.dev/132#ordering.
Request body
The request body must be empty.
Response body
Response for the functions.list method.
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-16 UTC."],[[["\u003cp\u003eThis endpoint retrieves a list of functions within a specified project and location, supporting the listing of functions across all locations if desired.\u003c/p\u003e\n"],["\u003cp\u003eThe request uses the \u003ccode\u003eGET\u003c/code\u003e method with a URL structure that includes \u003ccode\u003eparent\u003c/code\u003e as a required path parameter in the format \u003ccode\u003eprojects/*/locations/*\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters such as \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003efilter\u003c/code\u003e, and \u003ccode\u003eorderBy\u003c/code\u003e can be used to paginate, filter, and sort the list of functions.\u003c/p\u003e\n"],["\u003cp\u003eThe response includes an array of \u003ccode\u003efunctions\u003c/code\u003e, a \u003ccode\u003enextPageToken\u003c/code\u003e for subsequent pages, and a list of \u003ccode\u003eunreachable\u003c/code\u003e locations, if any.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this operation requires the \u003ccode\u003ecloudfunctions.functions.list\u003c/code\u003e IAM permission on the specified \u003ccode\u003eparent\u003c/code\u003e resource and the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.functions.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListFunctionsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nReturns a list of functions that belong to the requested project.\n\n### HTTP request\n\n`GET https://cloudfunctions.googleapis.com/v2alpha/{parent}/functions`\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse for the `functions.list` method.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]