Change class

Representation of a change to a file or shared drive.

Constructors

Change()
Change.fromJson(Map _json)

Properties

changeType String
The type of the change. Possible values are file and drive.
read / write
deleted bool
Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
read / write
drive Drive
The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.
read / write
driveId String
The ID of the shared drive associated with this change.
read / write
file File
The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
read / write
fileId String
The ID of the file associated with this change.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The ID of the change.
read / write
kind String
This is always drive#change.
read / write
modificationDate DateTime
The time of this modification.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
A link back to this change.
read / write
teamDrive TeamDrive
Deprecated - use drive instead.
read / write
teamDriveId String
Deprecated - use driveId instead.
read / write
type String
Deprecated - use changeType instead.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited