Method: projects.locations.functions.abortFunctionUpgrade

Aborts generation upgrade process for a function with the given name from the specified project. Deletes all 2nd gen copy-related configuration and resources that were created during the upgrade process.

HTTP request

POST https://cloudfunctions.googleapis.com/v2beta/{name}:abortFunctionUpgrade

Path parameters

Parameters
name

string

Required. The name of the function for which upgrade should be aborted. It takes the form projects/{project}/locations/{location}/functions/{function}.

Authorization requires the following IAM permission on the specified resource name:

  • cloudfunctions.functions.generationUpgrade

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Operation.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.