Google has agreed to pay $118 million to settle a class-action gender discrimination lawsuit involving approximately…