84 lines
2.8 KiB
YAML
84 lines
2.8 KiB
YAML
documentationUrl: https://docs.airbyte.io/integrations/sources/google-sheets
|
|
connectionSpecification:
|
|
$schema: http://json-schema.org/draft-07/schema#
|
|
title: Stripe Source Spec
|
|
type: object
|
|
required:
|
|
- spreadsheet_id
|
|
- credentials
|
|
additionalProperties: true
|
|
properties:
|
|
spreadsheet_id:
|
|
type: string
|
|
title: Spreadsheet Link
|
|
description: >-
|
|
The link to your spreadsheet. See <a
|
|
href='https://docs.airbyte.com/integrations/sources/google-sheets#sheetlink'>this
|
|
guide</a> for more details.
|
|
examples:
|
|
- https://docs.google.com/spreadsheets/d/1hLd9Qqti3UyLXZB2aFfUWDT7BG-arw2xy4HR3D-dwUb/edit
|
|
credentials:
|
|
type: object
|
|
title: Authentication
|
|
description: >-
|
|
Google API Credentials for connecting to Google Sheets and Google Drive
|
|
APIs
|
|
oneOf:
|
|
- title: Authenticate via Google (OAuth)
|
|
type: object
|
|
required:
|
|
- auth_type
|
|
- client_id
|
|
- client_secret
|
|
- refresh_token
|
|
properties:
|
|
auth_type:
|
|
type: string
|
|
const: Client
|
|
client_id:
|
|
title: Client ID
|
|
type: string
|
|
description: The Client ID of your Google Sheets developer application.
|
|
airbyte_secret: true
|
|
client_secret:
|
|
title: Client Secret
|
|
type: string
|
|
description: The Client Secret of your Google Sheets developer application.
|
|
airbyte_secret: true
|
|
refresh_token:
|
|
title: Refresh Token
|
|
type: string
|
|
description: The token for obtaining new access token.
|
|
airbyte_secret: true
|
|
- title: Service Account Key Authentication
|
|
type: object
|
|
required:
|
|
- auth_type
|
|
- service_account_info
|
|
properties:
|
|
auth_type:
|
|
type: string
|
|
const: Service
|
|
service_account_info:
|
|
type: string
|
|
title: Service Account Information.
|
|
description: >-
|
|
The JSON key of the service account to use for authorization.
|
|
See <a
|
|
href='https://github.com/airbytehq/airbyte/blob/master/docs/integrations/sources/google-sheets.md#setupguide'>Setup
|
|
Guide</a> for more details
|
|
airbyte_secret: true
|
|
examples:
|
|
- '{ "type": "service_account", "project_id": YOUR_PROJECT_ID, "private_key_id": YOUR_PRIVATE_KEY, ... }'
|
|
authSpecification:
|
|
auth_type: oauth2.0
|
|
oauth2Specification:
|
|
rootObject:
|
|
- credentials
|
|
- 0
|
|
oauthFlowInitParameters:
|
|
- ["client_id"]
|
|
- ["client_secret"]
|
|
oauthFlowOutputParameters:
|
|
- ["refresh_token"]
|