restrictions property

DriveRestrictions? restrictions
getter/setter pair

A set of restrictions that apply to this shared drive or items inside this shared drive.

Note that restrictions can't be set when creating a shared drive. To add a restriction, first create a shared drive and then use drives.update to add restrictions.

Implementation

DriveRestrictions? restrictions;