Skip to content

Google: Gets a permission by ID For more information, see Share files, folders, and drives (https: developers google com workspace drive api guides manage-sharing) — response body — permission Details item

Gets a permission by ID. For more information, see [Share files, folders, and drives](https://developers.google.com/workspace/drive/api/guides/manage-sharing).: response body, field permissionDetails / item. Complete fields and constraints for contract 2026-10-27.

API reference · Contract 2026-10-27

SDK schema: Gets a permission by ID For more information, see Share files, folders, and drives (https: developers google com workspace drive api guides manage-sharing) — response body — permission Details item

FieldTypePresenceDescription and constraints
$objectRoot
inheritedbooleanOptionalOutput only. Whether this permission is inherited. This field is always populated. This is an output-only field.
inheritedFromstringOptionalOutput only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
Read only: true
permissionTypestringOptionalOutput only. The permission type for this user. Supported values include: * `file` * `member`
rolestringOptionalOutput only. The primary role for this user. Supported values include: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader` For more information, see [Roles and permissions](https://developers.google.com/workspace/drive/api/guides/ref-roles).

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.