drive
v2
|
#include <drive.h>
Public Member Functions | |
DriveRestrictions (const Json::Value &storage) | |
DriveRestrictions (Json::Value *storage) | |
virtual | ~DriveRestrictions () |
const StringPiece | GetTypeName () const |
bool | has_admin_managed_restrictions () const |
void | clear_admin_managed_restrictions () |
bool | get_admin_managed_restrictions () const |
void | set_admin_managed_restrictions (bool value) |
bool | has_copy_requires_writer_permission () const |
void | clear_copy_requires_writer_permission () |
bool | get_copy_requires_writer_permission () const |
void | set_copy_requires_writer_permission (bool value) |
bool | has_domain_users_only () const |
void | clear_domain_users_only () |
bool | get_domain_users_only () const |
void | set_domain_users_only (bool value) |
bool | has_drive_members_only () const |
void | clear_drive_members_only () |
bool | get_drive_members_only () const |
void | set_drive_members_only (bool value) |
Static Public Member Functions | |
static DriveRestrictions * | New () |
A set of restrictions that apply to this shared drive or items inside this shared drive.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'adminManagedRestrictions
' attribute.
|
inline |
Clears the 'copyRequiresWriterPermission
' attribute.
|
inline |
Clears the 'domainUsersOnly
' attribute.
|
inline |
Clears the 'driveMembersOnly
' attribute.
|
inline |
Get the value of the 'adminManagedRestrictions
' attribute.
|
inline |
Get the value of the 'copyRequiresWriterPermission
' attribute.
|
inline |
Get the value of the 'domainUsersOnly
' attribute.
|
inline |
Get the value of the 'driveMembersOnly
' attribute.
|
inline |
Returns a string denoting the type of this data object.
google_drive_api::DriveRestrictions
|
inline |
Determine if the 'adminManagedRestrictions
' attribute was set.
adminManagedRestrictions
' attribute was set.
|
inline |
Determine if the 'copyRequiresWriterPermission
' attribute was set.
copyRequiresWriterPermission
' attribute was set.
|
inline |
Determine if the 'domainUsersOnly
' attribute was set.
domainUsersOnly
' attribute was set.
|
inline |
Determine if the 'driveMembersOnly
' attribute was set.
driveMembersOnly
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'adminManagedRestrictions
' attribute.
Whether administrative privileges on this shared drive are required to modify restrictions.
[in] | value | The new value. |
|
inline |
Change the 'copyRequiresWriterPermission
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'domainUsersOnly
' attribute.
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.
[in] | value | The new value. |
|
inline |
Change the 'driveMembersOnly
' attribute.
Whether access to items inside this shared drive is restricted to its members.
[in] | value | The new value. |