Remove useless function
Use googleapis 1.x