class LegalHoldsPolicyUpdateError(LegalHoldsError): (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 team.LegalHoldsPolicyUpdateError.transient_error: Temporary infrastructure failure, please retry. :ivar team.LegalHoldsPolicyUpdateError.inactive_legal_hold: Trying to release an inactive legal hold. :ivar team.LegalHoldsPolicyUpdateError.legal_hold_performing_another_operation: Legal hold is currently performing another operation. :ivar team.LegalHoldsPolicyUpdateError.invalid_members: Some members in the members list are not valid to be placed under legal hold. :ivar team.LegalHoldsPolicyUpdateError.number_of_users_on_hold_is_greater_than_hold_limitation: You cannot add more than 5 users in a legal hold. :ivar team.LegalHoldsPolicyUpdateError.empty_members_list: The users list must have at least one user. :ivar team.LegalHoldsPolicyUpdateError.name_must_be_unique: The name provided is already in use by another legal hold. :ivar team.LegalHoldsPolicyUpdateError.legal_hold_policy_not_found: Legal hold policy does not exist for ``LegalHoldsPolicyUpdateArg.id``.
Method | is |
Check if the union tag is ``empty_members_list``. |
Method | is |
Check if the union tag is ``inactive_legal_hold``. |
Method | is |
Check if the union tag is ``invalid_members``. |
Method | is |
Check if the union tag is ``legal_hold_performing_another_operation``. |
Method | is |
Check if the union tag is ``legal_hold_policy_not_found``. |
Method | is |
Check if the union tag is ``name_must_be_unique``. |
Method | is |
Check if the union tag is ``number_of_users_on_hold_is_greater_than_hold_limitation``. |
Method | is |
Check if the union tag is ``transient_error``. |
Class Variable | empty |
Undocumented |
Class Variable | inactive |
Undocumented |
Class Variable | invalid |
Undocumented |
Class Variable | legal |
Undocumented |
Class Variable | legal |
Undocumented |
Class Variable | name |
Undocumented |
Class Variable | number |
Undocumented |
Class Variable | transient |
Undocumented |
Method | _process |
Undocumented |
Inherited from LegalHoldsError
:
Method | is |
Check if the union tag is ``insufficient_permissions``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``unknown_legal_hold_error``. |
Class Variable | insufficient |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | unknown |
Undocumented |
Class Variable | _catch |
Undocumented |