class FileAction(bb.Union): (source)
Sharing actions that may be taken on files. 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.FileAction.disable_viewer_info: Disable viewer information on the file. :ivar sharing.FileAction.edit_contents: Change or edit contents of the file. :ivar sharing.FileAction.enable_viewer_info: Enable viewer information on the file. :ivar sharing.FileAction.invite_viewer: Add a member with view permissions. :ivar sharing.FileAction.invite_viewer_no_comment: Add a member with view permissions but no comment permissions. :ivar sharing.FileAction.invite_editor: Add a member with edit permissions. :ivar sharing.FileAction.unshare: Stop sharing this file. :ivar sharing.FileAction.relinquish_membership: Relinquish one's own membership to the file. :ivar sharing.FileAction.share_link: Use create_view_link and create_edit_link instead. :ivar sharing.FileAction.create_link: Use create_view_link and create_edit_link instead. :ivar sharing.FileAction.create_view_link: Create a shared link to a file that only allows users to view the content. :ivar sharing.FileAction.create_edit_link: Create a shared link to a file that allows users to edit the content.
Method | is |
Check if the union tag is ``create_edit_link``. |
Method | is |
Check if the union tag is ``create_link``. |
Method | is |
Check if the union tag is ``create_view_link``. |
Method | is |
Check if the union tag is ``disable_viewer_info``. |
Method | is |
Check if the union tag is ``edit_contents``. |
Method | is |
Check if the union tag is ``enable_viewer_info``. |
Method | is |
Check if the union tag is ``invite_editor``. |
Method | is |
Check if the union tag is ``invite_viewer``. |
Method | is |
Check if the union tag is ``invite_viewer_no_comment``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``relinquish_membership``. |
Method | is |
Check if the union tag is ``share_link``. |
Method | is |
Check if the union tag is ``unshare``. |
Class Variable | create |
Undocumented |
Class Variable | create |
Undocumented |
Class Variable | create |
Undocumented |
Class Variable | disable |
Undocumented |
Class Variable | edit |
Undocumented |
Class Variable | enable |
Undocumented |
Class Variable | invite |
Undocumented |
Class Variable | invite |
Undocumented |
Class Variable | invite |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | relinquish |
Undocumented |
Class Variable | share |
Undocumented |
Class Variable | unshare |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |