Stay organized with collections
Save and categorize content based on your preferences.
An enum representing the permissions granted to users who can access a file or folder, besides
any individual users who have been explicitly given access. These properties can be accessed from
// Creates a folder that anyone on the Internet can read from and write to. (Domain
// administrators can prohibit this setting for Google Workspace users.)
var folder = DriveApp.createFolder('Shared Folder');
Users who can access the file or folder are able only to view it, copy it, or comment on it.
Passing this value to File.setSharing(accessType, permissionType) throws an exception if
the type of file does not support it.