ProjectsVersions
class ProjectsVersions extends Resource (View source)
The "versions" collection of methods.
Typical usage is:
$scriptService = new Google\Service\Script(...);
$versions = $scriptService->projects_versions;
Methods
get(string $scriptId, int $versionNumber, array $optParams = [])
Gets a version of a script project. (versions.get)
listProjectsVersions(string $scriptId, array $optParams = [])
List the versions of a script project. (versions.listProjectsVersions)
Details
Version
create(string $scriptId, Version $postBody, array $optParams = [])
Creates a new immutable version using the current code, with a unique version number. (versions.create)
Version
get(string $scriptId, int $versionNumber, array $optParams = [])
Gets a version of a script project. (versions.get)
ListVersionsResponse
listProjectsVersions(string $scriptId, array $optParams = [])
List the versions of a script project. (versions.listProjectsVersions)