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

create(Permission request, String fileId, { String emailMessage 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
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, { int pageSize, String pageToken bool supportsAllDrives, bool supportsTeamDrives, bool useDomainAdminAccess, String $fields }) → Future<PermissionList>
Lists a file's or shared drive's permissions. [...]
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. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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