I've enabled the Google Drive Advanced Services library into my App Script.
I'd like to use the library so I can write code like:
var permission = {
type: 'user',
role: 'writer',
value: email
};
var new_permission = Drive.Permissions.insert(permission, fileId);
But how do I get that library or script to run as a Service Account so I can do things that require Domain Wide Delegation?
Thanks!