def METHOD_NAME(cls, stream_name: str, properties: Mapping[str, Any], force_use_bulk_api: bool) -> str:
    # Salesforce BULK API currently does not support loading fields with data type base64 and compound data
    properties_not_supported_by_bulk = {
        key: value for key, value in properties.items() if value.get("format") == "base64" or "object" in value["type"]
    }
    rest_only = stream_name in UNSUPPORTED_BULK_API_SALESFORCE_OBJECTS
    if rest_only:
        logger.warning(f"BULK API is not supported for stream: {stream_name}")
        return "rest"
    if force_use_bulk_api and properties_not_supported_by_bulk:
        logger.warning(
            f"Following properties will be excluded from stream: {stream_name} due to BULK API limitations: {list(properties_not_supported_by_bulk)}"
        )
        return "bulk"
    if properties_not_supported_by_bulk:
        return "rest"
    return "bulk"