TeamDriveRestrictions class

A set of restrictions that apply to this Team Drive or items inside this Team Drive.


TeamDriveRestrictions.fromJson(Map _json)


adminManagedRestrictions bool
Whether administrative privileges on this Team Drive are required to modify restrictions.
read / write
copyRequiresWriterPermission bool
Whether the options to copy, print, or download files inside this Team 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 Team Drive.
read / write
domainUsersOnly bool
Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
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
teamMembersOnly bool
Whether access to items inside this Team Drive is restricted to members of this Team Drive.
read / write


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


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