What's more likely: the author was fired for suggesting alternate methods of improving diversity at Google or the author was fired for repeating unsupported gender stereotypes, offering alternate methods that themselves played on gender stereotypes, and creating an environment in which he would not be able to effectively carry out his responsibilities as a result of promoting gender stereotypes?
The author was fired because some issues are considered thought crimes and you have to go with the mainstream opinion.
Is calling my co-workers who are people of colour racial slurs a thought crime? Should I be fired for that, or should my employer tolerate it? Should I be allowed to make remarks about how evolutionary psychology tells me that women should be in the kitchen? Or that African Americans are predisposed to crime?
At what point does saying things stops becoming thought crime, and starts becoming 'creating a hostile work environment'? There has to be a point of crossover, somewhere, right?
If you said yes, you're an authoritarian stifling discourse. If you said no, then... Well, that's certainly a principled stance you can take.