get_drive_file_permissions
Retrieve detailed sharing permissions and metadata for a Google Drive file using the user's email and file ID to manage access and ensure data security.
Instructions
Gets detailed metadata about a Google Drive file including sharing permissions.
Args: user_google_email (str): The user's Google email address. Required. file_id (str): The ID of the file to check permissions for.
Returns: str: Detailed file metadata including sharing status and URLs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_id | Yes | ||
user_google_email | Yes |
Input Schema (JSON Schema)
{
"properties": {
"file_id": {
"title": "File Id",
"type": "string"
},
"user_google_email": {
"title": "User Google Email",
"type": "string"
}
},
"required": [
"user_google_email",
"file_id"
],
"type": "object"
}