class AddPaperDocUserResult(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 paper.AddPaperDocUserResult.success: User was successfully added to the Paper doc. :ivar paper.AddPaperDocUserResult.unknown_error: Something unexpected happened when trying to add the user to the Paper doc. :ivar paper.AddPaperDocUserResult.sharing_outside_team_disabled: The Paper doc can be shared only with team members. :ivar paper.AddPaperDocUserResult.daily_limit_reached: The daily limit of how many users can be added to the Paper doc was reached. :ivar paper.AddPaperDocUserResult.user_is_owner: Owner's permissions cannot be changed. :ivar paper.AddPaperDocUserResult.failed_user_data_retrieval: User data could not be retrieved. Clients should retry. :ivar paper.AddPaperDocUserResult.permission_already_granted: This user already has the correct permission to the Paper doc.
Method | is |
Check if the union tag is ``daily_limit_reached``. |
Method | is |
Check if the union tag is ``failed_user_data_retrieval``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``permission_already_granted``. |
Method | is |
Check if the union tag is ``sharing_outside_team_disabled``. |
Method | is |
Check if the union tag is ``success``. |
Method | is |
Check if the union tag is ``unknown_error``. |
Method | is |
Check if the union tag is ``user_is_owner``. |
Class Variable | daily |
Undocumented |
Class Variable | failed |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | permission |
Undocumented |
Class Variable | sharing |
Undocumented |
Class Variable | success |
Undocumented |
Class Variable | unknown |
Undocumented |
Class Variable | user |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |