Skip to main content

versions

Overview

Nameversions
TypeResource
Idgoogleworkspace.script.versions

Fields

NameDatatypeDescription
descriptionstringThe description for this version.
createTimestringWhen the version was created.
scriptIdstringThe script project's Drive ID.
versionNumberintegerThe incremental ID that is created by Apps Script when a version is created. This is system assigned number and is immutable once created.

Methods

NameAccessible byRequired ParamsDescription
projects_versions_getSELECTscriptId, versionNumberGets a version of a script project.
projects_versions_listSELECTscriptIdList the versions of a script project.
projects_versions_createINSERTscriptIdCreates a new immutable version using the current code, with a unique version number.