"""Drive sub-package.

Re-exports all symbols from sub-modules for backward compatibility."""

from gam.cmd.drive.core import (  # noqa: F401
    CONSOLIDATION_GROUPING_STRATEGY_CHOICE_MAP,
    DFA_ADD_PARENT_IDS,
    DFA_ADD_PARENT_NAMES,
    DFA_CREATED_TIME,
    DFA_IGNORE_DEFAULT_VISIBILITY,
    DFA_KEEP_REVISION_FOREVER,
    DFA_KWARGS,
    DFA_LOCALFILENAME,
    DFA_LOCALFILEPATH,
    DFA_LOCALMIMETYPE,
    DFA_MODIFIED_TIME,
    DFA_OCRLANGUAGE,
    DFA_PARENTID,
    DFA_PARENTQUERY,
    DFA_PRESERVE_FILE_TIMES,
    DFA_REMOVE_PARENT_IDS,
    DFA_REMOVE_PARENT_NAMES,
    DFA_REPLACEFILENAME,
    DFA_SEARCHARGS,
    DFA_SHAREDDRIVE_PARENT,
    DFA_SHAREDDRIVE_PARENTID,
    DFA_SHAREDDRIVE_PARENTQUERY,
    DFA_STRIPNAMEPREFIX,
    DFA_TIMEFORMAT,
    DFA_TIMESTAMP,
    DFA_URL,
    DFA_USE_CONTENT_AS_INDEXABLE_TEXT,
    DRIVEFILE_PROPERTY_VISIBILITY_CHOICE_MAP,
    DRIVE_ACTIVITY_ACTION_MAP,
    DRIVE_BY_NAME_CHOICE_MAP,
    DRIVE_FILE_CONTENT_RESTRICTIONS_CHOICE_MAP,
    DRIVE_FILE_ITEM_DOWNLOAD_RESTRICTION_CHOICE_MAP,
    DRIVE_LABEL_CHOICE_MAP,
    LOCATION_ALL_DRIVES,
    LOCATION_CHOICE_MAP,
    LOCATION_MYDRIVE,
    LOCATION_ONLY_SHARED_DRIVES,
    LOCATION_ORPHANS,
    LOCATION_OWNEDBY_ANY,
    LOCATION_OWNEDBY_OTHERS,
    LOCATION_SHARED_WITHME,
    MIMETYPE_CHOICE_MAP,
    MIMETYPE_TYPES,
    MimeTypeCheck,
    TITLE_QUERY_PATTERN,
    _convertSharedDriveNameToId,
    _driveFileParentSpecified,
    _getDriveFileAddRemoveParentInfo,
    _getDriveFileDownloadRestrictions,
    _getDriveFileNameFromId,
    _getDriveFileParentInfo,
    _getFileIdFromURL,
    _getSharedDriveNameFromId,
    _mapDrive2QueryToDrive3,
    _simpleFileIdEntityList,
    _validateUserGetFileIDs,
    _validateUserGetSharedDriveFileIDs,
    _validateUserSharedDrive,
    cleanFileIDsList,
    doDriveSearch,
    doSharedDriveSearch,
    escapeDriveFileName,
    getDriveFileAddRemoveParentAttribute,
    getDriveFileAttribute,
    getDriveFileCopyAttribute,
    getDriveFileEntity,
    getDriveFileEntitySharedDriveOnly,
    getDriveFileParentAttribute,
    getDriveFileProperty,
    getEscapedDriveFileName,
    getEscapedDriveFolderName,
    getMediaBody,
    getMimeType,
    getSharedDriveEntity,
    initDriveFileAttributes,
    initDriveFileEntity,
    setPreservedFileTimes,
    validateMimeType,
)
from gam.cmd.drive.activity import (  # noqa: F401
    DRIVESETTINGS_FIELDS_CHOICE_MAP,
    DRIVESETTINGS_SCALAR_FIELDS,
    DRIVESETTINGS_USAGE_BYTES_FIELDS,
    _showSharedDriveThemeSettings,
    doShowSharedDriveThemes,
    printDriveActivity,
    printShowDriveSettings,
    showSharedDriveThemes,
)
from gam.cmd.drive.filepaths import (  # noqa: F401
    addFilePathsToInfo,
    addFilePathsToRow,
    DRIVEFILE_BASIC_PERMISSION_FIELDS,
    DRIVEFILE_ORDERBY_CHOICE_MAP,
    DRIVEFILE_PERMISSIONS_FOR_VIEW_CHOICES,
    DRIVE_CAPABILITIES_SUBFIELDS_CHOICE_MAP,
    DRIVE_CONTENT_RESTRICTIONS_SUBFIELDS_CHOICE_MAP,
    DRIVE_DOWNLOAD_RESTRICTIONS_SUBFIELDS_CHOICE_MAP,
    DRIVE_FIELDS_CHOICE_MAP,
    DRIVE_LABELINFO_SUBFIELDS_CHOICE_MAP,
    DRIVE_LIST_FIELDS,
    DRIVE_OWNERS_SUBFIELDS_CHOICE_MAP,
    DRIVE_PARENTS_SUBFIELDS_CHOICE_MAP,
    DRIVE_PERMISSIONS_SUBFIELDS_CHOICE_MAP,
    DRIVE_SHARINGUSER_SUBFIELDS_CHOICE_MAP,
    DRIVE_SHORTCUTDETAILS_SUBFIELDS_CHOICE_MAP,
    DRIVE_SUBFIELDS_CHOICE_MAP,
    DRIVE_TIME_OBJECTS,
    DriveFileFields,
    FILEINFO_FIELDS_TITLES,
    FILEPATH_FIELDS,
    FILEPATH_FIELDS_TITLES,
    SHOWLABELS_CHOICES,
    _finalizeIncludeLabels,
    _finalizeIncludePermissionsForView,
    _formatFileDriveLabels,
    _getDriveFieldSubField,
    _getIncludeLabels,
    _getIncludePermissionsForView,
    _mapDriveInfo,
    _mapDrivePermissionNames,
    _mapDriveUser,
    _setGetCheckFilePermissions,
    _setGetPermissionsForMyDriveSharedDrives,
    _setSkipObjects,
    getFilePaths,
    initFilePathInfo,
    showFileInfo,
)
from gam.cmd.drive.revisions import (  # noqa: F401
    DRIVE_REVISIONS_INDEXED_TITLES,
    FILEREVISIONS_FIELDS_CHOICE_MAP,
    FILEREVISIONS_TIME_OBJECTS,
    REVISIONS_FIELDS_CHOICE_MAP,
    _selectRevisionIds,
    _selectRevisionResults,
    _showRevision,
    _stripMeInOwners,
    _stripNotMeInOwners,
    _updateAnyOwnerQuery,
    deleteFileRevisions,
    getRevisionsEntity,
    printShowFileRevisions,
    updateFileRevisions,
)
from gam.cmd.drive.filetree import (  # noqa: F401
    CHECK_LOCATION_FIELDS_TITLES,
    DRIVEFILE_ACL_PERMISSION_DETAILS_TYPES,
    DRIVEFILE_ACL_PERMISSION_TYPES,
    DRIVEFILE_ACL_ROLES_MAP,
    DRIVE_INDEXED_TITLES,
    DriveListParameters,
    FILECOUNT_SUMMARY_CHOICE_MAP,
    FILECOUNT_SUMMARY_NONE,
    FILECOUNT_SUMMARY_ONLY,
    FILECOUNT_SUMMARY_PLUS,
    FILECOUNT_SUMMARY_USER,
    FILELIST_FIELDS_TITLES,
    OWNED_BY_ME_FIELDS_TITLES,
    PermissionMatch,
    SHOW_OWNED_BY_CHOICE_MAP,
    SIZE_FIELD_CHOICE_MAP,
    _getGettingEntity,
    _validateACLAttributes,
    _validateACLOwnerType,
    _validatePermissionAttributes,
    _validatePermissionOwnerType,
    buildFileTree,
    extendFileTree,
    extendFileTreeParents,
    initFileTree,
    noFileSelectFileIdEntity,
)
from gam.cmd.drive.filelist import (  # noqa: F401
    FILECOMMENTS_AUTHOR_SUBFIELDS_CHOICE_MAP,
    FILECOMMENTS_FIELDS_CHOICE_MAP,
    FILECOMMENTS_INDEXED_TITLES,
    FILECOMMENTS_REPLIES_SUBFIELDS_CHOICE_MAP,
    FILECOMMENTS_SUBFIELDS_CHOICE_MAP,
    FILECOMMENTS_TIME_OBJECTS,
    _checkUpdateLastModifiction,
    _getCommentFields,
    _getLastModificationPath,
    _initLastModification,
    _showComment,
    _showLastModification,
    _stripCommentPhotoLinks,
    _updateLastModificationRow,
    printFileList,
    printFileParentTree,
    printShowFileComments,
    printShowFilePaths,
)
from gam.cmd.drive.fileinfo import (  # noqa: F401
    DISKUSAGE_SHOW_CHOICES,
    FILESHARECOUNTS_CATEGORIES,
    FILESHARECOUNTS_OWNER,
    FILESHARECOUNTS_SHARED,
    FILESHARECOUNTS_SHARED_EXTERNAL,
    FILESHARECOUNTS_SHARED_INTERNAL,
    FILESHARECOUNTS_TOTAL,
    FILESHARECOUNTS_ZEROCOUNTS,
    FILETREE_FIELDS_CHOICE_MAP,
    FILETREE_FIELDS_PRINT_ORDER,
    getCreationModificationTimes,
    printDiskUsage,
    printShowDrivelastModifications,
    printShowFileCounts,
    printShowFileShareCounts,
    printShowFileTree,
    writeReturnIdLink,
)
from gam.cmd.drive.files import (  # noqa: F401
    FILE_SUBTOTAL_STATS,
    FOLDER_SUBTOTAL_STATS,
    SHORTCUT_CODE_MIMETYPE_MISMATCH,
    SHORTCUT_CODE_NOT_A_SHORTCUT,
    SHORTCUT_CODE_SHORTCUT_NOT_FOUND,
    SHORTCUT_CODE_TARGET_NOT_FOUND,
    SHORTCUT_CODE_VALID,
    STAT_FILE_COPIED_MOVED,
    STAT_FILE_DUPLICATE,
    STAT_FILE_FAILED,
    STAT_FILE_IN_SKIPIDS,
    STAT_FILE_NOT_COPYABLE_MOVABLE,
    STAT_FILE_PERMISSIONS_FAILED,
    STAT_FILE_PROTECTEDRANGES_FAILED,
    STAT_FILE_SHORTCUT_CREATED,
    STAT_FILE_SHORTCUT_EXISTS,
    STAT_FILE_TOTAL,
    STAT_FOLDER_COPIED_MOVED,
    STAT_FOLDER_DUPLICATE,
    STAT_FOLDER_FAILED,
    STAT_FOLDER_MERGED,
    STAT_FOLDER_NOT_WRITABLE,
    STAT_FOLDER_PERMISSIONS_FAILED,
    STAT_FOLDER_SHORTCUT_CREATED,
    STAT_FOLDER_SHORTCUT_EXISTS,
    STAT_FOLDER_TOTAL,
    STAT_LENGTH,
    STAT_USER_NOT_ORGANIZER,
    _incrStatistic,
    _initStatistics,
    addTimestampToFilename,
    checkDriveFileShortcut,
    createDriveFile,
    createDriveFileShortcut,
    createDriveFolderPath,
    processFilenameReplacements,
    updateDriveFile,
)
from gam.cmd.drive.copymove import (  # noqa: F401
    COPY_NONINHERITED_PERMISSIONS_ALWAYS,
    COPY_NONINHERITED_PERMISSIONS_CHOICES_MAP,
    COPY_NONINHERITED_PERMISSIONS_NEVER,
    COPY_NONINHERITED_PERMISSIONS_SYNC_ALL_FOLDERS,
    COPY_NONINHERITED_PERMISSIONS_SYNC_UPDATED_FOLDERS,
    COPY_OWNED_BY_CHOICE_MAP,
    DELETE_DRIVEFILE_CHOICE_MAP,
    DELETE_DRIVEFILE_FUNCTION_TO_ACTION_MAP,
    DELETE_DRIVEFILE_FUNCTION_TO_CAPABILITY_MAP,
    DEST_PARENT_MYDRIVE_FOLDER,
    DEST_PARENT_MYDRIVE_ROOT,
    DEST_PARENT_SHAREDDRIVE_FOLDER,
    DEST_PARENT_SHAREDDRIVE_ROOT,
    DUPLICATE_FILE_CHOICES,
    DUPLICATE_FILE_DUPLICATE_NAME,
    DUPLICATE_FILE_OVERWRITE_ALL,
    DUPLICATE_FILE_OVERWRITE_OLDER,
    DUPLICATE_FILE_SKIP,
    DUPLICATE_FILE_UNIQUE_NAME,
    DUPLICATE_FOLDER_CHOICES,
    DUPLICATE_FOLDER_DUPLICATE_NAME,
    DUPLICATE_FOLDER_MERGE,
    DUPLICATE_FOLDER_SKIP,
    DUPLICATE_FOLDER_UNIQUE_NAME,
    UNIQUE_PREFIX_PATTERN,
    _checkForDuplicateTargetFile,
    _checkForExistingShortcut,
    _copyPermissions,
    _getCopyFolderNonInheritedPermissions,
    _getCopyMoveParentInfo,
    _getCopyMoveTargetInfo,
    _getFilenameParts,
    _getFilenamePrefix,
    _getSheetProtectedRanges,
    _getUniqueFilename,
    _identicalSourceTarget,
    _printStatistics,
    _recursiveUpdateMovePermissions,
    _targetFilenameExists,
    _updateMoveFilePermissions,
    _updateSheetProtectedRanges,
    _updateSheetProtectedRangesACLchange,
    _verifyUserIsOrganizer,
    copyDriveFile,
    getCopyMoveOptions,
    initCopyMoveOptions,
    moveDriveFile,
)
from gam.cmd.drive.transfer import (  # noqa: F401
    DOCUMENT_FORMATS_MAP,
    GOOGLEDOC_VALID_EXTENSIONS_MAP,
    HTTP_ERROR_PATTERN,
    MICROSOFT_FORMATS_LIST,
    MIMETYPE_EXTENSION_MAP,
    NON_DOWNLOADABLE_MIMETYPES,
    OPENOFFICE_FORMATS_LIST,
    SUGGESTIONS_VIEW_MODE_CHOICE_MAP,
    TRANSFER_DRIVEFILE_ACL_ROLES_MAP,
    claimOwnership,
    collectOrphans,
    deleteDriveFile,
    getDriveFile,
    getGoogleDocument,
    getPermissionIdForEmail,
    purgeDriveFile,
    transferDrive,
    transferOwnership,
    trashDriveFile,
    untrashDriveFile,
    updateGoogleDocument,
    validateUserGetPermissionId,
)
from gam.cmd.drive.permissions import (  # noqa: F401
    DRIVELABELS_PERMISSION_ROLE_MAP,
    DRIVELABELS_PROJECTION_CHOICE_MAP,
    DRIVELABELS_TIME_OBJECTS,
    _checkFileIdEntityDomainAccess,
    _getDriveFileACLPrintKeysTimeObjects,
    _showDriveFilePermission,
    _showDriveFilePermissionJSON,
    _showDriveFilePermissions,
    _showDriveFilePermissionsJSON,
    createDriveFileACL,
    createDriveFilePermissions,
    deleteDriveFileACLs,
    deleteEmptyDriveFolders,
    deletePermissions,
    doCreateDriveFileACL,
    doCreatePermissions,
    doDeleteDriveFileACLs,
    doDeletePermissions,
    doInfoDriveFileACLs,
    doPrintShowDriveFileACLs,
    doUpdateDriveFileACLs,
    emptyDriveTrash,
    getDriveFilePermissionsFields,
    infoDriveFileACLs,
    printEmptyDriveFolders,
    printShowDriveFileACLs,
    updateDriveFileACLs,
)
from gam.cmd.drive.labels import (  # noqa: F401
    DRIVELABEL_FIELD_TYPE_MAP,
    _getDisplayDriveLabelsParameters,
    _showDriveLabel,
    _showDriveLabelPermission,
    createDriveLabelPermissions,
    deleteDriveLabelPermissions,
    doCreateDriveLabelPermissions,
    doDeleteDriveLabelPermissions,
    doInfoDriveLabels,
    doPrintShowDriveLabelPermissions,
    doPrintShowDriveLabels,
    infoDriveLabels,
    normalizeDriveLabelID,
    normalizeDriveLabelName,
    printShowDriveLabelPermissions,
    printShowDriveLabels,
    processFileDriveLabels,
    validateDriveLabelName,
)
from gam.cmd.drive.shareddrives import (  # noqa: F401
    PRINT_ORGANIZER_TYPES,
    SHAREDDRIVE_ACL_ROLES_MAP,
    SHAREDDRIVE_API_GUI_ROLES_MAP,
    SHAREDDRIVE_DOWNLOAD_RESTRICTIONS_MAP,
    SHAREDDRIVE_FIELDS_CHOICE_MAP,
    SHAREDDRIVE_LIST_FIELDS_CHOICE_MAP,
    SHAREDDRIVE_RESTRICTIONS_MAP,
    SHAREDDRIVE_ROLES_CAPABILITIES_MAP,
    SHAREDDRIVE_TIME_OBJECTS,
    SHOWWEBVIEWLINK_CHOICES,
    SHOW_NO_PERMISSIONS_DRIVES_CHOICE_MAP,
    _checkSharedDriveRestrictions,
    _getSharedDriveRestrictions,
    _getSharedDriveRole,
    _getSharedDriveTheme,
    _moveSharedDriveToOU,
    _showSharedDrive,
    copySyncSharedDriveACLs,
    createSharedDrive,
    deleteSharedDrive,
    doCopySyncSharedDriveACLs,
    doCreateSharedDrive,
    doDeleteSharedDrive,
    doHideUnhideSharedDrive,
    doInfoSharedDrive,
    doPrintSharedDriveOrganizers,
    doPrintShowOrgunitSharedDrives,
    doPrintShowOwnership,
    doPrintShowSharedDriveACLs,
    doPrintShowSharedDrives,
    doUpdateSharedDrive,
    hideUnhideSharedDrive,
    infoSharedDrive,
    printSharedDriveOrganizers,
    printShowSharedDriveACLs,
    printShowSharedDrives,
    updateSharedDrive,
)
from gam.cmd.drive.looker import (  # noqa: F401
    LOOKERSTUDIO_ADD_UPDATE_PERMISSION_ROLE_CHOICE_MAP,
    LOOKERSTUDIO_ASSETS_ORDERBY_CHOICE_MAP,
    LOOKERSTUDIO_ASSETS_TIME_OBJECTS,
    LOOKERSTUDIO_ASSETTYPE_CHOICE_MAP,
    LOOKERSTUDIO_DELETE_PERMISSION_ROLE_CHOICE_MAP,
    LOOKERSTUDIO_PERMISSION_MODIFIER_MAP,
    LOOKERSTUDIO_VIEW_PERMISSION_ROLE_CHOICE_MAP,
    _getLookerStudioAssetByID,
    _getLookerStudioAssets,
    _showLookerStudioPermissions,
    _validateUserGetLookerStudioAssetIds,
    getLookerStudioAssetSelectionParameters,
    initLookerStudioAssetSelectionParameters,
    printShowLookerStudioAssets,
)
