class UpdateFolderPolicyError(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.UpdateFolderPolicyError.not_on_team: ``UpdateFolderPolicyArg.member_policy`` was set even though user is not on a team. :ivar sharing.UpdateFolderPolicyError.team_policy_disallows_member_policy: Team policy is more restrictive than ``ShareFolderArg.member_policy``. :ivar sharing.UpdateFolderPolicyError.disallowed_shared_link_policy: The current account is not allowed to select the specified ``ShareFolderArg.shared_link_policy``. :ivar sharing.UpdateFolderPolicyError.no_permission: The current user does not have permission to perform this action. :ivar sharing.UpdateFolderPolicyError.team_folder: This action cannot be performed on a team shared folder.
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 ``disallowed_shared_link_policy``. |
Method | is |
Check if the union tag is ``no_permission``. |
Method | is |
Check if the union tag is ``not_on_team``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``team_folder``. |
Method | is |
Check if the union tag is ``team_policy_disallows_member_policy``. |
Class Variable | disallowed |
Undocumented |
Class Variable | no |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | team |
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: UpdateFolderPolicyError