class RelinquishFolderMembershipError(bb.Union): (source)
This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method. :ivar sharing.RelinquishFolderMembershipError.folder_owner: The current user is the owner of the shared folder. Owners cannot relinquish membership to their own folders. Try unsharing or transferring ownership first. :ivar sharing.RelinquishFolderMembershipError.mounted: The shared folder is currently mounted. Unmount the shared folder before relinquishing membership. :ivar sharing.RelinquishFolderMembershipError.group_access: The current user has access to the shared folder via a group. You can't relinquish membership to folders shared via groups. :ivar sharing.RelinquishFolderMembershipError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.RelinquishFolderMembershipError.no_permission: The current user does not have permission to perform this action. :ivar sharing.RelinquishFolderMembershipError.no_explicit_access: The current user only has inherited access to the shared folder. You can't relinquish inherited membership to folders.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``folder_owner``. |
Method | is |
Check if the union tag is ``group_access``. |
Method | is |
Check if the union tag is ``mounted``. |
Method | is |
Check if the union tag is ``no_explicit_access``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``team_folder``. |
Class Variable | folder |
Undocumented |
Class Variable | group |
Undocumented |
Class Variable | mounted |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | team |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |
Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharedFolderAccessError val: :rtype: RelinquishFolderMembershipError