Returns a list of functions that belong to the requested project.
HTTP request
GET https://cloudfunctions.googleapis.com/v2/{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 API endpoint lists functions within a specified project and location, supporting a request format of \u003ccode\u003eGET https://cloudfunctions.googleapis.com/v2/{parent}/functions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eparent\u003c/code\u003e path parameter is required to specify the project and location in the format \u003ccode\u003eprojects/*/locations/*\u003c/code\u003e, and when listing all locations use \u003ccode\u003e-\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eQuery parameters such as \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003efilter\u003c/code\u003e, and \u003ccode\u003eorderBy\u003c/code\u003e allow for filtering, pagination, and ordering of the function list.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and the response includes a list of functions, a \u003ccode\u003enextPageToken\u003c/code\u003e for pagination, and an \u003ccode\u003eunreachable\u003c/code\u003e list for locations that could not be reached.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint requires \u003ccode\u003ecloudfunctions.functions.list\u003c/code\u003e IAM permission and uses the OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e for authorization.\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/v2/{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)."]]