Google Super
GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE
Modifies sharing permissions for an existing Google Drive file, granting a specified role to a user, group, domain, or 'anyone'.
Remote googlesuper
Other tools also called GOOGLESUPER_ADD_FILE_SHARING_PREFERENCE?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"role": {
"type": "string",
"title": "Role",
"pattern": "^(owner|organizer|fileOrganizer|writer|commenter|reader)$",
"examples": [
"reader",
"writer",
"commenter"
],
"description": "Permission role to grant."
},
"type": {
"type": "string",
"title": "Type",
"pattern": "^(user|group|domain|anyone)$",
"examples": [
"user",
"group",
"domain",
"anyone"
],
"description": "Type of grantee for the permission."
},
"domain": {
"type": "string",
"title": "Domain",
"default": null,
"examples": [
"example.com"
],
"nullable": true,
"description": "Domain to grant permission to (e.g., 'example.com'). Required if 'type' is 'domain'."
},
"file_id": {
"type": "string",
"title": "File Id",
"examples": [
"1BxiMVs0XRA5nFMdKvBdBZjgmUUqptlbs74OgvE2upms",
"1mGcTk8JQvTS_TssT4ZJYBnzlC8kLCRhc"
],
"description": "Unique identifier of the file to update sharing settings for. Use GOOGLEDRIVE_FIND_FILE or GOOGLEDRIVE_LIST_FILES to get valid file IDs from your Google Drive."
},
"email_address": {
"type": "string",
"title": "Email Address",
"default": null,
"examples": [
"[email protected]"
],
"nullable": true,
"description": "Email address of the user or group. Required if 'type' is 'user' or 'group'."
},
"transfer_ownership": {
"type": "boolean",
"title": "Transfer Ownership",
"default": null,
"nullable": true,
"description": "Whether to transfer ownership to the specified user. Required when role is 'owner'. Only a single user can be specified in the request when transferring ownership."
}
}
}