# Cloud Functions API API

> Cloud Functions API API on Apizie: 20 endpoints (Lists information about the supported locations for this service. This method lists locations based on the…, Aborts generation upgrade process for a function with the given name from the specified project. Deletes all…, Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the…, Commits a function upgrade from GCF Gen1 to GCF Gen2. This action deletes the Gen1 function, leaving the…, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `analytics:googleapis-cloudfunctions`
- Category: Analytics
- Status: byok
- Source: https://cloud.google.com/functions
- Page: https://zieapi.vercel.app/api/analytics/googleapis-cloudfunctions
- OpenAPI: https://zieapi.vercel.app/api/analytics/googleapis-cloudfunctions/openapi.json

Manages lightweight user-provided functions executed in response to events.

## Endpoints

### Lists information about the supported locations for this service. This method lists locations based on the…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| extraLocationTypes | string | no | Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. |
| filter | string | no | A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is… |
| name | string | yes | The resource that owns the locations collection, if applicable. |
| pageSize | integer | no | The maximum number of results to return. If not set, the service selects a default. |
| pageToken | string | no | A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page. |

### Aborts generation upgrade process for a function with the given name from the specified project. Deletes all…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-abort-function-u` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which upgrade should be aborted. |
| body | object | yes | JSON request body |

### Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-commit-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which upgrade should be finalized. |
| body | object | yes | JSON request body |

### Commits a function upgrade from GCF Gen1 to GCF Gen2. This action deletes the Gen1 function, leaving the…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-commit-function-2` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which upgrade should be committed to Gen2. |
| body | object | yes | JSON request body |

### Returns a list of functions that belong to the requested project.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The filter for Functions that match the filter expression, following the syntax outlined in https://google.aip.dev/160. |
| orderBy | string | no | The sorting order of the resources returned. Value should be a comma separated list of fields. The default sorting order is ascending. See… |
| pageSize | integer | no | Maximum number of functions to return per call. The largest allowed page_size is 1,000, if the page_size is omitted or specified as… |
| pageToken | string | no | The value returned by the last `ListFunctionsResponse`; indicates that this is a continuation of a prior `ListFunctions` call, and that… |
| parent | string | yes | Required. The project and location from which the function should be listed, specified in the format `projects/*/locations/*` If you want… |

### Creates a new function. If a function with the given name already exists in the specified project, the long…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| functionId | string | no | The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63… |
| parent | string | yes | Required. The project and location in which the function should be created, specified in the format `projects/*/locations/*` |
| body | object | yes | JSON request body |

### Gets the latest state of a long-running operation. Clients can use this method to poll the operation result…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-operations-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | The name of the operation resource. |

### Updates existing function.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-patch` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | A user-defined name of the function. Function names must be unique globally and match pattern `projects/*/locations/*/functions/*` |
| updateMask | string | no | The list of fields to be updated. If no field mask is provided, all fields will be updated. |
| body | object | yes | JSON request body |

### Deletes a function with the given name from the specified project. If the given function is used by some…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function which should be deleted. |

### Detaches 2nd Gen function to Cloud Run function.
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-detach-function` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which should be detached. |
| body | object | yes | JSON request body |

### Returns a signed URL for downloading deployed function source code. The URL is only valid for a limited…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-generate-downloa` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of function for which source code Google Cloud Storage signed URL should be generated. |
| body | object | yes | JSON request body |

### Returns a signed URL for uploading a function source code. For more information about the signed URL usage…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-generate-upload` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. The project and location in which the Google Cloud Storage signed URL should be generated, specified in the format… |
| body | object | yes | JSON request body |

### Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-get-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| options.requestedPolicyVersion | integer | no | Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid… |
| resource | string | yes | REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |

### Changes the traffic target of a function from the original 1st Gen function to the 2nd Gen copy. This is the…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-redirect-functio` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which traffic target should be changed to 2nd Gen from 1st Gen. |
| body | object | yes | JSON request body |

### Reverts the traffic target of a function from the 2nd Gen copy to the original 1st Gen function. After this…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-rollback-functio` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function for which traffic target should be changed back to 1st Gen from 2nd Gen. |
| body | object | yes | JSON request body |

### Sets the access control policy on the specified resource. Replaces any existing policy. Can return…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-set-iam-policy` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names)… |
| body | object | yes | JSON request body |

### Creates a 2nd Gen copy of the function configuration based on the 1st Gen function with the given name. This…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-setup-function-u` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the function which should have configuration copied for upgrade. |
| body | object | yes | JSON request body |

### Returns permissions that a caller has on the specified resource. If the resource does not exist, this will…
`POST https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-functions-test-iam-permiss` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| resource | string | yes | REQUIRED: The resource for which the policy detail is being requested. See [Resource… |
| body | object | yes | JSON request body |

### Lists operations that match the specified filter in the request. If the server doesn't support this method,…
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-operations-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The standard list filter. |
| name | string | yes | The name of the operation's parent resource. |
| pageSize | integer | no | The standard list page size. |
| pageToken | string | no | The standard list page token. |
| returnPartialSuccess | boolean | no | When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the… |

### Returns a list of runtimes that are supported for the requested project.
`GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-runtimes-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| filter | string | no | The filter for Runtimes that match the filter expression, following the syntax outlined in https://google.aip.dev/160. |
| parent | string | yes | Required. The project and location from which the runtimes should be listed, specified in the format `projects/*/locations/*` |

## Example
```
curl "https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-list" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Cloud Functions API API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/analytics:googleapis-cloudfunctions/cloudfunctions-projects-locations-list with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Cloud Functions API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Cloud Functions API itself also needs your own key from googleapis.com.

### Can AI agents use the Cloud Functions API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key analytics:googleapis-cloudfunctions.

### What is the status of the Cloud Functions API API?
Needs your own provider key (bring your own key)
