class documentation

class RequestedLinkAccessLevel(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.RequestedLinkAccessLevel.viewer: Users who use the link can view and comment on the content. :ivar sharing.RequestedLinkAccessLevel.editor: Users who use the link can edit, view and comment on the content. Note not all file types support edit links yet. :ivar sharing.RequestedLinkAccessLevel.max: Request for the maximum access level you can set the link to. :ivar sharing.RequestedLinkAccessLevel.default: Request for the default access level the user has set.

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

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

def is_editor(self): (source)

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

def is_max(self): (source)

Check if the union tag is ``max``. :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

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented