YouTube has come under fire for the lengths it goes to for diversity, facing a civil lawsuit alleging they stopped hiring white or Asian men for technical positions in 2017.
White man Arne Wilberg filed the suit in January 2018 following five years working for Google, and four years as a recruiter at YouTube, The Wall Street Journal reports.
The suit says Google set quotas for hiring minorities and in 2017, instructed staff to cancel interviews with candidates that were not black, Hispanic or female and "purge" the applications white and Asian men.
Mr Wilberg argues he was discriminated against because he was a white man and the company fired him when he complained, violating anti-discrimination laws.
In 2017 69 percent of Google's employees were men and the percentage of Google's workforce that is white of Asian has been 91 percent since 2014.
Google says they will fight the lawsuit and their hiring processes favour the merit of the candidates over their identities.
"We have a clear policy to hire candidates based on their merit, not their identity," a spokesperson told the Wall Street Journal.
"At the same time, we unapologetically try to find a diverse pool of qualified candidates for open roles, as this helps us hire the best people, improve our culture, and build better products."
The company is currently facing two other gender based lawsuits, one alleging it discriminates against woman and another arguing discrimination against conservative white men.