public class Drive.Revisions
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Drive.Revisions.Delete |
class |
Drive.Revisions.Get |
class |
Drive.Revisions.List |
class |
Drive.Revisions.Patch |
class |
Drive.Revisions.Update |
| Constructor and Description |
|---|
Drive.Revisions() |
| Modifier and Type | Method and Description |
|---|---|
Drive.Revisions.Delete |
delete(java.lang.String fileId,
java.lang.String revisionId)
Removes a revision.
|
Drive.Revisions.Get |
get(java.lang.String fileId,
java.lang.String revisionId)
Gets a specific revision.
|
Drive.Revisions.List |
list(java.lang.String fileId)
Lists a file's revisions.
|
Drive.Revisions.Patch |
patch(java.lang.String fileId,
java.lang.String revisionId,
Revision content)
Updates a revision.
|
Drive.Revisions.Update |
update(java.lang.String fileId,
java.lang.String revisionId,
Revision content)
Updates a revision.
|
public Drive.Revisions.Delete delete(java.lang.String fileId, java.lang.String revisionId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.revisionId - The ID of the revision.java.io.IOExceptionpublic Drive.Revisions.Get get(java.lang.String fileId, java.lang.String revisionId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.revisionId - The ID of the revision.java.io.IOExceptionpublic Drive.Revisions.List list(java.lang.String fileId) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID of the file.java.io.IOExceptionpublic Drive.Revisions.Patch patch(java.lang.String fileId, java.lang.String revisionId, Revision content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID for the file.revisionId - The ID for the revision.content - the Revisionjava.io.IOExceptionpublic Drive.Revisions.Update update(java.lang.String fileId, java.lang.String revisionId, Revision content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.fileId - The ID for the file.revisionId - The ID for the revision.content - the Revisionjava.io.IOException