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 v2-rev20240521-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

      • 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