How do I differentiate whether the change triggered is a file upload/update/trash from the change object provided by google API? -


we using push notifications provided google drive api. change id pushed service google, , use api retrive change object. our requirement find change object whether file upload/update or trash. tried using created date, modified date , modification date find difference. modification date not providing time change happened , there difference of 2 seconds sometimes.. also, when folder shared multiple users, same change, modification date each user receive different of other , difference in seconds.

please suggest if there way distinguish between file upload/update/trash change object.

also, provide inputs on why modification date different each user, , different file modified date.

note: cannot use watch files per our requirement there lot of files in drive , can watch changes in entire drive.


Comments