Google Sheets
Google Sheets is a web-based application that enables users to create and update spreadsheets in real time.
Google Sheets integration will generate tables containing data related to metadata and the individual sheets within a spreadsheet.
See the Schema section for a list of objects available for replication.Preparing for authentication
To access your data, you need to authenticate the connection with your account credentials.
- Log into your Google Search Console account.
- Create or select a project.
- Select the Credentials tab on the left.
- Select your OAuth app in the OAuth 2.0 Client IDs section. The client ID and secret are displayed.
- Make sure Authorized Redirect URIs is set to https://connector.qlik.com/auth/oauth/v3.htm.
- To create a new client ID, click Create Credentials.
Creating the connection
有关更多信息,请参阅连接到 SaaS 应用程序。
填写完所需的连接设置后,单击身份验证。
您可能会被要求登录源应用程序。
将显示一个带有身份验证代码的窗口。
将代码复制到剪贴板,然后返回到连接对话框。
粘贴使用源提供的代码完成身份验证中的代码,然后单击验证。
提示注释您可能需要向下滚动才能查看此字段。在状态为已验证时,身份验证即得到验证。
在连接名称中提供连接的名称。
选择打开连接元数据以定义创建连接时的元数据。
| Setting | Description |
|---|---|
| Data gateway | 如果您的用例需要,请选择一个 数据移动网关。 信息注释 此字段不适用于 Qlik Talend Cloud Starter 订阅,因为它不支持 数据移动网关。如果您有另一个订阅层并且不想使用 数据移动网关,请选择无。 有关 数据移动网关 的优势和需要它的用例的信息,请参阅Qlik 数据网关 - 数据移动。 |
| Start Date | 按格式 |
| Spreadsheet ID | The part of the URL when viewing or editing a Google sheet.
Example: For more information, see the Google documentation. |
| Client ID | Client ID. |
| Client Secret | Client secret. |
Schema
Schemas and naming conventions can change from version to version. It is recommended to verify your version before continuing.
The schema and info displayed below is for version 1.
Depending on your destination, table and column names may not appear as they are outlined below.
file_metadata
The file_metadata table contains metadata about the spreadsheet defined in the integration’s settings.
Replication Method | CDC |
Primary Key | id |
Replication Key | modifiedTime |
| Useful links |
sheet_metadata
The sheet_metadata table contains metadata about the sheets within the spreadsheet defined in the integration’s settings.
Replication Method | Full Table |
Primary Key | sheetId |
| Useful links |
sheets_loaded
The sheets_loaded table contains metadata about individual sheets loaded to your destination.
Replication Method | Full Table |
Primary Keys | sheetId spreadsheetId loadDate |
| Useful links |
spreadsheet_metadata
The spreadsheet_metadata table contains metadata about the spreadsheet defined in the integration’s settings.
Replication Method | Full Table |
Primary Key | spreadsheetId |
| Useful links |