Required Scopes

To configure a Sync for Google Drive, you need to request the following scopes from your Google OAuth application:

  • https://www.googleapis.com/auth/drive.readonly
  • https://www.googleapis.com/auth/admin.reports.audit.readonly (optional - for ingesting Permissions Sync link sharing access)

Learn more about configuring scopes for your app in Adding Integrations.

Synced Objects

Google Drive supports the following Synced Objects:

Files

Sync Configuration Options

Example
{
    "integration": "googledrive",
    "pipeline": "files",
    "configuration": {
        "folderId": "1DBmDMhWTzNapG2sSiu7-u7lkSCJnyC34"
    }
}
folderId
string

A Google Drive Folder ID to limit the Sync scope to. If not specified, the Sync will ingest all available files.