Drive API v2 (revision 1)



com.google.api.services.drive
Class Drive.Changes

java.lang.Object
  extended by com.google.api.services.drive.Drive.Changes
Enclosing class:
Drive

public class Drive.Changes
extends Object

The "changes" collection of methods.


Nested Class Summary
 class Drive.Changes.Get
           
 class Drive.Changes.List
           
 
Constructor Summary
Drive.Changes()
           
 
Method Summary
 Drive.Changes.Get get(String changeId)
          Gets a specific change.
 Drive.Changes.List list()
          Lists the changes for a user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Drive.Changes

public Drive.Changes()
Method Detail

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