class documentation

class RemoveFolderMemberError(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.RemoveFolderMemberError.folder_owner: The target user is the owner of the shared folder. You can't remove this user until ownership has been transferred to another member. :ivar sharing.RemoveFolderMemberError.group_access: The target user has access to the shared folder via a group. :ivar sharing.RemoveFolderMemberError.team_folder: This action cannot be performed on a team shared folder. :ivar sharing.RemoveFolderMemberError.no_permission: The current user does not have permission to perform this action. :ivar sharing.RemoveFolderMemberError.too_many_files: This shared folder has too many files for leaving a copy. You can still remove this user without leaving a copy.

Class Method access_error Create an instance of this class set to the ``access_error`` tag with value ``val``.
Class Method member_error Create an instance of this class set to the ``member_error`` tag with value ``val``.
Method get_access_error Only call this if :meth:`is_access_error` is true.
Method get_member_error Only call this if :meth:`is_member_error` is true.
Method is_access_error Check if the union tag is ``access_error``.
Method is_folder_owner Check if the union tag is ``folder_owner``.
Method is_group_access Check if the union tag is ``group_access``.
Method is_member_error Check if the union tag is ``member_error``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_other Check if the union tag is ``other``.
Method is_team_folder Check if the union tag is ``team_folder``.
Method is_too_many_files Check if the union tag is ``too_many_files``.
Class Variable folder_owner Undocumented
Class Variable group_access Undocumented
Class Variable no_permission Undocumented
Class Variable other Undocumented
Class Variable team_folder Undocumented
Class Variable too_many_files 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: RemoveFolderMemberError

@classmethod
def member_error(cls, val): (source)

Create an instance of this class set to the ``member_error`` tag with value ``val``. :param SharedFolderMemberError val: :rtype: RemoveFolderMemberError

def get_access_error(self): (source)

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

def get_member_error(self): (source)

Only call this if :meth:`is_member_error` is true. :rtype: SharedFolderMemberError

def is_access_error(self): (source)

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

def is_folder_owner(self): (source)

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

def is_group_access(self): (source)

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

def is_member_error(self): (source)

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

def is_no_permission(self): (source)

Check if the union tag is ``no_permission``. :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_too_many_files(self): (source)

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

folder_owner = (source)

Undocumented

group_access = (source)

Undocumented

no_permission = (source)

Undocumented

Undocumented

team_folder = (source)

Undocumented

too_many_files = (source)

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented