List
|
|||||
|
|
Lists the deployments 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
- View Google Apps Script deployments
Input
This building block consumes 3 input parameters
Name | Format | Description |
---|---|---|
scriptId Required |
STRING |
The script project's Drive ID |
pageToken |
STRING |
The token for continuing a previous list request on the next page. This
should be set to the value of |
pageSize |
INTEGER |
The maximum number of deployments on each returned page. Defaults to 50 |
= Parameter name
= Format
scriptId STRING Required The script project's Drive ID |
pageToken STRING The token for continuing a previous list request on the next page. This
should be set to the value of |
pageSize INTEGER The maximum number of deployments on each returned page. Defaults to 50 |
Output
This building block provides 14 output parameters
Name | Format | Description |
---|---|---|
deployments[] |
OBJECT |
Representation of a single script deployment |
deployments[].deploymentId |
STRING |
The deployment ID for this deployment |
deployments[].deploymentConfig |
OBJECT |
Metadata the defines how a deployment is configured |
deployments[].deploymentConfig.description |
STRING |
The description for this deployment |
deployments[].deploymentConfig.versionNumber |
INTEGER |
The version number on which this deployment is based |
deployments[].deploymentConfig.scriptId |
STRING |
The script project's Drive ID |
deployments[].deploymentConfig.manifestFileName |
STRING |
The manifest file name for this deployment |
deployments[].updateTime |
ANY |
Last modified date time stamp |
deployments[].entryPoints[] |
OBJECT |
A configuration that defines how a deployment is accessed externally |
deployments[].entryPoints[].webApp |
OBJECT |
A web application entry point |
deployments[].entryPoints[].executionApi |
OBJECT |
An API executable entry point |
deployments[].entryPoints[].entryPointType |
ENUMERATION |
The type of the entry point |
deployments[].entryPoints[].addOn |
OBJECT |
An add-on entry point |
nextPageToken |
STRING |
The token that can be used in the next call to get the next page of results |
= Parameter name
= Format
deployments[] OBJECT Representation of a single script deployment |
deployments[].deploymentId STRING The deployment ID for this deployment |
deployments[].deploymentConfig OBJECT Metadata the defines how a deployment is configured |
deployments[].deploymentConfig.description STRING The description for this deployment |
deployments[].deploymentConfig.versionNumber INTEGER The version number on which this deployment is based |
deployments[].deploymentConfig.scriptId STRING The script project's Drive ID |
deployments[].deploymentConfig.manifestFileName STRING The manifest file name for this deployment |
deployments[].updateTime ANY Last modified date time stamp |
deployments[].entryPoints[] OBJECT A configuration that defines how a deployment is accessed externally |
deployments[].entryPoints[].webApp OBJECT A web application entry point |
deployments[].entryPoints[].executionApi OBJECT An API executable entry point |
deployments[].entryPoints[].entryPointType ENUMERATION The type of the entry point |
deployments[].entryPoints[].addOn OBJECT An add-on entry point |
nextPageToken STRING The token that can be used in the next call to get the next page of results |