ParentsResource class

Constructors

ParentsResource(ApiRequester client)

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 parentId, {bool? enforceSingleParent, String? $fields}) Future<void>
Removes a parent from a file.
get(String fileId, String parentId, {String? $fields}) Future<ParentReference>
Gets a specific parent reference.
insert(ParentReference request, String fileId, {bool? enforceSingleParent, bool? supportsAllDrives, bool? supportsTeamDrives, String? $fields}) Future<ParentReference>
Adds a parent folder for a file.
list(String fileId, {String? $fields}) Future<ParentList>
Lists a file's parents.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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