Change class

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
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 which has changed.
read / write
kind ↔ String
Identifies what kind of resource this is. Value: the fixed string "drive#change".
read / write
removed ↔ 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
teamDrive TeamDrive
Deprecated - use drive instead.
read / write
teamDriveId ↔ String
Deprecated - use driveId instead.
read / write
time ↔ DateTime
The time of this change (RFC 3339 date-time).
read / write
type ↔ String
Deprecated - use changeType instead.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited