Drive API v2 (revision 1)
com.google.api.services.drive
Class Drive.Changes
java.lang.Object
com.google.api.services.drive.Drive.Changes
- Enclosing class:
- Drive
public class Drive.Changes
- extends Object
The "changes" collection of methods.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Drive.Changes
public Drive.Changes()
list
public Drive.Changes.List list()
throws IOException
- Lists the changes for a user.
Create a request for the method "changes.list".
This request holds the parameters needed by the the drive server. After setting any optional
parameters, call the
Drive.Changes.List.execute() method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException - if the initialization of the request fails
get
public Drive.Changes.Get get(String changeId)
throws IOException
- Gets a specific change.
Create a request for the method "changes.get".
This request holds the parameters needed by the the drive server. After setting any optional
parameters, call the
Drive.Changes.Get.execute() method to invoke the remote operation.
- Parameters:
changeId - The ID of the change.
- Returns:
- the request
- Throws:
IOException - if the initialization of the request fails