Then, what is the exact Trek "definition" of a god the conditions of which all these fail to meet? After all, even if you were to forward the blanket statement "no gods (as such) exist in Trek", you'd still have to start from (at least an implicit/informal/intuitive) definition of what that 'godhood' is supposed to be, otherwise saying that such beings do not exist does not carry much meaning.
If you go for the more operational stance: 'we don't need to know what it is, as long as Trek says these aren't gods it's good enough', then still it would be interesting to know exactly what the implicit definition of a 'god' behind Trek lore would be.
As far as TNG and TOS are concerned, I at least agree with you they seem to proceed from a 'humanistic' point of view, however vaguely defined. DS9 might as well, but adds a more pluralistic viewpoint to it 'We consider beings x as advanced aliens, but species y considers them gods; who's to say whether either our or species' y perception is correct or not?' - At least that seems to be the stance on the wormhole aliens, the view that the Founders might be gods seems to be taken less seriously by "our" heroes.