![JAR search and dependency download from the Maven repository](/logo.png)
target.apidocs.com.google.api.services.drive.Drive.Changes.html Maven / Gradle / Ivy
Drive.Changes (Google Drive API v2-rev20240521-2.0.0)
com.google.api.services.drive
Class Drive.Changes
- java.lang.Object
-
- com.google.api.services.drive.Drive.Changes
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Drive.Changes.Get
class
Drive.Changes.GetStartPageToken
class
Drive.Changes.List
class
Drive.Changes.Watch
-
Constructor Summary
Constructors
Constructor and Description
Changes()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Drive.Changes.Get
get(String changeId)
Deprecated: Use `changes.getStartPageToken` and `changes.list` to retrieve recent changes.
Drive.Changes.GetStartPageToken
getStartPageToken()
Gets the starting pageToken for listing future changes.
Drive.Changes.List
list()
Lists the changes for a user or shared drive.
Drive.Changes.Watch
watch(Channel content)
Subscribe to changes for a user.
-
-
Method Detail
-
get
public Drive.Changes.Get get(String changeId)
throws IOException
Deprecated: Use `changes.getStartPageToken` and `changes.list` to retrieve recent changes.
Create a request for the method "changes.get".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
changeId
- The ID of the change.
- Returns:
- the request
- Throws:
IOException
-
getStartPageToken
public Drive.Changes.GetStartPageToken getStartPageToken()
throws IOException
Gets the starting pageToken for listing future changes.
Create a request for the method "changes.getStartPageToken".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException
-
list
public Drive.Changes.List list()
throws IOException
Lists the changes for a user or shared drive.
Create a request for the method "changes.list".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Returns:
- the request
- Throws:
IOException
-
watch
public Drive.Changes.Watch watch(Channel content)
throws IOException
Subscribe to changes for a user.
Create a request for the method "changes.watch".
This request holds the parameters needed by the drive server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
content
- the Channel
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy