#include <team_drive.h>
Capabilities the current user has on this Team Drive.
◆ TeamDriveCapabilities() [1/2]
| google_drive_api::TeamDrive::TeamDriveCapabilities::TeamDriveCapabilities |
( |
const Json::Value & |
storage | ) |
|
|
explicit |
Standard constructor for an immutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ TeamDriveCapabilities() [2/2]
| google_drive_api::TeamDrive::TeamDriveCapabilities::TeamDriveCapabilities |
( |
Json::Value * |
storage | ) |
|
|
explicit |
Standard constructor for a mutable data object instance.
- Parameters
-
| [in] | storage | The underlying data storage for this instance. |
◆ ~TeamDriveCapabilities()
| google_drive_api::TeamDrive::TeamDriveCapabilities::~TeamDriveCapabilities |
( |
| ) |
|
|
virtual |
◆ clear_can_add_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_add_children |
( |
| ) |
|
|
inline |
Clears the 'canAddChildren' attribute.
◆ clear_can_change_copy_requires_writer_permission_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_change_copy_requires_writer_permission_restriction |
( |
| ) |
|
|
inline |
Clears the 'canChangeCopyRequiresWriterPermissionRestriction' attribute.
◆ clear_can_change_domain_users_only_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_change_domain_users_only_restriction |
( |
| ) |
|
|
inline |
Clears the 'canChangeDomainUsersOnlyRestriction' attribute.
◆ clear_can_change_team_drive_background()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_change_team_drive_background |
( |
| ) |
|
|
inline |
Clears the 'canChangeTeamDriveBackground' attribute.
◆ clear_can_change_team_members_only_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_change_team_members_only_restriction |
( |
| ) |
|
|
inline |
Clears the 'canChangeTeamMembersOnlyRestriction' attribute.
◆ clear_can_comment()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_comment |
( |
| ) |
|
|
inline |
Clears the 'canComment' attribute.
◆ clear_can_copy()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_copy |
( |
| ) |
|
|
inline |
Clears the 'canCopy' attribute.
◆ clear_can_delete_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_delete_children |
( |
| ) |
|
|
inline |
Clears the 'canDeleteChildren' attribute.
◆ clear_can_delete_team_drive()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_delete_team_drive |
( |
| ) |
|
|
inline |
Clears the 'canDeleteTeamDrive' attribute.
◆ clear_can_download()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_download |
( |
| ) |
|
|
inline |
Clears the 'canDownload' attribute.
◆ clear_can_edit()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_edit |
( |
| ) |
|
|
inline |
Clears the 'canEdit' attribute.
◆ clear_can_list_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_list_children |
( |
| ) |
|
|
inline |
Clears the 'canListChildren' attribute.
◆ clear_can_manage_members()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_manage_members |
( |
| ) |
|
|
inline |
Clears the 'canManageMembers' attribute.
◆ clear_can_read_revisions()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_read_revisions |
( |
| ) |
|
|
inline |
Clears the 'canReadRevisions' attribute.
◆ clear_can_remove_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_remove_children |
( |
| ) |
|
|
inline |
Clears the 'canRemoveChildren' attribute.
◆ clear_can_rename()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_rename |
( |
| ) |
|
|
inline |
Clears the 'canRename' attribute.
◆ clear_can_rename_team_drive()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_rename_team_drive |
( |
| ) |
|
|
inline |
Clears the 'canRenameTeamDrive' attribute.
◆ clear_can_share()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_share |
( |
| ) |
|
|
inline |
Clears the 'canShare' attribute.
◆ clear_can_trash_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::clear_can_trash_children |
( |
| ) |
|
|
inline |
Clears the 'canTrashChildren' attribute.
◆ get_can_add_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_add_children |
( |
| ) |
const |
|
inline |
Get the value of the 'canAddChildren' attribute.
◆ get_can_change_copy_requires_writer_permission_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_change_copy_requires_writer_permission_restriction |
( |
| ) |
const |
|
inline |
Get the value of the 'canChangeCopyRequiresWriterPermissionRestriction' attribute.
◆ get_can_change_domain_users_only_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_change_domain_users_only_restriction |
( |
| ) |
const |
|
inline |
Get the value of the 'canChangeDomainUsersOnlyRestriction' attribute.
◆ get_can_change_team_drive_background()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_change_team_drive_background |
( |
| ) |
const |
|
inline |
Get the value of the 'canChangeTeamDriveBackground' attribute.
◆ get_can_change_team_members_only_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_change_team_members_only_restriction |
( |
| ) |
const |
|
inline |
Get the value of the 'canChangeTeamMembersOnlyRestriction' attribute.
◆ get_can_comment()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_comment |
( |
| ) |
const |
|
inline |
Get the value of the 'canComment' attribute.
◆ get_can_copy()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_copy |
( |
| ) |
const |
|
inline |
Get the value of the 'canCopy' attribute.
◆ get_can_delete_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_delete_children |
( |
| ) |
const |
|
inline |
Get the value of the 'canDeleteChildren' attribute.
◆ get_can_delete_team_drive()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_delete_team_drive |
( |
| ) |
const |
|
inline |
Get the value of the 'canDeleteTeamDrive' attribute.
◆ get_can_download()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_download |
( |
| ) |
const |
|
inline |
Get the value of the 'canDownload' attribute.
◆ get_can_edit()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_edit |
( |
| ) |
const |
|
inline |
Get the value of the 'canEdit' attribute.
◆ get_can_list_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_list_children |
( |
| ) |
const |
|
inline |
Get the value of the 'canListChildren' attribute.
◆ get_can_manage_members()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_manage_members |
( |
| ) |
const |
|
inline |
Get the value of the 'canManageMembers' attribute.
◆ get_can_read_revisions()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_read_revisions |
( |
| ) |
const |
|
inline |
Get the value of the 'canReadRevisions' attribute.
◆ get_can_remove_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_remove_children |
( |
| ) |
const |
|
inline |
Get the value of the 'canRemoveChildren' attribute.
◆ get_can_rename()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_rename |
( |
| ) |
const |
|
inline |
Get the value of the 'canRename' attribute.
◆ get_can_rename_team_drive()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_rename_team_drive |
( |
| ) |
const |
|
inline |
Get the value of the 'canRenameTeamDrive' attribute.
◆ get_can_share()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_share |
( |
| ) |
const |
|
inline |
Get the value of the 'canShare' attribute.
◆ get_can_trash_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::get_can_trash_children |
( |
| ) |
const |
|
inline |
Get the value of the 'canTrashChildren' attribute.
◆ GetTypeName()
| const StringPiece google_drive_api::TeamDrive::TeamDriveCapabilities::GetTypeName |
( |
| ) |
const |
|
inline |
Returns a string denoting the type of this data object.
- Returns
google_drive_api::TeamDriveCapabilities
◆ has_can_add_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_add_children |
( |
| ) |
const |
|
inline |
Determine if the 'canAddChildren' attribute was set.
- Returns
- true if the '
canAddChildren' attribute was set.
◆ has_can_change_copy_requires_writer_permission_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_change_copy_requires_writer_permission_restriction |
( |
| ) |
const |
|
inline |
Determine if the 'canChangeCopyRequiresWriterPermissionRestriction' attribute was set.
- Returns
- true if the '
canChangeCopyRequiresWriterPermissionRestriction' attribute was set.
◆ has_can_change_domain_users_only_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_change_domain_users_only_restriction |
( |
| ) |
const |
|
inline |
Determine if the 'canChangeDomainUsersOnlyRestriction' attribute was set.
- Returns
- true if the '
canChangeDomainUsersOnlyRestriction' attribute was set.
◆ has_can_change_team_drive_background()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_change_team_drive_background |
( |
| ) |
const |
|
inline |
Determine if the 'canChangeTeamDriveBackground' attribute was set.
- Returns
- true if the '
canChangeTeamDriveBackground' attribute was set.
◆ has_can_change_team_members_only_restriction()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_change_team_members_only_restriction |
( |
| ) |
const |
|
inline |
Determine if the 'canChangeTeamMembersOnlyRestriction' attribute was set.
- Returns
- true if the '
canChangeTeamMembersOnlyRestriction' attribute was set.
◆ has_can_comment()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_comment |
( |
| ) |
const |
|
inline |
Determine if the 'canComment' attribute was set.
- Returns
- true if the '
canComment' attribute was set.
◆ has_can_copy()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_copy |
( |
| ) |
const |
|
inline |
Determine if the 'canCopy' attribute was set.
- Returns
- true if the '
canCopy' attribute was set.
◆ has_can_delete_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_delete_children |
( |
| ) |
const |
|
inline |
Determine if the 'canDeleteChildren' attribute was set.
- Returns
- true if the '
canDeleteChildren' attribute was set.
◆ has_can_delete_team_drive()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_delete_team_drive |
( |
| ) |
const |
|
inline |
Determine if the 'canDeleteTeamDrive' attribute was set.
- Returns
- true if the '
canDeleteTeamDrive' attribute was set.
◆ has_can_download()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_download |
( |
| ) |
const |
|
inline |
Determine if the 'canDownload' attribute was set.
- Returns
- true if the '
canDownload' attribute was set.
◆ has_can_edit()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_edit |
( |
| ) |
const |
|
inline |
Determine if the 'canEdit' attribute was set.
- Returns
- true if the '
canEdit' attribute was set.
◆ has_can_list_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_list_children |
( |
| ) |
const |
|
inline |
Determine if the 'canListChildren' attribute was set.
- Returns
- true if the '
canListChildren' attribute was set.
◆ has_can_manage_members()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_manage_members |
( |
| ) |
const |
|
inline |
Determine if the 'canManageMembers' attribute was set.
- Returns
- true if the '
canManageMembers' attribute was set.
◆ has_can_read_revisions()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_read_revisions |
( |
| ) |
const |
|
inline |
Determine if the 'canReadRevisions' attribute was set.
- Returns
- true if the '
canReadRevisions' attribute was set.
◆ has_can_remove_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_remove_children |
( |
| ) |
const |
|
inline |
Determine if the 'canRemoveChildren' attribute was set.
- Returns
- true if the '
canRemoveChildren' attribute was set.
◆ has_can_rename()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_rename |
( |
| ) |
const |
|
inline |
Determine if the 'canRename' attribute was set.
- Returns
- true if the '
canRename' attribute was set.
◆ has_can_rename_team_drive()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_rename_team_drive |
( |
| ) |
const |
|
inline |
Determine if the 'canRenameTeamDrive' attribute was set.
- Returns
- true if the '
canRenameTeamDrive' attribute was set.
◆ has_can_share()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_share |
( |
| ) |
const |
|
inline |
Determine if the 'canShare' attribute was set.
- Returns
- true if the '
canShare' attribute was set.
◆ has_can_trash_children()
| bool google_drive_api::TeamDrive::TeamDriveCapabilities::has_can_trash_children |
( |
| ) |
const |
|
inline |
Determine if the 'canTrashChildren' attribute was set.
- Returns
- true if the '
canTrashChildren' attribute was set.
◆ New()
Creates a new default instance.
- Returns
- Ownership is passed back to the caller.
◆ set_can_add_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_add_children |
( |
bool |
value | ) |
|
|
inline |
Change the 'canAddChildren' attribute.
Whether the current user can add children to folders in this Team Drive.
- Parameters
-
◆ set_can_change_copy_requires_writer_permission_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_change_copy_requires_writer_permission_restriction |
( |
bool |
value | ) |
|
|
inline |
Change the 'canChangeCopyRequiresWriterPermissionRestriction' attribute.
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
- Parameters
-
◆ set_can_change_domain_users_only_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_change_domain_users_only_restriction |
( |
bool |
value | ) |
|
|
inline |
Change the 'canChangeDomainUsersOnlyRestriction' attribute.
Whether the current user can change the domainUsersOnly restriction of this Team Drive.
- Parameters
-
◆ set_can_change_team_drive_background()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_change_team_drive_background |
( |
bool |
value | ) |
|
|
inline |
Change the 'canChangeTeamDriveBackground' attribute.
Whether the current user can change the background of this Team Drive.
- Parameters
-
◆ set_can_change_team_members_only_restriction()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_change_team_members_only_restriction |
( |
bool |
value | ) |
|
|
inline |
Change the 'canChangeTeamMembersOnlyRestriction' attribute.
Whether the current user can change the teamMembersOnly restriction of this Team Drive.
- Parameters
-
◆ set_can_comment()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_comment |
( |
bool |
value | ) |
|
|
inline |
Change the 'canComment' attribute.
Whether the current user can comment on files in this Team Drive.
- Parameters
-
◆ set_can_copy()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_copy |
( |
bool |
value | ) |
|
|
inline |
Change the 'canCopy' attribute.
Whether the current user can copy files in this Team Drive.
- Parameters
-
◆ set_can_delete_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_delete_children |
( |
bool |
value | ) |
|
|
inline |
Change the 'canDeleteChildren' attribute.
Whether the current user can delete children from folders in this Team Drive.
- Parameters
-
◆ set_can_delete_team_drive()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_delete_team_drive |
( |
bool |
value | ) |
|
|
inline |
Change the 'canDeleteTeamDrive' attribute.
Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
- Parameters
-
◆ set_can_download()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_download |
( |
bool |
value | ) |
|
|
inline |
Change the 'canDownload' attribute.
Whether the current user can download files in this Team Drive.
- Parameters
-
◆ set_can_edit()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_edit |
( |
bool |
value | ) |
|
|
inline |
Change the 'canEdit' attribute.
Whether the current user can edit files in this Team Drive.
- Parameters
-
◆ set_can_list_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_list_children |
( |
bool |
value | ) |
|
|
inline |
Change the 'canListChildren' attribute.
Whether the current user can list the children of folders in this Team Drive.
- Parameters
-
◆ set_can_manage_members()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_manage_members |
( |
bool |
value | ) |
|
|
inline |
Change the 'canManageMembers' attribute.
Whether the current user can add members to this Team Drive or remove them or change their role.
- Parameters
-
◆ set_can_read_revisions()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_read_revisions |
( |
bool |
value | ) |
|
|
inline |
Change the 'canReadRevisions' attribute.
Whether the current user can read the revisions resource of files in this Team Drive.
- Parameters
-
◆ set_can_remove_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_remove_children |
( |
bool |
value | ) |
|
|
inline |
Change the 'canRemoveChildren' attribute.
- Deprecated:
Deprecated - use canDeleteChildren or canTrashChildren instead.
- Parameters
-
◆ set_can_rename()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_rename |
( |
bool |
value | ) |
|
|
inline |
Change the 'canRename' attribute.
Whether the current user can rename files or folders in this Team Drive.
- Parameters
-
◆ set_can_rename_team_drive()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_rename_team_drive |
( |
bool |
value | ) |
|
|
inline |
Change the 'canRenameTeamDrive' attribute.
Whether the current user can rename this Team Drive.
- Parameters
-
◆ set_can_share()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_share |
( |
bool |
value | ) |
|
|
inline |
Change the 'canShare' attribute.
Whether the current user can share files or folders in this Team Drive.
- Parameters
-
◆ set_can_trash_children()
| void google_drive_api::TeamDrive::TeamDriveCapabilities::set_can_trash_children |
( |
bool |
value | ) |
|
|
inline |
Change the 'canTrashChildren' attribute.
Whether the current user can trash children from folders in this Team Drive.
- Parameters
-
The documentation for this class was generated from the following files:
- google/drive_api/team_drive.h
- google/drive_api/team_drive.cc