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

FieldDescription
service_account_keyService account JSON key.
subjectWorkspace user to impersonate for delegation.
shared_drivesShared drives to index; * for all.
use_document_level_securitySync 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.