class documentation

class DefaultLinkExpirationDaysPolicy(bb.Union): (source)

View In Hierarchy

Policy for the default number of days until an externally shared link expires 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.

Method is_day_1 Check if the union tag is ``day_1``.
Method is_day_180 Check if the union tag is ``day_180``.
Method is_day_3 Check if the union tag is ``day_3``.
Method is_day_30 Check if the union tag is ``day_30``.
Method is_day_7 Check if the union tag is ``day_7``.
Method is_day_90 Check if the union tag is ``day_90``.
Method is_none Check if the union tag is ``none``.
Method is_other Check if the union tag is ``other``.
Method is_year_1 Check if the union tag is ``year_1``.
Class Variable day_1 Undocumented
Class Variable day_180 Undocumented
Class Variable day_3 Undocumented
Class Variable day_30 Undocumented
Class Variable day_7 Undocumented
Class Variable day_90 Undocumented
Class Variable none Undocumented
Class Variable other Undocumented
Class Variable year_1 Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_day_1(self): (source)

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

def is_day_180(self): (source)

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

def is_day_3(self): (source)

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

def is_day_30(self): (source)

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

def is_day_7(self): (source)

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

def is_day_90(self): (source)

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

def is_none(self): (source)

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

def is_other(self): (source)

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

def is_year_1(self): (source)

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

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented