class SharedLinkSettingsError(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.SharedLinkSettingsError.invalid_settings: The given settings are invalid (for example, all attributes of the :class:`SharedLinkSettings` are empty, the requested visibility is ``RequestedVisibility.password`` but the ``SharedLinkSettings.link_password`` is missing, ``SharedLinkSettings.expires`` is set to the past, etc.). :ivar sharing.SharedLinkSettingsError.not_authorized: User is not allowed to modify the settings of this link. Note that basic users can only set ``RequestedVisibility.public`` as the ``SharedLinkSettings.requested_visibility`` and cannot set ``SharedLinkSettings.expires``.
Method | is |
Check if the union tag is ``invalid_settings``. |
Method | is |
Check if the union tag is ``not_authorized``. |
Class Variable | invalid |
Undocumented |
Class Variable | not |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |