Google Sheets | Qlik Cloud Hilfe
Zu Hauptinhalt springen Zu ergänzendem Inhalt springen

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.

Im Abschnitt Schema finden Sie eine Liste der für die Replikation verfügbaren Objekte.

Preparing for authentication

To access your data, you need to authenticate the connection with your account credentials.

InformationshinweisVergewissern Sie sich, dass das verwendete Konto Lesezugriff auf die Tabellen hat, die Sie abrufen möchten.

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

Weitere Informationen finden Sie unter Herstellung einer Verbindung zu SaaS-Anwendungen.

  1. Klicken Sie auf Authentifizieren, wenn Sie die erforderlichen Verbindungseinstellungen ausgefüllt haben.

    Sie können aufgefordert werden, sich bei der Quellanwendung anzumelden.

    Es wird ein Fenster mit einem Authentifizierungscode angezeigt.

  2. Kopieren Sie den Code in die Zwischenablage und kehren Sie zum Verbindungsdialogfeld zurück.

  3. Fügen Sie den Code in Authentifizierung mit von der Quelle bereitgestelltem Code abschließen ein und klicken Sie auf Überprüfen.

    TipphinweisMöglicherweise müssen Sie nach unten scrollen, um dieses Feld anzuzeigen.

    Wenn der Status Überprüft lautet, ist die Authentifizierung überprüft.

  4. Geben Sie einen Namen für die Verbindung in Verbindungsname ein.

  5. Wählen Sie Verbindungsmetadaten öffnen aus, um nach der Erstellung Metadaten für die Verbindung zu definieren.

Connection settings
SettingDescription
Data gateway

Wählen Sie ein Data Movement Gateway aus, wenn dies für Ihren Anwendungsfall erforderlich ist.

Informationshinweis

Dieses Feld ist für das Qlik Talend Cloud Starter-Abonnement nicht verfügbar, da dieses Abonnement Data Movement Gateway nicht unterstützt. Wenn Sie eine andere Abonnementstufe haben und Data Movement Gateway nicht verwenden möchten, wählen Sie Keine.

Weitere Informationen zu den Vorteilen von Data Movement Gateway und den Anwendungsfällen, in denen es erforderlich ist, finden Sie unter Qlik Data Gateway – Datenbewegung.

Start Date

Geben Sie das Datum im Format MM/DD/YYYY ein, ab dem die Daten von der Quelle zum Ziel repliziert werden müssen.

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

Informationshinweis

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.

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

Hat diese Seite Ihnen geholfen?

Wenn Sie ein Problem mit dieser Seite oder ihrem Inhalt feststellen, sei es ein Tippfehler, ein ausgelassener Schritt oder ein technischer Fehler, informieren Sie uns bitte!