Class Google_Service_Script_ProjectsVersions_Resource
The "versions" collection of methods. Typical usage is:
$scriptService = new Google_Service_Script(...);
$versions = $scriptService->versions;
-
Google_Service_Resource
-
Google_Service_Script_ProjectsVersions_Resource
Located at Script.php
Methods summary
public
Google_Service_Script_Version
|
#
create( string $scriptId, Google_Service_Script_Version $postBody, array $optParams = array() )
Creates a new immutable version using the current code, with a unique version
number. (versions.create)
Creates a new immutable version using the current code, with a unique version
number. (versions.create)
Parameters
- $scriptId
- The script project's Drive ID.
- $postBody
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Script_Version
|
#
get( string $scriptId, integer $versionNumber, array $optParams = array() )
Gets a version of a script project. (versions.get)
Gets a version of a script project. (versions.get)
Parameters
- $scriptId
- The script project's Drive ID.
- $versionNumber
- The version number.
- $optParams
- Optional parameters.
Returns
|
public
Google_Service_Script_ListVersionsResponse
|
#
listProjectsVersions( string $scriptId, array $optParams = array() )
List the versions of a script project. (versions.listProjectsVersions)
List the versions of a script project. (versions.listProjectsVersions)
Parameters
- $scriptId
- The script project's Drive ID.
- $optParams
- Optional parameters.
Returns
Opt_param
string pageToken The token for continuing a previous list request on the next
page. This should be set to the value of nextPageToken from a
previous response.
int pageSize The maximum number of versions on each returned page. Defaults to
50.
|