Hi Paul - unfortunately water and electricity don't mix! It is not advised you leave your generator exposed to the weather for long periods as ports and other components can be slowly damaged over time. It is recommended you shelter the generator, or store it under cover when not in use.
However, it is ESSENTIAL your generator is not confined to an indoor space when it is operating as it produces carbon monoxide. Cheers, Steve