Google Drive

gd_share_file

Share a file or folder by creating a permission. Share with a specific user (email), domain, or make public (anyone). Set role to control access level.

Remote node2flow/google-drive

Other tools also called gd_share_file? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "role": {
      "type": "string",
      "description": "Access level: \"owner\", \"organizer\", \"fileOrganizer\", \"writer\", \"commenter\", \"reader\""
    },
    "type": {
      "type": "string",
      "description": "Permission type: \"user\", \"group\", \"domain\", \"anyone\""
    },
    "domain": {
      "type": "string",
      "description": "Domain name (required for type \"domain\")"
    },
    "file_id": {
      "type": "string",
      "description": "The ID of the file or folder to share"
    },
    "email_address": {
      "type": "string",
      "description": "Email address of the user or group (required for type \"user\" or \"group\")"
    },
    "email_message": {
      "type": "string",
      "description": "Custom message in the notification email"
    },
    "transfer_ownership": {
      "type": "boolean",
      "description": "Transfer ownership to the specified user (role must be \"owner\")"
    },
    "send_notification_email": {
      "type": "boolean",
      "description": "Send notification email to the user (default: true)"
    }
  }
}