Google Sheets | Qlik Cloud Ajuda
Ir para conteúdo principal Pular para conteúdo complementar

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.

Nota informativaCertifique-se de que a conta que você usa tenha acesso de leitura às tabelas que deseja buscar.

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

Para obter mais informações, consulte Conectando-se a aplicativos SAP.

  1. Clique em Autenticar quando tiver preenchido as configurações de conexão necessárias.

    Você pode ser solicitado a fazer login no aplicativo de origem.

    Uma janela é exibida com um código de autenticação.

  2. Copie o código para a área de transferência e retorne à caixa de diálogo de conexão.

  3. Cole o código em Autenticação completa com o código fornecido pela fonte e clique em Verificar.

    Nota de dicaPode ser necessário rolar para baixo para ver este campo.

    Quando o status é Verificado, a autenticação é verificada.

  4. Forneça um nome para a conexão em Nome da conexão.

  5. Selecione Abrir metadados de conexão para definir metadados para a conexão quando ela for criada.

Connection settings
SettingDescription
Data gateway

Selecione um Gateway Data Movement se for necessário para seu caso de uso.

Nota informativa

Esse campo não está disponível com a assinatura do Iniciante do Qlik Talend Cloud, pois esta não é compatível com o Gateway Data Movement. Se você tiver outro nível de assinatura e não quiser usar o Gateway Data Movement, selecione Nenhum.

Para obter informações sobre os benefícios do Gateway Data Movement e casos de uso que exigem isso, consulte Qlik Data Gateway - Movimentação de dados.

Start Date

Digite a data, no formato MM/DD/YYYY, a partir da qual os dados devem ser replicados da fonte de dados para o destino.

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

Nota informativa

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

Esta página ajudou?

Se você encontrar algum problema com esta página ou seu conteúdo – um erro de digitação, uma etapa ausente ou um erro técnico – avise-nos!