The gdrive utility is a utility to download Google Drive files. Note that this is not an extractor and will not work when paired with a loader.
Getting Started
Prerequisites
If you haven't already, follow the initial steps of the Getting Started guide:
Installation and configuration
-
Add the gdrive utility to your
project using
:meltano add
-
Configure the gdrive
settings using
:meltano config
meltano add utility gdrive
meltano config gdrive set --interactive
Next steps
If you run into any issues, learn how to get help.
Capabilities
This plugin currently has no capabilities defined. If you know the capabilities required by this plugin, please contribute!Settings
The
gdrive
settings that are known to Meltano are documented below. To quickly
find the setting you're looking for, click on any setting name from the list:
You can also list these settings using
with the meltano config
list
subcommand:
meltano config gdrive list
You can
override these settings or specify additional ones
in your meltano.yml
by adding the settings
key.
Please consider adding any settings you have defined locally to this definition on MeltanoHub by making a pull request to the YAML file that defines the settings for this plugin.
Access Token (access_token)
-
Environment variable:
GDRIVE_ACCESS_TOKEN
Google Access Token.
Configure this setting directly using the following Meltano command:
meltano config gdrive set access_token [value]
Client ID (client_id)
-
Environment variable:
GDRIVE_CLIENT_ID
Google Client ID.
Configure this setting directly using the following Meltano command:
meltano config gdrive set client_id [value]
Client Secret (client_secret)
-
Environment variable:
GDRIVE_CLIENT_SECRET
Google Client Secret.
Configure this setting directly using the following Meltano command:
meltano config gdrive set client_secret [value]
File ID (file_id)
-
Environment variable:
GDRIVE_FILE_ID
Google Drive File or Folder ID. More information on settings
Configure this setting directly using the following Meltano command:
meltano config gdrive set file_id [value]
Output Path (output_path)
-
Environment variable:
GDRIVE_OUTPUT_PATH
Output path for downloaded files.
Configure this setting directly using the following Meltano command:
meltano config gdrive set output_path [value]
Refresh Token (refresh_token)
-
Environment variable:
GDRIVE_REFRESH_TOKEN
Google Refresh Token.
Configure this setting directly using the following Meltano command:
meltano config gdrive set refresh_token [value]
Commands
The gdrive utility supports the following commands that can be used withmeltano invoke
:run
-
Equivalent to:
$GDRIVE_FILE_ID
Download a file or folder of files from Google Drive.
meltano invoke gdrive:run [args...]
Something missing?
This page is generated from a YAML file that you can contribute changes to.
Edit it on GitHub!Looking for help?
#plugins-general
channel.