public class Script.Projects.Versions extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Script.Projects.Versions.Create |
class |
Script.Projects.Versions.Get |
class |
Script.Projects.Versions.List |
| Constructor and Description |
|---|
Versions() |
| Modifier and Type | Method and Description |
|---|---|
Script.Projects.Versions.Create |
create(String scriptId,
Version content)
Creates a new immutable version using the current code, with a unique version number.
|
Script.Projects.Versions.Get |
get(String scriptId,
Integer versionNumber)
Gets a version of a script project.
|
Script.Projects.Versions.List |
list(String scriptId)
List the versions of a script project.
|
public Script.Projects.Versions.Create create(String scriptId, Version content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.content - the VersionIOExceptionpublic Script.Projects.Versions.Get get(String scriptId, Integer versionNumber) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.versionNumber - The version number.IOExceptionpublic Script.Projects.Versions.List list(String scriptId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.IOExceptionCopyright © 2011–2025 Google. All rights reserved.