class Google::Apis::DriveV3::TeamDrive::Restrictions
A set of restrictions that apply to this Team Drive
or items inside this Team Drive
.
Attributes
Whether administrative privileges on this Team Drive
are required to modify restrictions. Corresponds to the JSON property `adminManagedRestrictions` @return [Boolean]
Whether administrative privileges on this Team Drive
are required to modify restrictions. Corresponds to the JSON property `adminManagedRestrictions` @return [Boolean]
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
. Corresponds to the JSON property `copyRequiresWriterPermission` @return [Boolean]
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
. Corresponds to the JSON property `copyRequiresWriterPermission` @return [Boolean]
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
. Corresponds to the JSON property `domainUsersOnly` @return [Boolean]
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
. Corresponds to the JSON property `domainUsersOnly` @return [Boolean]
Public Class Methods
# File lib/google/apis/drive_v3/classes.rb, line 2994 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/drive_v3/classes.rb, line 2999 def update!(**args) @admin_managed_restrictions = args[:admin_managed_restrictions] if args.key?(:admin_managed_restrictions) @copy_requires_writer_permission = args[:copy_requires_writer_permission] if args.key?(:copy_requires_writer_permission) @domain_users_only = args[:domain_users_only] if args.key?(:domain_users_only) @team_members_only = args[:team_members_only] if args.key?(:team_members_only) end