PermissionsResourceApi class

Constructors

PermissionsResourceApi(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 permissionId, {bool supportsAllDrives, bool supportsTeamDrives, bool useDomainAdminAccess, String $fields}) Future
Deletes a permission from a file or shared drive. [...]
get(String fileId, String permissionId, {bool supportsAllDrives, bool supportsTeamDrives, bool useDomainAdminAccess, String $fields}) Future<Permission>
Gets a permission by ID. [...]
getIdForEmail(String email, {String $fields}) Future<PermissionId>
Returns the permission ID for an email address. [...]
insert(Permission request, String fileId, {String emailMessage, bool enforceSingleParent, bool moveToNewOwnersRoot, bool sendNotificationEmails, bool supportsAllDrives, bool supportsTeamDrives, bool useDomainAdminAccess, String $fields}) Future<Permission>
Inserts a permission for a file or shared drive. [...]
list(String fileId, {String includePermissionsForView, int maxResults, String pageToken, bool supportsAllDrives, bool supportsTeamDrives, bool useDomainAdminAccess, String $fields}) Future<PermissionList>
Lists a file's or shared drive's permissions. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Permission request, String fileId, String permissionId, {bool removeExpiration, bool supportsAllDrives, bool supportsTeamDrives, bool transferOwnership, bool useDomainAdminAccess, String $fields}) Future<Permission>
Updates a permission using patch semantics. [...]
toString() String
Returns a string representation of this object.
inherited
update(Permission request, String fileId, String permissionId, {bool removeExpiration, bool supportsAllDrives, bool supportsTeamDrives, bool transferOwnership, bool useDomainAdminAccess, String $fields}) Future<Permission>
Updates a permission. [...]

Operators

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