Creates an cloud function project.
HTTP request
POST https://<GOOGLE_CLOUD_REGION>-integrations.googleapis.com/v1/{parent=projects/*/locations/*}/cloudFunctions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The project that the executed integration belongs to. |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "projectId": string, "functionName": string, "functionRegion": string } |
Fields | |
---|---|
projectId |
Indicates the id of the GCP project that the function will be created in. |
functionName |
The function name of CF to be created |
functionRegion |
The function region of CF to be created |
Response body
If successful, the response body contains a newly created instance of CreateCloudFunctionResponse
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.