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.Update |
Constructor and Description |
---|
Drive.Revisions() |
Modifier and Type | Method and Description |
---|---|
Drive.Revisions.Delete |
delete(java.lang.String fileId,
java.lang.String revisionId)
Permanently deletes a revision.
|
Drive.Revisions.Get |
get(java.lang.String fileId,
java.lang.String revisionId)
Gets a revision's metadata or content by ID.
|
Drive.Revisions.List |
list(java.lang.String fileId)
Lists a file's revisions.
|
Drive.Revisions.Update |
update(java.lang.String fileId,
java.lang.String revisionId,
Revision content)
Updates a revision with patch semantics.
|
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.IOException
public 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.IOException
public 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.IOException
public 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 of the file.revisionId
- The ID of the revision.content
- the Revision
java.io.IOException