Create

Creates a new immutable version using the current code, with a unique version number

5 variables
4 variables

Creates a new immutable version using the current code, with a unique version number

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 5 input parameters

  = Parameter name
  = Format

scriptId STRING Required

The script project's Drive ID

description STRING

The description for this version

versionNumber INTEGER

The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created

scriptId STRING

The script project's Drive ID

createTime ANY

When the version was created

Output

This building block provides 4 output parameters

  = Parameter name
  = Format

description STRING

The description for this version

versionNumber INTEGER

The incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created

scriptId STRING

The script project's Drive ID

createTime ANY

When the version was created