RevisionsResourceApi class

Constructors

RevisionsResourceApi(ApiRequester client)

Properties

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

delete(String fileId, String revisionId, {String $fields}) Future
Permanently deletes a file version. You can only delete revisions for files with binary content, like images or videos. Revisions for other files, like Google Docs or Sheets, and the last remaining file version can't be deleted. [...]
get(String fileId, String revisionId, {String $fields}) Future<Revision>
Gets a specific revision. [...]
list(String fileId, {int maxResults, String pageToken, String $fields}) Future<RevisionList>
Lists a file's revisions. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Revision request, String fileId, String revisionId, {String $fields}) Future<Revision>
Updates a revision. [...]
toString() String
Returns a string representation of this object.
inherited
update(Revision request, String fileId, String revisionId, {String $fields}) Future<Revision>
Updates a revision. [...]

Operators

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