class documentation

class SharedLinkCreatePolicy(bb.Union): (source)

View In Hierarchy

Policy governing the visibility of shared links. This policy can apply to newly created shared links, or all shared links. 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 team_policies.SharedLinkCreatePolicy.default_public: By default, anyone can access newly created shared links. No login will be required to access the shared links unless overridden. :ivar team_policies.SharedLinkCreatePolicy.default_team_only: By default, only members of the same team can access newly created shared links. Login will be required to access the shared links unless overridden. :ivar team_policies.SharedLinkCreatePolicy.team_only: Only members of the same team can access all shared links. Login will be required to access all shared links. :ivar team_policies.SharedLinkCreatePolicy.default_no_one: Only people invited can access newly created links. Login will be required to access the shared links unless overridden.

Method is_default_no_one Check if the union tag is ``default_no_one``.
Method is_default_public Check if the union tag is ``default_public``.
Method is_default_team_only Check if the union tag is ``default_team_only``.
Method is_other Check if the union tag is ``other``.
Method is_team_only Check if the union tag is ``team_only``.
Class Variable default_no_one Undocumented
Class Variable default_public Undocumented
Class Variable default_team_only Undocumented
Class Variable other Undocumented
Class Variable team_only Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_default_no_one(self): (source)

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

def is_default_public(self): (source)

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

def is_default_team_only(self): (source)

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

def is_other(self): (source)

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

def is_team_only(self): (source)

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

default_no_one = (source)

Undocumented

default_public = (source)

Undocumented

default_team_only = (source)

Undocumented

Undocumented

team_only = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented