Identity and HR · Read with a key
Google Workspace (directory)
People, departments, cost centres and suspended or deleted accounts from Google Workspace, plus the third-party apps people granted OAuth access with their Google account. Feeds the employee directory used by seat pages and shadow AI discovery. No cost is read.
- How data moves
- AI Spendbook reads it on a schedule with a key, token or read-only role you give it.
- Credential
- Service account
- What it covers
- employee directory
- Money
- No cost data
- Runs
- daily
- Freshness
- Users are current. OAuth grants cover the sync window; Google reports them with a delay of hours.
- History on first sync
- Up to 180 days
- Not included
- cost
- Status
- Built from the vendor's public documentation and tested with recorded responses. Not yet run against a live account.
Set it up
- Create a service account in Google Cloud and download its JSON key.
- In the Admin console under Security > API controls > Domain-wide delegation, allow its client ID the scopes admin.directory.user.readonly and admin.reports.audit.readonly.
- Paste the key and the email of a Workspace admin the service account acts as.
What it needs
A service account with domain-wide delegation for the scopes admin.directory.user.readonly and admin.reports.audit.readonly, acting as an admin.