PermissionList Event
This event fires once for each permission returned when calling ListPermissions.
Syntax
public void firePermissionList(GoogledrivePermissionListEvent event); public class GoogledrivePermissionListEvent { public String id; public String ETag; public int role; public int permissionType; public String value; }
Remarks
When calling ListPermissions this event will fire once for each permission that is returned.
Id is the Id of the permission.
ETag is the ETag of the permission.
Role is the role of the permission. Possible values are:
0 | Read-only. |
1 | Read and write permissions. |
2 | Full ownership. |
PermissionType identifies the type of the permission. Possible values are:
0 | A single user. |
1 | A group. |
2 | A domain. |
3 | Anyone, authenticated or not. |
Value holds the identity corresponding to the PermissionType. This may be an email address for a single user or a group, or a domain.