class documentation

class MemberPolicy(bb.Union): (source)

View In Hierarchy

Policy governing who can be a member of a shared folder. Only applicable to folders owned by a user on a team. 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.MemberPolicy.team: Only a teammate can become a member. :ivar sharing.MemberPolicy.anyone: Anyone can become a member.

Method is_anyone Check if the union tag is ``anyone``.
Method is_other Check if the union tag is ``other``.
Method is_team Check if the union tag is ``team``.
Class Variable anyone Undocumented
Class Variable other Undocumented
Class Variable team Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_anyone(self): (source)

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

def is_other(self): (source)

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

def is_team(self): (source)

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

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented