Ashkenazi will start her new role at Google’s parent company on July 31, after 23 years at Eli Lilly.