Contents

Drive Share File

GoogleDriveAddPermissionTool · Tools · Connections

Share a Google Drive file with a user, group, domain or anyone with the link, at a role. Google may email the people it is shared with. Returns the new permission.

Parameters

NameTypeRequiredDescription
file_idstringYesThe file's Drive id.
granteeobject | object | object | objectYesWho gets access: a user or group by email, a Google Workspace domain, or anyone with the link.
messagestringNoA message for the notification email.
notifybooleanNoWhether Google emails the user or group about the share. Defaults to yes; only for a user or group.
role"reader" | "commenter" | "writer" | "fileOrganizer" | "organizer"YesThe access granted.