Google Gemini for Workspace
The Google Gemini connector reads Gemini activity from the Google Workspace Admin SDK Reports API. It covers Gemini in Gmail, Docs, Sheets, Slides, Meet and Drive, plus the Gemini app for Workspace users. Usage is attributed to users and organizational units, so Gemini appears next to every other AI tool in PromptGlass.
Set up
Section titled “Set up”- In Google Cloud, create a service account and turn on domain-wide delegation.
- In the Workspace Admin console, authorize these scopes for the service account’s client ID:
https://www.googleapis.com/auth/admin.reports.audit.readonlyhttps://www.googleapis.com/auth/admin.reports.usage.readonlyhttps://www.googleapis.com/auth/admin.directory.user.readonly
- Add the connector:
promptglass connectors add google-gemini \ --customer-id C0abc123 --admin-email admin@example.com \ --service-account-key ./sa.json --backfill 30dData collected
Section titled “Data collected”| Source | Data |
|---|---|
Reports API: gemini_in_workspace_apps activities |
Feature used, app, user, timestamp |
| Reports API: usage reports | Active users by app |
| Directory API | OU, department and cost center for rollups |
| License Manager API | Gemini add-on assignments, used for idle seats |
Personal Gemini
Section titled “Personal Gemini”gemini.google.com used with personal Google accounts doesn’t appear in Workspace logs. The browser extension and forward proxy tell the two apart by signed-in account and report personal use as shadow AI.