class documentation

class MemberAction(bb.Union): (source)

View In Hierarchy

Actions that may be taken on members of a shared folder. 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.MemberAction.leave_a_copy: Allow the member to keep a copy of the folder when removing. :ivar sharing.MemberAction.make_editor: Make the member an editor of the folder. :ivar sharing.MemberAction.make_owner: Make the member an owner of the folder. :ivar sharing.MemberAction.make_viewer: Make the member a viewer of the folder. :ivar sharing.MemberAction.make_viewer_no_comment: Make the member a viewer of the folder without commenting permissions. :ivar sharing.MemberAction.remove: Remove the member from the folder.

Method is_leave_a_copy Check if the union tag is ``leave_a_copy``.
Method is_make_editor Check if the union tag is ``make_editor``.
Method is_make_owner Check if the union tag is ``make_owner``.
Method is_make_viewer Check if the union tag is ``make_viewer``.
Method is_make_viewer_no_comment Check if the union tag is ``make_viewer_no_comment``.
Method is_other Check if the union tag is ``other``.
Method is_remove Check if the union tag is ``remove``.
Class Variable leave_a_copy Undocumented
Class Variable make_editor Undocumented
Class Variable make_owner Undocumented
Class Variable make_viewer Undocumented
Class Variable make_viewer_no_comment Undocumented
Class Variable other Undocumented
Class Variable remove Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_leave_a_copy(self): (source)

Check if the union tag is ``leave_a_copy``. :rtype: bool

def is_make_editor(self): (source)

Check if the union tag is ``make_editor``. :rtype: bool

def is_make_owner(self): (source)

Check if the union tag is ``make_owner``. :rtype: bool

def is_make_viewer(self): (source)

Check if the union tag is ``make_viewer``. :rtype: bool

def is_make_viewer_no_comment(self): (source)

Check if the union tag is ``make_viewer_no_comment``. :rtype: bool

def is_other(self): (source)

Check if the union tag is ``other``. :rtype: bool

def is_remove(self): (source)

Check if the union tag is ``remove``. :rtype: bool

leave_a_copy = (source)

Undocumented

make_editor = (source)

Undocumented

make_owner = (source)

Undocumented

make_viewer = (source)

Undocumented

make_viewer_no_comment = (source)

Undocumented

Undocumented

Undocumented

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)

Undocumented

_catch_all: str = (source)

Undocumented