Create
|
|||||
|
|
Creates a deployment of an Apps Script project
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 deployments
Input
This building block consumes 5 input parameters
Name | Format | Description |
---|---|---|
scriptId Required |
STRING |
The script project's Drive ID |
description |
STRING |
The description for this deployment |
versionNumber |
INTEGER |
The version number on which this deployment is based |
scriptId |
STRING |
The script project's Drive ID |
manifestFileName |
STRING |
The manifest file name for this deployment |
= Parameter name
= Format
scriptId STRING Required The script project's Drive ID |
description STRING The description for this deployment |
versionNumber INTEGER The version number on which this deployment is based |
scriptId STRING The script project's Drive ID |
manifestFileName STRING The manifest file name for this deployment |
Output
This building block provides 24 output parameters
Name | Format | Description |
---|---|---|
deploymentId |
STRING |
The deployment ID for this deployment |
deploymentConfig |
OBJECT |
Metadata the defines how a deployment is configured |
deploymentConfig.description |
STRING |
The description for this deployment |
deploymentConfig.versionNumber |
INTEGER |
The version number on which this deployment is based |
deploymentConfig.scriptId |
STRING |
The script project's Drive ID |
deploymentConfig.manifestFileName |
STRING |
The manifest file name for this deployment |
updateTime |
ANY |
Last modified date time stamp |
entryPoints[] |
OBJECT |
A configuration that defines how a deployment is accessed externally |
entryPoints[].webApp |
OBJECT |
A web application entry point |
entryPoints[].webApp.url |
STRING |
The URL for the web application |
entryPoints[].webApp.entryPointConfig |
OBJECT |
Web app entry point configuration |
entryPoints[].webApp.entryPointConfig.access |
ENUMERATION |
Who has permission to run the web app |
entryPoints[].webApp.entryPointConfig.executeAs |
ENUMERATION |
Who to execute the web app as |
entryPoints[].executionApi |
OBJECT |
An API executable entry point |
entryPoints[].executionApi.entryPointConfig |
OBJECT |
API executable entry point configuration |
entryPoints[].executionApi.entryPointConfig.access |
ENUMERATION |
Who has permission to run the API executable |
entryPoints[].entryPointType |
ENUMERATION |
The type of the entry point |
entryPoints[].addOn |
OBJECT |
An add-on entry point |
entryPoints[].addOn.title |
STRING |
The add-on's required title |
entryPoints[].addOn.reportIssueUrl |
STRING |
The add-on's optional report issue URL |
entryPoints[].addOn.postInstallTipUrl |
STRING |
The add-on's required post install tip URL |
entryPoints[].addOn.description |
STRING |
The add-on's optional description |
entryPoints[].addOn.addOnType |
ENUMERATION |
The add-on's required list of supported container types |
entryPoints[].addOn.helpUrl |
STRING |
The add-on's optional help URL |
= Parameter name
= Format
deploymentId STRING The deployment ID for this deployment |
deploymentConfig OBJECT Metadata the defines how a deployment is configured |
deploymentConfig.description STRING The description for this deployment |
deploymentConfig.versionNumber INTEGER The version number on which this deployment is based |
deploymentConfig.scriptId STRING The script project's Drive ID |
deploymentConfig.manifestFileName STRING The manifest file name for this deployment |
updateTime ANY Last modified date time stamp |
entryPoints[] OBJECT A configuration that defines how a deployment is accessed externally |
entryPoints[].webApp OBJECT A web application entry point |
entryPoints[].webApp.url STRING The URL for the web application |
entryPoints[].webApp.entryPointConfig OBJECT Web app entry point configuration |
entryPoints[].webApp.entryPointConfig.access ENUMERATION Who has permission to run the web app |
entryPoints[].webApp.entryPointConfig.executeAs ENUMERATION Who to execute the web app as |
entryPoints[].executionApi OBJECT An API executable entry point |
entryPoints[].executionApi.entryPointConfig OBJECT API executable entry point configuration |
entryPoints[].executionApi.entryPointConfig.access ENUMERATION Who has permission to run the API executable |
entryPoints[].entryPointType ENUMERATION The type of the entry point |
entryPoints[].addOn OBJECT An add-on entry point |
entryPoints[].addOn.title STRING The add-on's required title |
entryPoints[].addOn.reportIssueUrl STRING The add-on's optional report issue URL |
entryPoints[].addOn.postInstallTipUrl STRING The add-on's required post install tip URL |
entryPoints[].addOn.description STRING The add-on's optional description |
entryPoints[].addOn.addOnType ENUMERATION The add-on's required list of supported container types |
entryPoints[].addOn.helpUrl STRING The add-on's optional help URL |