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.
You need administrator permissions in your Google Search Console account.
To enable Google Sheets API:
- Log into your Google Search Console account.
- Create or select a project.
- Navigate to APIs & Services > + Enable APIs and Services.
- Search for Google Sheets API.
- Click Enable.
To retrieve your client ID and secret:
- Log into your Google Search Console account.
- Create or select a project.
- Navigate to APIs & Services > Credentials.
- 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.
- In the Data Access section, click Add or remove scopes.
- Select the following scopes:
- .../auth/userinfo.profile
- .../auth/spreadsheets.readonly
- .../auth/drive.metadata.readonly
- Click Update.
- Click Save
- In the Audience section, set User types to Internal.
Set up your OAuth 2.0 app in Google Cloud Platform for internal use. If you set the audience to external, you may need to submit the OAuth 2.0 app for verification by Google.
Creating the connection
For more information, see 連線到 SaaS 應用程式.
Click Authenticate when you have filled in the required connection settings.
You may be asked to log in to the source application.
A window is displayed with an authentication code.
Copy the code to the clipboard and return to the connection dialog.
Paste the code in Complete authentication with the code provided by the source and click Verify.
提示備註You may need to scroll down to see this field.When status is Verified, the authentication is verified.
Provide a name for the connection in Connection name.
Select Open connection metadata to define metadata for the connection when it has been created.
| Setting | Description |
|---|---|
| Data gateway | 如您的使用情況有需要,選取 資料移動閘道。 資訊備註 此欄位無法用於 Qlik Talend Cloud 啟動器 訂閱,因為不支援 資料移動閘道。若您有另一個訂閱層級且不想使用 資料移動閘道,選取無。 如需關於 資料移動閘道 福利的資訊以及需要此項的使用案例,請參閱 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.
Depending on your destination, table and column names may not appear as they are outlined below.
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 |