Skip to main content

Module google_grants

Module google_grants 

Source
Expand description

Which agents may use which Google service of a connected account, and what they did with it (docs/specs/SPEC_GOOGLE_CONNECTORS_GMAIL_CALENDAR_DRIVE_2026_10_14.md D4, D7).

  • db_google_grants: per agent (its definition id, the uid a verified call carries), per account, per service (calendar, drive, gmail), a level: read, or write (read and write). No row is off, the default.
  • db_google_calls: one row per tool call: when, which agent, which action, the ids it touched and how it ended. Never content. Kept 30 days.

In the identity store, beside the account links, so every channel on the computer sees the same grants.

Structs§

GoogleCall
One line of an account’s call log.
GoogleGrant
One agent’s grant on one service of one account.

Enums§

CallsCounted
Which log lines a count takes.
GrantLevel
What an agent may do with one service of one account.

Constants§

CALLS_RETENTION_MS
How long a call’s log line is kept.
SERVICES
The Google services an account can be used for.