on_change_list Event
Fires once for each change when ListChanges is called.
Syntax
class GoogleDriveChangeListEventParams(object): @property def resource_id() -> str: ... @property def shared_drive_id() -> str: ... @property def removed() -> bool: ... @property def time() -> str: ... @property def change_type() -> int: ... # In class GoogleDrive: @property def on_change_list() -> Callable[[GoogleDriveChangeListEventParams], None]: ... @on_change_list.setter def on_change_list(event_hook: Callable[[GoogleDriveChangeListEventParams], None]) -> None: ...
Remarks
This event fires once for each change returned when list_changes 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 list_changes for more information.