Cloud Storage Integrator - Online Help
Cloud Storage Integrator
Questions / Feedback?

ListChanges Method

Lists changes for a user.

Syntax

googledrive.listChanges(startChangeId, [callback])

Callback

The 'callback' parameter specifies a function which will be called when the operation completes (or an error is encountered). If the 'callback' parameter is not specified, then the method will block and will not return until the operation completes (or an error is encountered).

The callback for this method is defined as:

function(err){ }

'err' is the error that occurred. If there was no error, then 'err' is 'null'.

'err' has 2 properties which hold detailed information:

err.code
err.message

Remarks

This method lists changes to files that are available to a user. This can be used to check if any new changes are reported while working with a file. This allows you to be sure you are working with the most up to date version of a file.

The StartChangeId parameter is optional. If set to empty string all changes will be returned. StartChangeId may be set to a valid ChangeId value. When set only changes after the specified change Id will be returned.

Calling this method will fire the ChangeList event once for each change, and also will populate the Change* properties.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 1.0.6240.0