Cloud Functions API (cloudfunctions:v2alpha)

2025-12-09

1 new method

Additions

    Methods
  • cloudfunctions.projects.locations.functions.commitFunctionUpgradeAsGen2

      Parameter Order : name

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

      Path : v2alpha/{+name}:commitFunctionUpgradeAsGen2

      HTTP Method : POST

      Parameters :

        name

          Type : string

          Required : Yes

          Location : path

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

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

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

      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.