-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
559b3bf
commit 666540d
Showing
1 changed file
with
49 additions
and
0 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
site/docs/reference/Connectors/capture-connectors/google-drive.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Google Drive | ||
|
||
This connector lets you capture data from your Google Drive account into Flow collections. | ||
|
||
[ghcr.io/estuary/source-google-drive:dev](https://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. | ||
|
||
## 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 | ||
|
||
| Property | Title | Description | Type | Required/Default | | ||
|--------------------|----------------|--------------------------------------------------------------------|--------|-------------------| | ||
| **`/credentials`** | Credentials | JSON file containing authentication credentials for Google Drive. | file | Required | | ||
|
||
### Bindings | ||
|
||
| Property | Title | Description | Type | Required/Default | | ||
|----------------|-------------|--------------------------------------|---------|-------------------| | ||
| **`/file_id`** | File ID | Unique identifier of the Google Drive file. | string | Required | | ||
| **`/path`** | Path | Path to the file or directory in Google Drive. | string | Required | | ||
|
||
### Sample | ||
|
||
```yaml | ||
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 |