public class Script.Projects.Versions
extends java.lang.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(java.lang.String scriptId,
Version content)
Creates a new immutable version using the current code, with a unique version number.
|
Script.Projects.Versions.Get |
get(java.lang.String scriptId,
java.lang.Integer versionNumber)
Gets a version of a script project.
|
Script.Projects.Versions.List |
list(java.lang.String scriptId)
List the versions of a script project.
|
public Script.Projects.Versions.Create create(java.lang.String scriptId, Version content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.content - the Versionjava.io.IOExceptionpublic Script.Projects.Versions.Get get(java.lang.String scriptId, java.lang.Integer versionNumber) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.versionNumber - The version number.java.io.IOExceptionpublic Script.Projects.Versions.List list(java.lang.String scriptId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.scriptId - The script project's Drive ID.java.io.IOException