Modifier and Type | Class and Description |
---|---|
class |
Drive.Changes.GetStartPageToken |
class |
Drive.Changes.List |
class |
Drive.Changes.Watch |
Constructor and Description |
---|
Changes() |
Modifier and Type | Method and Description |
---|---|
Drive.Changes.GetStartPageToken |
getStartPageToken()
Gets the starting pageToken for listing future changes.
|
Drive.Changes.List |
list(String pageToken)
Lists the changes for a user or shared drive.
|
Drive.Changes.Watch |
watch(String pageToken,
Channel content)
Subscribes to changes for a user.
|
public Drive.Changes.GetStartPageToken getStartPageToken() throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.IOException
public Drive.Changes.List list(String pageToken) throws 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.IOException
public Drive.Changes.Watch watch(String pageToken, Channel content) throws 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
IOException
Copyright © 2011–2024 Google. All rights reserved.