# Google Sheets (v2)

Information note **Google Sheets extraction is supported by Stitch**   
This integration is powered by [Singer's](https://www.singer.io/) Google Sheets tap and certified by Stitch. [Check out and contribute to the repo on GitHub](https://github.com/singer-io/tap-google-sheets).  
  
For support, contact [Support](https://community.qlik.com/t5/Support/ct-p/qlikSupport).

## Google Sheets integration summary

Stitch’s Google Sheets integration replicates data using the [Google Sheets v4 AP1](https://developers.google.com/sheets/api). Refer to the [Schema](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#schema) section for a list of objects available for replication.

Stitch’s Google Sheets integration will generate tables containing data related to metadata and the individual sheets within a spreadsheet.

**Note**: There are a few limitations:

* Currently, the Google Sheets integration replicates one spreadsheet at a time. To replicate another spreadsheet, you will need to create another Google Sheets integration in Stitch.
* The `IMPORTRANGE()` function in Google Sheets isn’t currently supported. This integration identifies new and updated data using a spreadsheet’s last `updated_at` value, which the `IMPORTRANGE()` doesn’t update when used.

## Google Sheets feature snapshot

A high-level look at Stitch's Google Sheets (v2) integration, including release status, useful links, and the features supported in Stitch.

| **STITCH** |  |  |  |
| --- | --- | --- | --- |
| **[Release status](https://help.qlik.com/en-US/stitch/integrations/identify-an-integration-version)** | Deprecated on March 12, 2024 | **Supported by**<br><br>the Info icon<br><br>Indicates if the integration is supported by Stitch or the Singer community. | [Stitch](https://community.qlik.com/t5/Support/ct-p/qlikSupport) |
| **Stitch plan**<br><br>the Info icon<br><br>The type of Stitch plan required to use the integration. | Standard | **[API availability](https://help.qlik.com/en-US/stitch/developers/stitch-connect/guides/source-destination-reference)**<br><br>the Info icon<br><br>Indicates if the integration is available as a source in Stitch Connect. | the Remove icon<br><br>This version of the integration isn't available via the API.<br><br><br>Not available |
| **Singer GitHub repository** | [singer-io/tap-google-sheets](https://github.com/singer-io/tap-google-sheets) |  |  |
| **REPLICATION SETTINGS** |  |  |  |
| **[Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling where an integration's Replication Frequency is anchored to a time you select. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Advanced Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling)**<br><br>the Info icon<br><br>A type of replication scheduling that allows you to specify granular start times for data extraction using cron expressions. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Table-level reset**<br><br>the Info icon<br><br>Indicates if data can be reset at the table level. If unsupported, data can only be reset at the integration level. | the Remove icon<br><br>Table-level resets are not supported for this integration. Resets are only supported at the integration level.<br><br><br>Unsupported | **[Configurable Replication Methods](https://help.qlik.com/en-US/stitch/replication/replication-methods)**<br><br>the Info icon<br><br>Indicates if Replication Methods can be defined by you for tables in the integration. | the Remove icon<br><br>Configurable Replication Methods are not supported for this integration. Stitch will use pre-defined replication methods for tables you set to replicate.<br><br><br>Unsupported |
| **DATA SELECTION** |  |  |  |
| **Table selection**<br><br>the Info icon<br><br>The ability to select individual tables for replication in the Stitch interface. If table selection is unavailable, all tables and all the columns they contain will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **Column selection**<br><br>the Info icon<br><br>The ability to select individual columns for replication in the Stitch interface. If column selection is unavailable, all columns will be set to replicate by default. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |
| **Select all**<br><br>the Info icon<br><br>Indicates if the integration supports selecting all available tables and columns. | the Success icon<br><br>Supported<br><br><br>Supported |  |  |
| **TRANSPARENCY** |  |  |  |
| **[Extraction Logs](https://help.qlik.com/en-US/stitch/replication/extractions/integration-extraction-logs)**<br><br>the Info icon<br><br>Logs detailing the Extraction phase of the replication process for a given integration. Includes error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported | **[Loading Reports](https://help.qlik.com/en-US/stitch/replication/integration-loading-reports)**<br><br>the Info icon<br><br>Reports detailing the Loading phase of the replication process for a given integration. Includes the number of rows loaded for each table and error info, should an error occur. | the Success icon<br><br>This feature is supported for this version of the integration.<br><br><br>Supported |

## Connecting Google Sheets

### Google Sheets setup requirements

To set up Google Sheets in Stitch, you need:

* **A spreadsheet in your Google Drive**.

* **A header row with unique column values in the first row of every sheet you want to replicate.** If there are multiple headers not in the first row, your worksheet data may not be replicated correctly. Headers that aren’t in the first row may be extracted as column data.

* **A full row of data in the second row of every sheet you want to replicate.** Data must begin in the second row of the sheet. Values in this row may not be `NULL` or [issues will arise during Extraction](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#discovery--objects).

### Step 1: Obtain your spreadsheet ID

1. Go to [Google Sheets](http://sheets.google.com/) and log into the Google account associated with the spreadsheet you are looking to integrate.
2. Open the spreadsheet that you want to use in the integration.
3. The Spreadsheet ID is within the URL to the webpage. In the image below, the portion of the URL within the blue box is the Spreadsheet ID. Keep this readily available to continue with the integration.

[![Google Sheets URL containing the Spreadsheet ID.](https://help.qlik.com/en-US/stitch/images/integrations/google-sheets-spreadsheet-id.png)Google Sheets URL containing the Spreadsheet ID.Google Sheets URL containing the Spreadsheet ID.](https://help.qlik.com/en-US/stitch/images/integrations/google-sheets-spreadsheet-id.png)![Google Sheets URL containing the Spreadsheet ID.](https://help.qlik.com/en-US/stitch/images/integrations/google-sheets-spreadsheet-id.png)Google Sheets URL containing the Spreadsheet ID.Google Sheets URL containing the Spreadsheet ID.Google Sheets URL containing the Spreadsheet ID.

### Step 2: Add Google Sheets as a Stitch data source

1. [Sign into your Stitch account](https://app.stitchdata.com/).

2. On the Stitch Dashboard page, click the **Add Integration** button.

3. Click the **Google Sheets** icon.

4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

   For example, the name “Stitch Google Sheets” would create a schema called `stitch_google_sheets` in the destination. **Note**: Schema names cannot be changed after you save the integration.

5. In the **Spreadsheet ID** field, enter your Spreadsheet ID you obtained from the [previous step](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#obtain-spreadsheet-id). **Note**: To integrate another spreadsheet, you’ll need to repeat these steps over again with another Google Sheets integration.

### Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Google Sheets integration. This means that data **equal to or newer than this date** will be replicated to your data warehouse.

Change this setting if you want to replicate data beyond Google Sheets’s default setting of **1 year**. For a detailed look at historical replication jobs, check out the [Syncing Historical SaaS Data](https://help.qlik.com/en-US/stitch/replication/syncing-historical-saas-data-resetting-replication-keys) guide.

### Step 4: Create a replication schedule

Information note Replication schedules affect the time Extraction begins, not the time to data loaded. Refer to the [Replication Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling) documentation for more information.

In the **Replication Frequency** section, you’ll create the integration’s [replication schedule](https://help.qlik.com/en-US/stitch/replication/replication-scheduling). An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Google Sheets integrations support the following replication scheduling methods:

* [Replication Frequency](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/replication-frequency)

* [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/anchor-scheduling)

* [Advanced Scheduling using Cron](https://help.qlik.com/en-US/stitch/replication/replication-scheduling/advanced-scheduling) (Advanced or Premium plans only)

To keep your row usage low, consider setting the integration to replicate less frequently. See the [Understanding and Reducing Your Row Usage guide](https://help.qlik.com/en-US/stitch/getting-started/understanding-stitch-usage) for tips on reducing your usage.

### Step 5: Authorize Stitch

1. Next, you’ll be prompted to log into your Google account and approve Stitch’s access to your Google Sheets data. **Note that we will only ever read your data.**
2. Select the **See all your Google Sheets spreadsheets** access.
3. Click **Continue**.

### Step 6: Set objects to replicate

Information note **Is an object missing or not replicating?** Verify that the object meets the requirements for [selection](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#selection-requirements) and [replication](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#replication-requirements).

The last step is to select the tables and columns you want to replicate. [Learn about the available tables for this integration.](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#schema)

**Note**: If a replication job is currently in progress, new selections won’t be used until the next job starts.

* Selection options
* Individual tables and columns
* All tables and columns

For Google Sheets integrations, you can select:

1. **Individual tables and columns**

2. **All tables and columns**

Click the tabs to view instructions for each selection method.

1. In the integration’s **Tables to Replicate tab**, locate a table you want to replicate.

2. To track a table, click the **checkbox** next to the table’s name. A blue checkmark means the table is set to replicate.

3. To track a column, click the **checkbox** next to the column’s name. A blue checkmark means the column is set to replicate.

4. Repeat this process for all the tables and columns you want to replicate.

5. When finished, click the **Finalize Your Selections** button at the bottom of the screen to save your selections.

Information note **Important**: Using the **Select All** feature will overwrite any previous selections. However, selections aren’t final until **Finalize Your Selections** is clicked. Clicking **Cancel** will restore your previous selections. Refer to the [Select All guide](https://help.qlik.com/en-US/stitch/replication/extractions/data-selection/setting-tables-and-columns-to-replicate#set-all-data-to-replicate) for more info about this feature.

1. Click into the integration from the Stitch Dashboard page.

2. Click the **Tables to Replicate** tab.

3. In the list of tables, click the box next to the **Table Names** column.

4. In the menu that displays, click **Track all Tables and Fields**:

   ![The Track all Tables and Fields menu in the Tables to Replicate tab](https://help.qlik.com/en-US/stitch/images/replication/select-all-tables-menu.png)The Track all Tables and Fields menu in the Tables to Replicate tabThe Track all Tables and Fields menu in the Tables to Replicate tab

5. Click the **Finalize Your Selections** button at the bottom of the page to save your data selections.

### Initial and historical replication jobs

After you finish setting up Google Sheets, its **Sync Status** may show as **Pending** on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a **Pending** status indicates that Stitch is in the process of scheduling the initial replication job for the integration. **This may take some time to complete.**

Information note

**Initial replication jobs with Anchor Scheduling**

If using Anchor Scheduling, an initial replication job may not kick off immediately. This depends on the selected Replication Frequency and Anchor Time. Refer to the [Anchor Scheduling](https://help.qlik.com/en-US/stitch/replication/replication-scheduling#job-scheduling-and-anchor-times) documentation for more information.

#### Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.

Information note **Replication will continue after the seven days are over**. If you’re no longer interested in this source, be sure to **pause** or **delete** the integration to prevent unwanted usage.

## Google Sheets replication

In this section:

* [Details about Extraction, including object discovery and selecting data for replication](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#extraction-details)

* [Details about how data replicated from Google Sheets is loaded into a destination](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#loading-details)

### Extraction

For every table set to replicate, Stitch will perform the following during Extraction:

* [Discover table schemas and type discovered columns](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#extraction--discovery)

* [Select records (files) for replication](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#extraction--data-replication)

#### Discovery

During Discovery, Stitch will:

* [Determine table schemas](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#discovery--objects)

* [Type the data in discovered columns](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#discovery--data-types)

##### Determining table schemas

At the start of each replication job, Stitch will check the sheets’s header row and first data row (the second row in the sheet) for data.

To be detected and properly replicated, every sheet set to replicate must have:

1. Column headers with unique values in the first row. If there are duplicate column names, Stitch will skip the sheet and surface a [duplicate column name error](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/google-sheets-extraction-error-reference#duplicate-column-names).

   For example: Two columns in the header row can’t be named `customer_id`. Uniqueness must not rely on case. While `customer_id` and `Customer_ID` may be unique due to case differences, this may still cause errors during extraction and loading. For this reason, column names must be completely unique.

2. A full row of data in the second row. If any column in this row is empty but has a format (currency or datetime for example), the type will be determined using the format. If a cell is empty and has no format, the column type will be set to string by default.

If the sheet doesn’t contain a header row and a second row of data, Stitch will skip the sheet and surface an [empty sheet message during extraction](https://help.qlik.com/en-US/stitch/troubleshooting/integrations/google-sheets-extraction-error-reference#empty-sheet).

##### Data typing

To determine data types, Stitch will analyze the first two rows in the [files included in object discovery](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#discovery--objects).

If a column contains non-standard boolean language, Stitch will intentionally coerce those values into boolean. The following values are to be expected to be replicated as `True`:

* `YES`/`yes`
* `Y`/`y`
* `1`
* `true` (the string “true” prefixed with a tick [`])

The following values are expected to be replicated as `False`:

* `NO`/`no`
* `N`/`n`
* `0`
* `false` (the string “false” prefixed with a tick [`])

If a column has been specified as a `STRING`, Stitch will attempt to parse the value as a string, unless the column contains non-standard boolean language. If this fails, the column will be loaded as a nullable `STRING`.

For all other columns, Stitch will perform the following to determine the column’s data type:

1. Check the format of the column and parse the value based on that format.
2. If that fails, attempt to parse the value as a `BOOLEAN` value
3. If that fails, attempt to parse the value as an `INTEGER`
4. If that fails, attempt to parse the value as a `DATE-TIME` value
5. If that fails, attempt to parse the value as a `DATE` date
6. If that fails, attempt to parse the value as a `TIME` value
7. If that fails, type the column as a `STRING`

#### Data replication

After discovery is completed, Stitch will move onto extracting data from the sheets set to replicate.

While data from Google Sheets integrations is replicated using [Key-based Incremental Replication](https://help.qlik.com/en-US/stitch/replication/replication-methods/key-based-incremental), the behavior for this integration differs subtly from other integrations.

The table below compares Key-based Incremental Replication and [Replication Key](https://help.qlik.com/en-US/stitch/replication/replication-keys) behavior for Google Sheets to that of other integrations.

|  | **Google Sheets** | **Other integrations** |
| --- | --- | --- |
| **What's replicated during a replication job?** | The entire contents of a modified spreadsheet. This includes all sheets in the spreadsheet that are set to replicate, regardless of whether they have been modified. | Only new or updated rows in a table. |
| **What's used as a Replication Key?** | The time a spreadsheet is modified. | A column or columns in a table. |
| **Are Replication Keys inclusive?** | **No**. Only spreadsheets with a modification timestamp value greater than the last saved bookmark are replicated. | **Yes**. Rows with a Replication Key value **greater than or equal to** the last saved bookmark are replicated. |

To reduce row usage, consider [scheduling the integration to replicate less frequently](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#define-rep-frequency).

### Loading

For every sheet you set to replicate, Stitch will create a table in your destination. These tables will contain the columns you select for replication, along with some system columns created by Stitch. Refer to the [sample table](https://help.qlik.com/en-US/stitch/integrations/saas/google-sheets/v2#sample-table) in the next section for an example.

## Google Sheets table reference

Information note

**Schemas and versioning**

Schemas and naming conventions can change from version to version, so we recommend verifying your integration’s version before continuing.

The schema and info displayed below is for **version 2** of this integration.

Information note

**Table and column names in your destination**

Depending on your destination, table and column names may not appear as they are outlined below.

For example: Object names are lowercased in Redshift (`CusTomERs` &gt; `customers`), while case is maintained in PostgreSQL destinations (`CusTomERs` &gt; `CusTomERs`). Refer to the [Loading Guide](https://help.qlik.com/en-US/stitch/replication/loading/destination-guides) for your destination for more info.

### file\_metadata

The `file_metadata` table contains metadata about the spreadsheet defined in the integration’s settings.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Key-based Incremental |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | id |
| **Replication Key ![](https://help.qlik.com/en-US/stitch/images/replication/replication-key-icon.svg)** | modifiedTime |
| **Useful links** | [Google Sheets documentation](https://developers.google.com/sheets/api/reference/rest "Opens in new tab: Google Sheets documentation")<br><br><br>[file_metadata schema on GitHub](https://github.com/singer-io/tap-google-sheets/blob/master/tap_google_sheets/schemas/file_metadata.json "Opens in new tab: file_metadata schema on GitHub")<br><br><br>[Google Sheets API method](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#top_of_page "Opens in new tab: Google Sheets API method") |

file\_metadata table schema

| **createdTime**<br><br><br>DATE-TIME |
| --- |
| **driveId**<br><br><br>STRING |
| **id**<br><br><br>STRING |
| **lastModifyingUser**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand lastModifyingUser<br><br><table> <tr> <td> <p> <strong>								displayName							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								emailAddress							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								kind							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| **modifiedTime**<br><br><br>DATE-TIME |
| **name**<br><br><br>STRING |
| **teamDriveId**<br><br><br>STRING |
| **version**<br><br><br>INTEGER |

### sheet\_metadata

The `sheet_metadata` table contains metadata about the sheets within the spreadsheet defined in the integration’s settings.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sheetId |
| **Useful links** | [Google Sheets documentation](https://developers.google.com/sheets/api/reference/rest "Opens in new tab: Google Sheets documentation")<br><br><br>[sheet_metadata schema on GitHub](https://github.com/singer-io/tap-google-sheets/blob/master/tap_google_sheets/schemas/sheet_metadata.json "Opens in new tab: sheet_metadata schema on GitHub")<br><br><br>[Google Sheets API method](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#top_of_page "Opens in new tab: Google Sheets API method") |

sheet\_metadata table schema

| **columns**<br><br>ARRAY<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand columns<br><br><table> <tr> <td> <p> <strong>								columnIndex							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								columnLetter							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								columnName							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								columnSkipped							</strong> </p> <p>							BOOLEAN													</p> </td> </tr> <tr> <td> <p> <strong>								columnType							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								format							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								type							</strong> </p> <p> </p> <p>ARRAY																																</p><div><button><div>This is a nested data structure. If your destination doesn't natively support nested data, attributes will be denested into a subtable. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.</div></button></div> <p></p> </td> </tr> </table> |
| --- |
| **gridProperties**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand gridProperties<br><br><table> <tr> <td> <p> <strong>								columnCount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								frozenColumnCount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								frozenRowCount							</strong> </p> <p>							INTEGER													</p> </td> </tr> <tr> <td> <p> <strong>								rowCount							</strong> </p> <p>							INTEGER													</p> </td> </tr> </table> |
| **index**<br><br><br>INTEGER |
| **sheetId**<br><br><br>INTEGER |
| **sheetType**<br><br><br>STRING |
| **sheetUrl**<br><br><br>STRING |
| **spreadsheetId**<br><br><br>STRING |
| **title**<br><br><br>STRING |

### sheets\_loaded

The `sheets_loaded` table contains metadata about individual sheets loaded to your destination.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Keys ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | sheetId<br><br>spreadsheetId<br><br>loadDate |
| **Useful links** | [Google Sheets documentation](https://developers.google.com/sheets/api/reference/rest "Opens in new tab: Google Sheets documentation")<br><br><br>[sheets_loaded schema on GitHub](https://github.com/singer-io/tap-google-sheets/blob/master/tap_google_sheets/schemas/sheets_loaded.json "Opens in new tab: sheets_loaded schema on GitHub")<br><br><br>[Google Sheets API method](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#top_of_page "Opens in new tab: Google Sheets API method") |

sheets\_loaded table schema

| **lastRowNumber**<br><br><br>INTEGER |
| --- |
| **loadDate**<br><br><br>DATE-TIME |
| **sheetId**<br><br><br>INTEGER |
| **spreadsheetId**<br><br><br>STRING |
| **title**<br><br><br>STRING |

### spreadsheet\_metadata

The `spreadsheet_metadata` table contains metadata about the spreadsheet defined in the integration’s settings.

| **Replication Method [](https://help.qlik.com/en-US/stitch/replication/replication-methods)[the Info icon](https://help.qlik.com/en-US/stitch/replication/replication-methods)[](https://help.qlik.com/en-US/stitch/replication/replication-methods)** | Full Table |
| --- | --- |
| **Primary Key ![](https://help.qlik.com/en-US/stitch/images/replication/primary-key-icon.svg)** | spreadsheetId |
| **Useful links** | [Google Sheets documentation](https://developers.google.com/sheets/api/reference/rest "Opens in new tab: Google Sheets documentation")<br><br><br>[spreadsheet_metadata schema on GitHub](https://github.com/singer-io/tap-google-sheets/blob/master/tap_google_sheets/schemas/spreadsheet_metadata.json "Opens in new tab: spreadsheet_metadata schema on GitHub")<br><br><br>[Google Sheets API method](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/sheets#top_of_page "Opens in new tab: Google Sheets API method") |

spreadsheet\_metadata table schema

| **properties**<br><br><br>OBJECT<br><br>This is a nested data structure. If your destination doesn't natively support nested data, attributes in this object will be flattened into the table. &lt;a href='/en-US/stitch/replication/loading/understanding-loading-row-usage-for-nested-data-structures' target='new'&gt;Learn more&lt;/a&gt;.<br><br>Click to expand properties<br><br><table> <tr> <td> <p> <strong>								autoRecalc							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								locale							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								timeZone							</strong> </p> <p>							STRING													</p> </td> </tr> <tr> <td> <p> <strong>								title							</strong> </p> <p>							STRING													</p> </td> </tr> </table> |
| --- |
| **spreadsheetId**<br><br><br>STRING |
| **spreadsheetUrl**<br><br><br>STRING |