Skip to main content

Google Drive

This connector lets you capture data from your Google Drive account into Flow collections.

ghcr.io/estuary/source-google-drive:dev provides the latest connector image. For access to previous image versions, follow the link in your browser.

Prerequisites

To use this connector, make sure you have the following:

  • An active Google Drive account with access credentials.
  • Properly configured permissions for your Google Drive resources.

Note: This connector is designed specifically for .csv files located in a specified Google Drive folder.

Configuration

You can set up the Google Drive source connector either through the Flow web app or by editing the Flow specification file directly. For more information on setting up this connector, refer to our guide on using connectors.

The values and specification sample below provide configuration details specific to the Google Drive connector.

Properties

Endpoint

PropertyTitleDescriptionTypeRequired/Default
/credentialsCredentialsJSON file containing authentication credentials for Google Drive.fileRequired

Bindings

PropertyTitleDescriptionTypeRequired/Default
/file_idFile IDUnique identifier of the Google Drive file.stringRequired
/pathPathPath to the file or directory in Google Drive.stringRequired

Sample

captures:
${PREFIX}/${CAPTURE_NAME}:
endpoint:
connector:
image: ghcr.io/estuary/source-google-drive:dev
config:
credentials: /path/to/your/credentials.json
bindings:
- resource:
file_id: "your_google_drive_file_id"
path: "/path/in/google/drive"
target: ${PREFIX}/target_name