Cloud Functions API (cloudfunctions:v2)

2025-12-09

1 new method

Additions

    Methods
  • cloudfunctions.projects.locations.functions.commitFunctionUpgradeAsGen2

      Parameters :

        name

          Pattern : ^projects/[^/]+/locations/[^/]+/functions/[^/]+$

          Type : string

          Description : Required. The name of the function for which upgrade should be committed to Gen2.

          Location : path

          Required : Yes

      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

      HTTP Method : POST

      Parameter Order : name

      Path : v2/{+name}:commitFunctionUpgradeAsGen2

      Flat Path : v2/projects/{projectsId}/locations/{locationsId}/functions/{functionsId}:commitFunctionUpgradeAsGen2