class Visibility(bb.Union): (source)
Who can access a shared link. The most open visibility is ``public``. The default depends on many aspects, such as team and user preferences and shared folder settings. 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.Visibility.public: Anyone who has received the link can access it. No login required. :ivar sharing.Visibility.team_only: Only members of the same team can access the link. Login is required. :ivar sharing.Visibility.password: A link-specific password is required to access the link. Login is not required. :ivar sharing.Visibility.team_and_password: Only members of the same team who have the link-specific password can access the link. :ivar sharing.Visibility.shared_folder_only: Only members of the shared folder containing the linked file can access the link. Login is required.
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``password``. |
Method | is |
Check if the union tag is ``public``. |
Method | is |
Check if the union tag is ``shared_folder_only``. |
Method | is |
Check if the union tag is ``team_and_password``. |
Method | is |
Check if the union tag is ``team_only``. |
Class Variable | other |
Undocumented |
Class Variable | password |
Undocumented |
Class Variable | public |
Undocumented |
Class Variable | shared |
Undocumented |
Class Variable | team |
Undocumented |
Class Variable | team |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |