strange, how was the agent connecting to your google services? I've done this using google cloud APIs and the connecting application uses app connections inside of sheets/calendar etc.