class documentation

class SharingFileAccessError(bb.Union): (source)

View In Hierarchy

User could not access this file. 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.SharingFileAccessError.no_permission: Current user does not have sufficient privileges to perform the desired action. :ivar sharing.SharingFileAccessError.invalid_file: File specified was not found. :ivar sharing.SharingFileAccessError.is_folder: A folder can't be shared this way. Use folder sharing or a shared link instead. :ivar sharing.SharingFileAccessError.inside_public_folder: A file inside a public folder can't be shared this way. Use a public link instead. :ivar sharing.SharingFileAccessError.inside_osx_package: A Mac OS X package can't be shared this way. Use a shared link instead.

Method is_inside_osx_package Check if the union tag is ``inside_osx_package``.
Method is_inside_public_folder Check if the union tag is ``inside_public_folder``.
Method is_invalid_file Check if the union tag is ``invalid_file``.
Method is_is_folder Check if the union tag is ``is_folder``.
Method is_no_permission Check if the union tag is ``no_permission``.
Method is_other Check if the union tag is ``other``.
Class Variable inside_osx_package Undocumented
Class Variable inside_public_folder Undocumented
Class Variable invalid_file Undocumented
Class Variable is_folder Undocumented
Class Variable no_permission Undocumented
Class Variable other Undocumented
Method _process_custom_annotations Undocumented
Class Variable _catch_all Undocumented
def is_inside_osx_package(self): (source)

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

def is_inside_public_folder(self): (source)

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

def is_invalid_file(self): (source)

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

def is_is_folder(self): (source)

Check if the union tag is ``is_folder``. :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

inside_osx_package = (source)

Undocumented

inside_public_folder = (source)

Undocumented

invalid_file = (source)

Undocumented

is_folder = (source)

Undocumented

no_permission = (source)

Undocumented

Undocumented

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

Undocumented

_catch_all: str = (source)

Undocumented