// Creates a folder that anyone on the Internet can read from and write to. (Domain
// administrators can prohibit this setting for users of a Google Workspace domain.)
var folder = DriveApp.createFolder('Shared Folder');
folder.setSharing(DriveApp.Access.ANYONE, DriveApp.Permission.EDIT);
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2024-09-13 UTC"],[[["`DriveApp.Access` is an enum used to define user access levels for files and folders in Google Drive, beyond individual permissions."],["You can set file or folder sharing permissions using methods like `setSharing()` along with the `DriveApp.Access` and `DriveApp.Permission` enums."],["Several access levels are available: `ANYONE`, `ANYONE_WITH_LINK`, `DOMAIN`, `DOMAIN_WITH_LINK`, and `PRIVATE`, each controlling who can access the content."],["Domain administrators in Google Workspace can restrict the use of `ANYONE` and `ANYONE_WITH_LINK` sharing options for their users."]]],[]]