Damore wrote an essay basically arguing women and minorities should be incapable of joining the software profession based on their genetics.
The effect of which would silence both their work rights and free speech rights.
Google, a private corporation, not a government, decided to stop contracting with him, as they have women and minorities on staff whose employment output likely outweighs his personal need to write long, politically charged, essays at work. To me that sounds like no one's essential rights were violated at all.