Create a permission for a file in Google Drive.
Type of user, group, domain, or Google Drive user who can interact with the specified document. Here are the available options:
Level of permissions the
Additional Shared Drive information
When users share from Google Drive, they can control whether people can edit, comment on, or only view the file.
Viewer: People can view, but can’t change or share the file with others, or delete files.
Commenter: People can add comments and suggestions, but can’t change files, share files with others, or delete files.
Editor: People can make changes, accept or reject suggestions, share files with others, and version files. They can’t delete files.
File can be deleted by owner of a shared drive. Learn about how to share files from Google Drive here.
Performing operations on shared drives can cause delays if a user has multiple shared drives. Learn about shared drive file and folder limits here.
|File ID||Unique ID of the file for which you want to create the specific permissions.||String||TRUE|
|Email Address||Email address of the individual for whom permissions are created.||String||TRUE|
|Email Message||A custom message to include in notification emails about the permissions and document that were shared.||String||FALSE|
|Transfer Ownership||Indicates whether changing a role to
|Allow File Discovery||Indicates whether the file will be discoverable or not.||Boolean||FALSE|
|Permission ID||Current user's ID as visible in the permissions collection.||String|
|Share Link||URL directly to the link that will pull up the file inside Google Drive, but is the share link for the user or group shared to the file with the permission set.||String|