Method: projects.locations.cloudFunctions.create

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

string

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

string

Indicates the id of the GCP project that the function will be created in.

functionName

string

The function name of CF to be created

functionRegion

string

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.