googleDrive.createPermission shares a Drive file with a user, group, domain, or anyone.
Example
Inputs
ProvidefileId, type, and role. Roles can be organizer, fileOrganizer, writer, commenter, or reader. User and group permissions require emailAddress; domain permissions require domain. expirationTime is optional for user and group permissions and unavailable for domain and anyone permissions. Google requires an expiration in the future and no more than one year away. Notification fields are optional. A second argument with account selects a Google Account.