Change a document's permissions via Google Apps Script
问题 I'm looking for sample script that resets the default permissions on an external spreadsheet based on the email address and DocumentID passed to the script. I intent to create a script that can parse information from an email message to acquire the DocumentID and email, execute the permission change from default to anyone with a link , then email the passed address with that link. It appears that perms are controlled by the DocList API and I'm not finding samples of GAS interacting with that