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(String fileId,
String revisionId)
Removes a revision.
|
Drive.Revisions.Get |
get(String fileId,
String revisionId)
Gets a specific revision.
|
Drive.Revisions.List |
list(String fileId)
Lists a file's revisions.
|
Drive.Revisions.Patch |
patch(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
Drive.Revisions.Update |
update(String fileId,
String revisionId,
Revision content)
Updates a revision.
|
public Drive.Revisions.Delete delete(String fileId, String revisionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.revisionId
- The ID of the revision.IOException
public Drive.Revisions.Get get(String fileId, String revisionId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.revisionId
- The ID of the revision.IOException
public Drive.Revisions.List list(String fileId) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.IOException
public Drive.Revisions.Patch patch(String fileId, String revisionId, Revision content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID for the file.revisionId
- The ID for the revision.content
- the Revision
IOException
public Drive.Revisions.Update update(String fileId, String revisionId, Revision content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID for the file.revisionId
- The ID for the revision.content
- the Revision
IOException