RevisionsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
delete(String fileId, String revisionId, {String? $fields})
→ Future<void>
-
Permanently deletes a file version.
-
get(String fileId, String revisionId, {bool? acknowledgeAbuse, String? $fields, DownloadOptions downloadOptions = commons.DownloadOptions.metadata})
→ Future<Object>
-
Gets a revision's metadata or content by ID.
-
list(String fileId, {int? pageSize, String? pageToken, String? $fields})
→ Future<RevisionList>
-
Lists a file's revisions.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Revision request, String fileId, String revisionId, {String? $fields})
→ Future<Revision>
-
Updates a revision with patch semantics.