GET
gdrive_permissions_get.py
Requires
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Get a permission by ID.
from charter.packs import gdrive
result = await gdrive.permissions_get.ainvoke({"fileId": ..., "permissionId": ...})
https://www.googleapis.com/auth/drive. Costs 1 against the provider’s own quota.| Field | Type | Description |
|---|---|---|
fileId * | string | The ID of the file. |
permissionId * | string | The ID of the permission. |
| Field | Type | Description |
|---|---|---|
useDomainAdminAccess | boolean | Issue the request as a domain administrator. If set to true, and if the following additional conditions are met, the requester is granted access: (1) The file ID parameter refers to a shared drive. (2) The requester is an administrator of the domain to which the shared drive belongs. For more information, see Manage shared drives as domain administrators. |
supportsAllDrives | boolean | Whether the requesting application supports both My Drives and shared drives. |
Was this page helpful?