DrivesResourceApi class


DrivesResourceApi(ApiRequester client)


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


create(Drive request, String requestId, {String $fields}) → Future<Drive>
Creates a new shared drive. [...]
delete(String driveId, {String $fields}) → Future
Permanently deletes a shared drive for which the user is an organizer. The shared drive cannot contain any untrashed items. [...]
get(String driveId, {bool useDomainAdminAccess, String $fields}) → Future<Drive>
Gets a shared drive's metadata by ID. [...]
hide(String driveId, {String $fields}) → Future<Drive>
Hides a shared drive from the default view. [...]
list({int pageSize, String pageToken, String q, bool useDomainAdminAccess, String $fields}) → Future<DriveList>
Lists the user's shared drives. [...]
unhide(String driveId, {String $fields}) → Future<Drive>
Restores a shared drive to the default view. [...]
update(Drive request, String driveId, {bool useDomainAdminAccess, String $fields}) → Future<Drive>
Updates the metadate for a shared drive. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


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