WHere and how to vent a gas device is described in the installation manual. There will be rules about its location relative to doors/windows/overhangs/walkways, etc., the length and type of material that can be used, and the type of vent hood. Hard to say without knowing the exact unit. That could be fine, it may not be. It probably wouldn't be for most newer systems.