Google Drive

Configure Google Drive integration

Configuration

data_pools:
  - id: google-drive
    type: drive
    refresh_token: $GOOGLE_REFRESH_TOKEN
    scope: "drive.readonly"
    root_folder_id: null
    team_drive: null

Configuration Options

FieldTypeDefaultRequiredDescription
idstring-Unique identifier for the data pool
typestring-Must be "drive"
refresh_tokenstring-OAuth refresh token
scopestring"drive.readonly"Access scope
root_folder_idstringnullOptional specific folder ID
team_drivestringnullShared drive ID
client_idstringnullOptional custom client ID
client_secretstringnullOptional custom client secret
base_pathstring"/"Optional folder path

Setup

  1. Create Google Cloud project: Google Cloud Console
  2. Enable Drive API: Enable Google Drive API
  3. Create OAuth credentials: Download client credentials
  4. Get refresh token: Complete OAuth2 flow
  5. Add to environment: GOOGLE_REFRESH_TOKEN

Google Drive API Documentation