How can I allow all domains, apart from gmail.com, to connect through our Google enterprise connection?

How can I allow all domains, apart from gmail.com, to connect through our Google enterprise connection? I tried adding * to Identity provider domains. It is not allowed.