DriveRestrictions class

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

Constructors

DriveRestrictions()
DriveRestrictions.fromJson(Map _json)

Properties

adminManagedRestrictions bool
Whether administrative privileges on this shared drive are required to modify restrictions.
read / write
copyRequiresWriterPermission bool
Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.
read / write
domainUsersOnly bool
Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
read / write
driveMembersOnly bool
Whether access to items inside this shared drive is restricted to its members.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited