gdrive_permissions_list
List permissions for a Google Drive file or shared drive to audit access and manage sharing.
Instructions
List a file's or shared drive's permissions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the file or shared drive. | |
| pageSize | No | The maximum number of permissions to return. The service may return fewer than this value. If unspecified, at most 100 permissions will be returned for shared drives, and the entire list of permissions for non-shared drives. The maximum value is 100; values above 100 will be coerced to 100. | |
| pageToken | No | The token for continuing a previous list request on the next page. This should be set to the value of `nextPageToken` from the previous response. | |
| supportsAllDrives | No | Whether the requesting application supports both My Drives and shared drives. | |
| useDomainAdminAccess | No | 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. | |
| includePermissionsForView | No | Specifies which additional view's permissions to include in the response. Only `published` is supported. |