All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.drive.Drive.Changes.html Maven / Gradle / Ivy

There is a newer version: v3-rev20241206-2.0.0
Show newest version






Drive.Changes (Google Drive API v3-rev20241027-2.0.0)












com.google.api.services.drive

Class Drive.Changes

  • Enclosing class:
    Drive


    public class Drive.Changes
    extends Object
    The "changes" collection of methods.
    • Constructor Detail

      • Changes

        public Changes()
    • Method Detail

      • 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(String pageToken)
                                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.
        Parameters:
        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.
        Returns:
        the request
        Throws:
        IOException
      • watch

        public Drive.Changes.Watch watch(String pageToken,
                                         Channel content)
                                  throws IOException
        Subscribes 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:
        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
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy