It could easily be defeated as it presumes the author would not be able to demonstrate that he could be a member ( does not have to be ) of a protected class. Remember, should that be the case authors goal is not to score a touch down, it is to get a new set of downs i.e. move forward with a lawsuit.
Judges are very reluctant to toss something out that early if there's even an ounce of a possibility there could be a merit in a case.
California law has very strong protections for employees. And it seems that firing him for the memo may actually be illegal.
The crux of the argument is that Google may have "punished an employee for communicating with fellow employees about improving working conditions", which is illegal.
Also, "California law prohibits employers from threatening to fire employees to get them to adopt or refrain from adopting a particular political course of action."
Furthermore, "It is unlawful for an employer to discipline an employee for challenging conduct that the employee reasonably believed to be discriminatory, even when a court later determines the conduct was not actually prohibited by the discrimination laws".
Read here for more:
https://www.bloomberg.com/news/articles/2017-08-08/google-fi...
I think this comes down to is affirmative action policy a workplace condition. Discussion about workplace conditions is separate from discrimination law entirely so 'protected class' becomes a red herring here. I'm not sure this is the best article but I tried to find something from a left leaning source I find reasonably fair given that this seems to be an anti-right topic.
Of course the punishment for violating this is a fine of no more than $5k, per http://leginfo.legislature.ca.gov/faces/codes_displaySection....
That said, it _may_ open the door for a civil lawsuit per http://leginfo.legislature.ca.gov/faces/codes_displaySection....
Whether any of that applies in this situation is entirely unclear to me, because it hinges on the definitions of "engaging or participating in politics" and so forth. You'd probably need to talk to a competent labor lawyer in California for anything resembling clarity here.