Finalizes the upgrade after which function upgrade can not be rolled back. This is the last step of the multi step process to upgrade 1st Gen functions to 2nd Gen. Deletes all original 1st Gen related configuration and resources.
HTTP request
POST https://cloudfunctions.googleapis.com/v2beta/{name}:commitFunctionUpgrade
Path parameters
| Parameters | |
|---|---|
name |
Required. The name of the function for which upgrade should be finalized. It takes the form Authorization requires the following IAM permission on the specified resource
|
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.