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 |
---|
Revisions() |
Modifier and Type | Method and Description |
---|---|
Drive.Revisions.Delete |
delete(String fileId,
String revisionId)
Permanently deletes a file version.
|
Drive.Revisions.Get |
get(String fileId,
String revisionId)
Gets a revision's metadata or content by ID.
|
Drive.Revisions.List |
list(String fileId)
Lists a file's revisions.
|
Drive.Revisions.Update |
update(String fileId,
String revisionId,
Revision content)
Updates a revision with patch semantics.
|
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.Update update(String fileId, String revisionId, Revision content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.fileId
- The ID of the file.revisionId
- The ID of the revision.content
- the Revision
IOException
Copyright © 2011–2024 Google. All rights reserved.