The neutral is not bonded to ground at the generator. this is a permanent installation and it does go through a 3 pole ATS.
The neutral does bond to ground by:
N from gen through ATS to (generator breaker panel) neutral buss bar then to main panel neutral buss which is bonded.