IPWorks Cloud 2020 Java Edition

Questions / Feedback?

ChangeList Event

Fires once for each change when ListChanges is called.

Syntax

public class DefaultGoogledriveEventListener implements GoogledriveEventListener {
  ...
  public void changeList(GoogledriveChangeListEvent e) {}
  ...
}

public class GoogledriveChangeListEvent {
  public String resourceId;
  public String sharedDriveId;
  public boolean removed;
  public String time;
  public int changeType;
}

Remarks

This event fires once for each change returned when ListChanges is called.

ResourceId is the Id of the file or folder to which the change applies.

SharedDriveId is the Id of the shared drive associated with the change.

Removed indicates whether the file or shared drive has been removed from the view of the change list. For example, if a file was permanently deleted or access to it was revoked, this would return true (it would still return false if the file was simply in the trash).

Time is a DateTime string representing the time of the change. This is a combined date-time value (formatted according to RFC 3339).

ChangeType indicates whether this is a file (0) or a shared drive (1) change.

Refer to ListChanges for more information.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Java Edition - Version 20.0 [Build 8265]