public class Drive.Changes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Drive.Changes.GetStartPageToken |
class |
Drive.Changes.List |
class |
Drive.Changes.Watch |
Constructor and Description |
---|
Drive.Changes() |
Modifier and Type | Method and Description |
---|---|
Drive.Changes.GetStartPageToken |
getStartPageToken()
Gets the starting pageToken for listing future changes.
|
Drive.Changes.List |
list(java.lang.String pageToken)
Lists changes for a user.
|
Drive.Changes.Watch |
watch(java.lang.String pageToken,
Channel content)
Subscribes to changes for a user.
|
public Drive.Changes.GetStartPageToken getStartPageToken() throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.java.io.IOException
public Drive.Changes.List list(java.lang.String pageToken) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.pageToken
- The token for continuing a previous list request on the next page. This should be set to the value
of 'nextPageToken' from the previous response or to the response from the
getStartPageToken method.java.io.IOException
public Drive.Changes.Watch watch(java.lang.String pageToken, Channel content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.pageToken
- The token for continuing a previous list request on the next page. This should be set to the value
of 'nextPageToken' from the previous response or to the response from the
getStartPageToken method.content
- the Channel
java.io.IOException