GoogleSheets source connector

Description

Used to read data from GoogleSheets.

Key features

Options

name type required default value
service_account_key string yes -
sheet_id string yes -
sheet_name string yes -
range string yes -
schema config no -

service_account_key [string]

google cloud service account, base64 required

sheet_id [string]

sheet id in a Google Sheets URL

sheet_name [string]

the name of the sheet you want to import

range [string]

the range of the sheet you want to import

schema [config]

fields [config]

the schema fields of upstream data

Example

simple:

  1. GoogleSheets {
  2. service_account_key = "seatunnel-test"
  3. sheet_id = "1VI0DvyZK-NIdssSdsDSsSSSC-_-rYMi7ppJiI_jhE"
  4. sheet_name = "sheets01"
  5. range = "A1:C3"
  6. schema = {
  7. fields {
  8. a = int
  9. b = string
  10. c = string
  11. }
  12. }
  13. }

Changelog

next version

  • Add GoogleSheets Source Connector