Actions17
File → Share
AI-generatedSummary
Creates a Google Drive permission for the selected file, granting access to a user, group, domain, or anyone. Configure the permission’s role and scope, then optionally set notification, ownership-transfer, and domain-admin options.
Inputs
- Authentication (required) — Provide the required OAuth client ID, client secret, refresh token, and access token fields, and choose OAuth2 or Service Account authentication.
- File (required) — Choose a file from the list, paste a Google Drive file URL, or enter its ID.
- Permissions (required) — Set the role (commenter, file organizer, organizer, owner, reader, or writer) and scope (user, group, domain, or anyone). User and group permissions can include an email address; domain permissions can include a domain. For domain and anyone permissions, optionally allow discovery through search.
- Options — Optionally add a notification email message, send a notification to users or groups, transfer ownership, move the item to the new owner's My Drive root during ownership transfer, or use domain admin access.
Output shape
A list of items containing the API response for the created permission.
The source pack provides only a signature-level view of the operation body, so the exact response mapping is not visible.