class documentation

class UpdateFolderPolicyError(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.UpdateFolderPolicyError.not_on_team: ``UpdateFolderPolicyArg.member_policy`` was set even though user is not on a team. :ivar sharing.UpdateFolderPolicyError.team_policy_disallows_member_policy: Team policy is more restrictive than ``ShareFolderArg.member_policy``. :ivar sharing.UpdateFolderPolicyError.disallowed_shared_link_policy: The current account is not allowed to select the specified ``ShareFolderArg.shared_link_policy``. :ivar sharing.UpdateFolderPolicyError.no_permission: The current user does not have permission to perform this action. :ivar sharing.UpdateFolderPolicyError.team_folder: This action cannot be performed on a team shared folder.

Class Method access_error Create an instance of this class set to the ``access_error`` tag with value ``val``.
Method get_access_error Only call this if :meth:`is_access_error` is true.
Method is_access_error Check if the union tag is ``access_error``.
Method is_disallowed_shared_link_policy Check if the union tag is ``disallowed_shared_link_policy``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_not_on_team Check if the union tag is ``not_on_team``.
Method is_other Check if the union tag is ``other``.
Method is_team_folder Check if the union tag is ``team_folder``.
Method is_team_policy_disallows_member_policy Check if the union tag is ``team_policy_disallows_member_policy``.
Class Variable disallowed_shared_link_policy Undocumented
Class Variable no_permission Undocumented
Class Variable not_on_team Undocumented
Class Variable other Undocumented
Class Variable team_folder Undocumented
Class Variable team_policy_disallows_member_policy Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
@classmethod
def access_error(cls, val): (source)

Create an instance of this class set to the ``access_error`` tag with value ``val``. :param SharedFolderAccessError val: :rtype: UpdateFolderPolicyError

def get_access_error(self): (source)

Only call this if :meth:`is_access_error` is true. :rtype: SharedFolderAccessError

def is_access_error(self): (source)

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

def is_disallowed_shared_link_policy(self): (source)

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

def is_no_permission(self): (source)

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

def is_not_on_team(self): (source)

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

def is_other(self): (source)

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

def is_team_folder(self): (source)

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

def is_team_policy_disallows_member_policy(self): (source)

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

disallowed_shared_link_policy = (source)

Undocumented

no_permission = (source)

Undocumented

not_on_team = (source)

Undocumented

Undocumented

team_folder = (source)

Undocumented

team_policy_disallows_member_policy = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented