Optional
allowWhether the permission allows the file to be discovered through search. This is only applicable for permissions of type domain or anyone.
Optional
deletedWhether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
Optional
displayThe "pretty" name of the value of the permission. The following is a list of examples for each type of permission:
Optional
domainThe domain to which this permission refers.
Optional
emailThe email address of the user or group to which this permission refers.
Optional
expirationThe time at which this permission will expire (RFC 3339 date-time). Expiration times have the following restrictions:
Optional
idThe ID of this permission. This is a unique identifier for the grantee, and is published in User resources as permissionId. IDs should be treated as opaque values.
Optional
kindIdentifies what kind of resource this is. Value: the fixed string "drive#permission".
Optional
pendingWhether the account associated with this permission is a pending owner. Only populated for user type permissions for files that are not in a shared drive.
Optional
permissionDetails of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
Optional
photoA link to the user's profile photo, if available.
Optional
roleThe role granted by this permission. While new values may be supported in the future, the following are currently allowed:
Optional
teamDeprecated - use permissionDetails instead.
Optional
typeThe type of the grantee. Valid values are:
Optional
viewIndicates the view for this permission. Only populated for permissions that belong to a view. published is the only supported value.
Generated using TypeDoc
A permission for a file. A permission grants a user, group, domain or the world access to a file or a folder hierarchy.