Google Sheets | Qlik Cloud Help
Ga naar hoofdinhoud Ga naar aanvullende inhoud

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.

InformatieZorg dat het account dat u gebruikt leestoegang heeft voor de tabellen die u wilt ophalen.

You need administrator permissions in your Google Search Console account.

To enable Google Sheets API:

  1. Log into your Google Search Console account.
  2. Create or select a project.
  3. Navigate to APIs & Services > + Enable APIs and Services.
  4. Search for Google Sheets API.
  5. Click Enable.

To retrieve your client ID and secret:

  1. Log into your Google Search Console account.
  2. Create or select a project.
  3. Navigate to APIs & Services > Credentials.
  4. Select your OAuth app in the OAuth 2.0 Client IDs section. The client ID and secret are displayed.
  5. Make sure Authorized Redirect URIs is set to https://connector.qlik.com/auth/oauth/v3.htm.
  6. To create a new client ID, click Create Credentials.
  7. In the Data Access section, click Add or remove scopes.
  8. Select the following scopes:
    • .../auth/userinfo.profile
    • .../auth/spreadsheets.readonly
    • .../auth/drive.metadata.readonly
  9. Click Update.
  10. Click Save
  11. 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 Verbinding maken met SaaS-applicaties.

  1. 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.

  2. Copy the code to the clipboard and return to the connection dialog.

  3. Paste the code in Complete authentication with the code provided by the source and click Verify.

    TipYou may need to scroll down to see this field.

    When status is Verified, the authentication is verified.

  4. Provide a name for the connection in Connection name.

  5. Select Open connection metadata to define metadata for the connection when it has been created.

Connection settings
SettingDescription
Data gateway

Selecteer een Data Movement gateway als dit is vereist voor uw usecase.

Informatie

Dit veld is niet beschikbaar met het Qlik Talend Cloud Starter-abonnement, omdat het geen ondersteuning biedt voor Data Movement gateway. Als u een ander abonnementsniveau hebt en Data Movement gateway niet wilt gebruiken, selecteer dan Geen.

Raadpleeg Qlik Gegevensgateway - Gegevensverplaatsing voor informatie over de voordelen van Data Movement gateway en usecases waarvoor deze is vereist.

Start Date

Voer de datum in, in het formaat MM/DD/YYYY, vanaf wanneer de gegevens van uw gegevensbron naar uw doel moeten worden gerepliceerd.

Spreadsheet IDThe part of the URL when viewing or editing a Google sheet.

Example: https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit?gid=SHEET_ID#gid=SHEET_ID

For more information, see the Google documentation.

Client IDClient ID.
Client SecretClient secret.

Schema

Informatie

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

Google Sheets documentation

Google Sheets API method

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

Google Sheets documentation

Google Sheets API method

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

Google Sheets documentation

Google Sheets API method

Was deze pagina nuttig?

Als u problemen ervaart op deze pagina of de inhoud onjuist is – een tikfout, een ontbrekende stap of een technische fout – laat het ons weten!