Revision class

A revision of a file.

Constructors

Revision()
Revision.fromJson(Map _json)

Properties

downloadUrl String
read / write
etag String
The ETag of the revision.
read / write
Links for exporting Google Docs to specific formats.
read / write
fileSize String
The size of the revision in bytes. This will only be populated on files with content stored in Drive.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
The ID of the revision.
read / write
kind String
This is always drive#revision.
read / write
lastModifyingUser User
The last user to modify this revision.
read / write
lastModifyingUserName String
Name of the last user to modify this revision.
read / write
md5Checksum String
An MD5 checksum for the content of this revision. This will only be populated on files with content stored in Drive.
read / write
mimeType String
The MIME type of the revision.
read / write
modifiedDate DateTime
Last time this revision was modified (formatted RFC 3339 timestamp).
read / write
originalFilename String
The original filename when this revision was created. This will only be populated on files with content stored in Drive.
read / write
pinned bool
Whether this revision is pinned to prevent automatic purging. This will only be populated and can only be modified on files with content stored in Drive which are not Google Docs. Revisions can also be pinned when they are created through the drive.files.insert/update/copy by using the pinned query parameter. Pinned revisions are stored indefinitely using additional storage quota, up to a maximum of 200 revisions.
read / write
publishAuto bool
Whether subsequent revisions will be automatically republished. This is only populated and can only be modified for Google Docs.
read / write
published bool
Whether this revision is published. This is only populated and can only be modified for Google Docs.
read / write
A link to the published revision.
read / write
publishedOutsideDomain bool
Whether this revision is published outside the domain. This is only populated and can only be modified for Google Docs.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
A link back to this revision.
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 ==(dynamic other) bool
The equality operator. [...]
inherited