Generally Available: The Google Drive API now supports folders with limited access which allow you to restrict folders to specific users. Folders with limited access broadens the expansive access model from shared drives to My Drive.
To limit access to a folder, developers can set the boolean inheritedPermissionsDisabled
field on the files
resource to true
. Developers can also opt in to expansive access API behavior in My Drive ahead of any future mandatory enforcement by setting the enforceExpansiveAccess
request parameter to true
on the permissions.delete()
and permissions.update()
methods.
To learn more, see Manage folders with limited and expansive access.
Source: Google Drive API release notes