This is a longstanding issue we’ve had, not just with Gemini
Even with something as simple as google workspace - permissioning service accounts and authentication are a pain in the ass
The docs suck and of course there’s no one to help