The allegations stem primarily from large severance payments to Andy Rubin, who led Google’s Android mobile operating division until 2014, and Amit Singhal, head of Google’s search unit until 2016. Company investigations into both men had found accusations of sexual harassment against them to be credible, according to the lawsuits.