PermissionsResource 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
-
create(Permission request, String fileId, {String? emailMessage, bool? enforceSingleParent, bool? moveToNewOwnersRoot, bool? sendNotificationEmail, bool? supportsAllDrives, bool? supportsTeamDrives, bool? transferOwnership, bool? useDomainAdminAccess, String? $fields})
→ Future<Permission>
-
Creates a permission for a file or shared drive.
-
delete(String fileId, String permissionId, {bool? supportsAllDrives, bool? supportsTeamDrives, bool? useDomainAdminAccess, String? $fields})
→ Future<void>
-
Deletes a permission.
-
get(String fileId, String permissionId, {bool? supportsAllDrives, bool? supportsTeamDrives, bool? useDomainAdminAccess, String? $fields})
→ Future<Permission>
-
Gets a permission by ID.
-
list(String fileId, {String? includePermissionsForView, int? pageSize, 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 nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
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 with patch semantics.