Creates an Apps Script project.
HTTP request
POST https://<GOOGLE_CLOUD_REGION>-integrations.googleapis.com/v1/{parent=projects/*/locations/*}/appsScriptProjects
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 |
---|
{ "appsScriptProject": string, "authConfigId": string } |
Fields | |
---|---|
appsScriptProject |
The name of the Apps Script project to be created. |
authConfigId |
The auth config id necessary to fetch the necessary credentials to create the project for external clients |
Response body
If successful, the response body contains data with the following structure:
Response for appsScriptProjects.create rpc call.
JSON representation |
---|
{ "projectId": string } |
Fields | |
---|---|
projectId |
The created AppsScriptProject ID. |
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.