2025-12-09
▼ ▲ cloudfunctions.projects.locations.functions.commitFunctionUpgradeAsGen2
HTTP Method : POST
Flat Path : v2beta/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgradeAsGen2
Description : Commits a function upgrade from GCF Gen1 to GCF Gen2. This action deletes the Gen1 function, leaving the Gen2 function active and manageable by the GCFv2 API.
Scopes : https://www.googleapis.com/auth/cloud-platform
Parameter Order : name
Path : v2beta/{+name}:commitFunctionUpgradeAsGen2
Parameters :
name
Description : Required. The name of the function for which upgrade should be committed to Gen2.
Pattern : ^projects/[^/]+/locations/[^/]+/functions/[^/]+$
Type : string
Required : Yes
Location : path