- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Updates existing function.
HTTP request
PATCH https://cloudfunctions.googleapis.com/v2/{function.name}
Path parameters
Parameters | |
---|---|
function.name |
A user-defined name of the function. Function names must be unique globally and match pattern |
Query parameters
Parameters | |
---|---|
updateMask |
The list of fields to be updated. If no field mask is provided, all provided fields in the request will be updated. This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Function
.
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.