class documentation

class LinkAction(bb.Union): (source)

View In Hierarchy

Actions that can be performed on a link. 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.LinkAction.change_access_level: Change the access level of the link. :ivar sharing.LinkAction.change_audience: Change the audience of the link. :ivar sharing.LinkAction.remove_expiry: Remove the expiry date of the link. :ivar sharing.LinkAction.remove_password: Remove the password of the link. :ivar sharing.LinkAction.set_expiry: Create or modify the expiry date of the link. :ivar sharing.LinkAction.set_password: Create or modify the password of the link.

Method is_change_access_level Check if the union tag is ``change_access_level``.
Method is_change_audience Check if the union tag is ``change_audience``.
Method is_other Check if the union tag is ``other``.
Method is_remove_expiry Check if the union tag is ``remove_expiry``.
Method is_remove_password Check if the union tag is ``remove_password``.
Method is_set_expiry Check if the union tag is ``set_expiry``.
Method is_set_password Check if the union tag is ``set_password``.
Class Variable change_access_level Undocumented
Class Variable change_audience Undocumented
Class Variable other Undocumented
Class Variable remove_expiry Undocumented
Class Variable remove_password Undocumented
Class Variable set_expiry Undocumented
Class Variable set_password Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_change_access_level(self): (source)

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

def is_change_audience(self): (source)

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

def is_other(self): (source)

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

def is_remove_expiry(self): (source)

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

def is_remove_password(self): (source)

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

def is_set_expiry(self): (source)

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

def is_set_password(self): (source)

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

change_access_level = (source)

Undocumented

change_audience = (source)

Undocumented

Undocumented

remove_expiry = (source)

Undocumented

remove_password = (source)

Undocumented

set_expiry = (source)

Undocumented

set_password = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented