KGAPI2::Drive::Teamdrive::Restrictions

Search for usage in LXR

KGAPI2::Drive::Teamdrive::Restrictions Class Reference

#include <teamdrive.h>

Public Member Functions

 Restrictions (const Restrictions &other)
 
bool adminManagedRestrictions () const
 
bool copyRequiresWriterPermission () const
 
bool domainUsersOnly () const
 
bool operator!= (const Restrictions &other) const
 
bool operator== (const Restrictions &other) const
 
void setAdminManagedRestrictions (bool adminManagedRestrictions) const
 
void setCopyRequiresWriterPermission (bool copyRequiresWriterPermission) const
 
void setDomainUsersOnly (bool domainUsersOnly) const
 
void setTeamMembersOnly (bool teamMembersOnly) const
 
bool teamMembersOnly () const
 

Detailed Description

DriveTeamdrive::Restrictions holds the structure used for restrictions property.

Definition at line 41 of file teamdrive.h.

Member Function Documentation

bool Teamdrive::Restrictions::adminManagedRestrictions ( ) const

Returns whether administrative privileges on this Team Drive are required to modify restrictions.

Definition at line 58 of file teamdrive.cpp.

bool Teamdrive::Restrictions::copyRequiresWriterPermission ( ) const

Returns 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.

Definition at line 68 of file teamdrive.cpp.

bool Teamdrive::Restrictions::domainUsersOnly ( ) const

Returns 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.

Definition at line 78 of file teamdrive.cpp.

void Teamdrive::Restrictions::setAdminManagedRestrictions ( bool  adminManagedRestrictions) const

Sets whether administrative privileges on this Team Drive are required to modify restrictions.

Parameters
adminManagedRestrictions

Definition at line 63 of file teamdrive.cpp.

void Teamdrive::Restrictions::setCopyRequiresWriterPermission ( bool  copyRequiresWriterPermission) const

Sets 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.

Parameters
copyRequiresWriterPermission

Definition at line 73 of file teamdrive.cpp.

void Teamdrive::Restrictions::setDomainUsersOnly ( bool  domainUsersOnly) const

Sets 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.

Parameters
domainUsersOnly

Definition at line 83 of file teamdrive.cpp.

void Teamdrive::Restrictions::setTeamMembersOnly ( bool  teamMembersOnly) const

Sets whether access to items inside this Team Drive is restricted to members of this Team Drive.

Parameters
teamMembersOnly

Definition at line 93 of file teamdrive.cpp.

bool Teamdrive::Restrictions::teamMembersOnly ( ) const

Returns whether access to items inside this Team Drive is restricted to members of this Team Drive.

Definition at line 88 of file teamdrive.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Fri Jun 18 2021 23:10:49 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.