Connectors
Google Drive
Index Google Drive and shared drives, with file-sharing permissions.
The Google Drive connector indexes files in My Drive and shared drives, including Google Docs, Sheets, Slides, PDFs, and Office files. It syncs file-sharing permissions for document-level security.
Prerequisites
- A Google Cloud service account with domain-wide delegation.
- The Drive API enabled, and (for permissions) the Admin SDK.
Configure
| Field | Description |
|---|---|
service_account_key | Service account JSON key. |
subject | Workspace user to impersonate for delegation. |
shared_drives | Shared drives to index; * for all. |
use_document_level_security | Sync file and folder sharing ACLs. |
Sync
- Full sync re-indexes selected drives. Run after sharing or scope changes.
- Incremental sync uses Drive change tokens to index only what changed.
- With document-level security enabled, each file is indexed with its sharing ACL. Results respect the calling user's Drive access.