Skip to content

kataring/embulk-output-google_spreadsheets

Repository files navigation

Google Spreadsheets output plugin for Embulk Build Status Gem Version

Embulk output plugin to load into Google Spreadsheets.

Overview

  • Plugin type: output
  • Load all or nothing: no
  • Resume supported: no
  • Cleanup supported: yes

Usage

Install plugin

embulk gem install embulk-output-google_spreadsheets

Configuration

  • service_account_email: Your Google service account email (string, required)
  • p12_keyfile: Fullpath of private key in P12(PKCS12) format (string, required)
  • spreadsheet_id: Your spreadsheet id (string, required)
  • sheet_index: sheet index (int, optional default: 0)
  • application_name: Anything you like (string, optional defaulf: "Embulk-GoogleSpreadsheets-OutputPlugin")

Example

out:
  type: google_spreadsheets
  service_account_email: 'XXXXXXXXXXXXXXXXXXXXXXXX@developer.gserviceaccount.com'
  p12_keyfile: '/tmp/embulk.p12'
  spreadsheet_id: '1RPXaB85DXM7sGlpFYIcpoD2GWFpktgh0jBHlF4m1a0A'

Build

$ ./gradlew gem