projects
Creates a new function. If a function with the given name already exists in the specified project, the long running operation will return ALREADY_EXISTS error.
post/v2/{+parent}/functions
Path parameters
parentstring required
Required. The project and location in which the function should be created, specified in the format projects/*/locations/*
Query parameters
functionIdstring
The ID to use for the function, which will become the final component of the function's resource name. This value should be 4-63 characters, and valid characters are /a-z-/.
Request body
Response
Successful response