Create
|
|||||
|
|
Creates a new, empty script project with no script files and a base manifest file
Authorization
To use this building block you will have to grant access to at least one of the following scopes:
- Create and update Google Apps Script projects
Input
This building block consumes 2 input parameters
Name | Format | Description |
---|---|---|
title |
STRING |
The title for the project |
parentId |
STRING |
The Drive ID of a parent file that the created script project is bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form, or Google Slides file. If not set, a standalone script project is created |
= Parameter name
= Format
title STRING The title for the project |
parentId STRING The Drive ID of a parent file that the created script project is bound to. This is usually the ID of a Google Doc, Google Sheet, Google Form, or Google Slides file. If not set, a standalone script project is created |
Output
This building block provides 15 output parameters
Name | Format | Description |
---|---|---|
scriptId |
STRING |
The script project's Drive ID |
title |
STRING |
The title for the project |
lastModifyUser |
OBJECT |
A simple user profile resource |
lastModifyUser.email |
STRING |
The user's identifying email address |
lastModifyUser.name |
STRING |
The user's display name |
lastModifyUser.domain |
STRING |
The user's domain |
lastModifyUser.photoUrl |
STRING |
The user's photo |
parentId |
STRING |
The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created |
createTime |
ANY |
When the script was created |
updateTime |
ANY |
When the script was last updated |
creator |
OBJECT |
A simple user profile resource |
creator.email |
STRING |
The user's identifying email address |
creator.name |
STRING |
The user's display name |
creator.domain |
STRING |
The user's domain |
creator.photoUrl |
STRING |
The user's photo |
= Parameter name
= Format
scriptId STRING The script project's Drive ID |
title STRING The title for the project |
lastModifyUser OBJECT A simple user profile resource |
lastModifyUser.email STRING The user's identifying email address |
lastModifyUser.name STRING The user's display name |
lastModifyUser.domain STRING The user's domain |
lastModifyUser.photoUrl STRING The user's photo |
parentId STRING The parent's Drive ID that the script will be attached to. This is usually the ID of a Google Document or Google Sheet. This filed is optional, and if not set, a stand-alone script will be created |
createTime ANY When the script was created |
updateTime ANY When the script was last updated |
creator OBJECT A simple user profile resource |
creator.email STRING The user's identifying email address |
creator.name STRING The user's display name |
creator.domain STRING The user's domain |
creator.photoUrl STRING The user's photo |