- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
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 |
Required. The project and location from which the function should be listed, specified in the format Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
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 |
The value returned by the last |
filter |
The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160. |
orderBy |
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:
JSON representation |
---|
{
"functions": [
{
object ( |
Fields | |
---|---|
functions[] |
The functions that match the request. |
nextPageToken |
A token, which can be sent as |
unreachable[] |
Locations that could not be reached. The response does not include any functions from these locations. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.