GDrivePermission Type
A file, folder, or shared drive permission.
Remarks
This type represents a file, folder, or shared drive permission.
Fields
AllowFileDiscovery Boolean |
Whether the permission allows the file or folder to be discovered through search. This field indicates whether the permission allows the file or folder to which it applies to be discovered through search. This field is only applicable if the permission's Type is set to 2 (ptDomain) or 3 (ptAnyone). | |||||||||||||||
Domain String |
The domain to which the permission applies. This field is used to define the domain to which the permission applies when Type is set to 2 (ptDomain). | |||||||||||||||
Email String |
The user or group to which the permission applies. This field is used to define the user or group to which the permission applies when Type is set to 0 (ptUser) or 1 (ptGroup). | |||||||||||||||
Id String |
The Id of the permission. This field holds the Id of the permission. | |||||||||||||||
ModOp GDrivePermissionModOps |
The operation to perform on the permission. This field is used to specify the operation that the component should perform on the permission when UpdatePermissions is called. Valid values are:
Refer to UpdatePermissions for more information. | |||||||||||||||
Role GDrivePermissionRoles |
The role specified by the permission. This field defines the role specified by the permission. Possible values are:
| |||||||||||||||
Type GDrivePermissionTypes |
The set of users to which the permission applies. This field defines the set of users to which the permission role defined in Role applies. The Email and Domain fields are used to define the user, group, or domain to which the permission applies. The following table shows which field is associated with which permission type:
|
Constructors
public GDrivePermission();
Public GDrivePermission()