Apex
...
Types
Input & Output Types
Types.PermissionInput
Represents input for updating permission for a resource(file/folder) using Update Permissions function. Following constructors are supported.
- action - One of grant of revoke
- role - One of read of write
- driveId - This is Id of the drive
- emails - Email IDs for which you want to provide/revoke access.
- resourceIds - List of resourceId