class UpdateFolderMemberError(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 AddFolderMemberError UpdateFolderMemberError.no_explicit_access: If updating the access type required the member to be added to the shared folder and there was an error when adding the member. :ivar sharing.UpdateFolderMemberError.insufficient_plan: The current user's account doesn't support this action. An example of this is when downgrading a member from editor to viewer. This action can only be performed by users that have upgraded to a Pro or Business plan. :ivar sharing.UpdateFolderMemberError.no_permission: The current user does not have permission to perform this action.
Class Method | access |
Create an instance of this class set to the ``access_error`` tag with value ``val``. |
Class Method | member |
Create an instance of this class set to the ``member_error`` tag with value ``val``. |
Class Method | no |
Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_access_error` is true. |
Method | get |
Only call this if :meth:`is_member_error` is true. |
Method | get |
If updating the access type required the member to be added to the shared folder and there was an error when adding the member. |
Method | is |
Check if the union tag is ``access_error``. |
Method | is |
Check if the union tag is ``insufficient_plan``. |
Method | is |
Check if the union tag is ``member_error``. |
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``. |
Class Variable | insufficient |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | other |
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: UpdateFolderMemberError
Create an instance of this class set to the ``member_error`` tag with value ``val``. :param SharedFolderMemberError val: :rtype: UpdateFolderMemberError
Create an instance of this class set to the ``no_explicit_access`` tag with value ``val``. :param AddFolderMemberError val: :rtype: UpdateFolderMemberError
If updating the access type required the member to be added to the shared folder and there was an error when adding the member. Only call this if :meth:`is_no_explicit_access` is true. :rtype: AddFolderMemberError