class documentation

class LinkAccessLevel(bb.Union): (source)

View In Hierarchy

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.LinkAccessLevel.viewer: Users who use the link can view and comment on the content. :ivar sharing.LinkAccessLevel.editor: Users who use the link can edit, view and comment on the content.

Method is_editor Check if the union tag is ``editor``.
Method is_other Check if the union tag is ``other``.
Method is_viewer Check if the union tag is ``viewer``.
Class Variable editor Undocumented
Class Variable other Undocumented
Class Variable viewer Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_editor(self): (source)

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

def is_other(self): (source)

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

def is_viewer(self): (source)

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

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented