Google Sheets Output
Google Sheets Output
Google Sheets OutputDescription
The Google Sheets Output transform writes data to a Google Sheets worksheets.
This transform requires a Google service account (JSON file) and a Google Cloud project with the Google Drive and Google Sheets API enabled.
Hop Engine
✓
Spark
?
Flink
?
Dataflow
?
Options
Service account tab
JSON credential key file
Lets you specify or browse for spreadsheets existing in the service account drive or for the ones that are shared with the service account email.
Application Name
Your application name for the service account in the Google Developer Console.
Timeout
lets you specify an https timeout (in minutes, defaults to 5).
Impersonation
lets you impersonate your service account. Check the Google docs for more information.
Click the Test Connection button to verify your specified JSON credential key file for your service account can use the Google Drive and Spreadsheets APIs and has access to your Google Spreadsheets. On success, you will see a Google Drive API: Success! message.
Proxy tab
Proxy host
Proxy server hostname
Proxy port
Proxy server port
Spreadsheet tab
Spreadsheet key
Lets you specify or browse for spreadsheets existing in the service account drive or for the ones that are shared with the service account email. If you type in a sheet name (that does not exist in the drive) it will attempt to create a sheet it the "create" checkbox is ticked.
Worksheet Id
Should be browsed form the selected spreadsheet key. If you want to create a new file, type in any key that will become the name of the worksheet in the created spreadsheet
Append to sheet
Appends the lines without the header to an existing spreadsheet. This is incompatible with the create option below.
Create new sheet if it does not exist
If the checkbox is checked then if the Spreadsheet Key specified in the field Spreadsheet key does not exist it will create a new spreadsheet within the service account drive (note that this account has no UI)
Replace sheet if exists
Deletes and recreates the sheet if it exists. This option can be useful to avoid excessive versioning information that sometimes causes problems in pipelines that write to a Google Sheet frequently.
Share Full Rights (RW) with
the Share with user email field lets you specify the email of a user who will get full rights on the freshly created file.
Domain Wide Permission
Enables to share with your whole domain (if configured in Google Drive).
Last updated