DrivesResource class

Constructors

DrivesResource(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

create(Drive request, String requestId, {String? $fields}) Future<Drive>
Creates a shared drive.
delete(String driveId, {bool? allowItemDeletion, bool? useDomainAdminAccess, String? $fields}) Future<void>
Permanently deletes a shared drive for which the user is an organizer.
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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
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 metadata for a shared drive.

Operators

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