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-rev20240903-2.0.0
Show newest version






Drive.Changes (Drive API v2-rev20180830-1.26.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

      • 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 Team 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–2018 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy