Method: projects.locations.functions.update

Updates existing function.

HTTP request

PUT https://cloudfunctions.googleapis.com/v1beta2/{name}

Path parameters

Parameters
name

string

The name of the function to be updated. It takes the form projects/{project_id}/locations/{location_id}/functions/{function_id}.

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

  • cloudfunctions.functions.update

Request body

The request body contains an instance of CloudFunction.

Response body

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

Authorization

Requires the following OAuth scope:

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

For more information, see the Auth Guide.

Try it!

Send feedback about...

Cloud Functions