# Google Drive

This article outlines the integration with the Google connector, enabling streamlined metadata management through features such as crawling, data preview, and manual lineage building. It also ensures secure authentication via Credential Manager.

<figure><img src="https://1813356899-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhTnkoJQml0pok9awFDhx%2Fuploads%2FyVL6UGcPDIPM3Kk5lbxd%2Fimage.png?alt=media&#x26;token=403495dc-8124-4743-b948-b61b8375c368" alt=""><figcaption></figcaption></figure>

## Overview

### Connector Details

<table data-header-hidden><thead><tr><th width="429"></th><th></th></tr></thead><tbody><tr><td>Connector Category</td><td>File Connectors</td></tr><tr><td>Connector Version</td><td>Release7.2</td></tr><tr><td>Releases Supported (Available from)</td><td>Relase6.1</td></tr><tr><td><p>Connectivity</p><p>[How the connection is established with Google Drive]</p></td><td>REST APIs of Google Drive</td></tr><tr><td>Verified Google Drive Version</td><td>Google Drive API v3</td></tr></tbody></table>

{% hint style="info" %}
The Google Drive connector has been validated with the mentioned "Verified Google Drive Version" and is expected to be compatible with other supported Google Drive versions. If there are any issues with validation or metadata crawling, please submit a support ticket for investigation and feedback.
{% endhint %}

### Connector Features

| Feature                                      | Availability |
| -------------------------------------------- | :----------: |
| Crawling                                     |       ✅      |
| Delta Crawling                               |       ❌      |
| Profiling                                    |       ❌      |
| Query Sheet                                  |      NA      |
| Data Preview                                 |       ✅      |
| Auto Lineage                                 |      NA      |
| Manual Lineage                               |       ✅      |
| Secure Authentication via Credential Manager |       ✅      |
| Data Quality                                 |       ❌      |
| DAM (Data Access Management)                 |       ❌      |
| Bridge                                       |       ✅      |

#### Metadata Mapping

The following objects are crawled from Google Drive and mapped to the corresponding UI assets.

<table><thead><tr><th width="190.25">Google Drive Object</th><th width="202.75">Google Drive Attribute</th><th width="186.75">OvalEdge Attribute</th><th width="178">OvalEdge Category</th><th width="176.75">OvalEdge Type</th></tr></thead><tbody><tr><td>Bucket</td><td>Bucket</td><td>Bucket</td><td>Bucket</td><td>Bucket</td></tr><tr><td>Folder</td><td>Folder</td><td>Folder</td><td>Folder</td><td>Folder</td></tr><tr><td>File</td><td>File</td><td>File</td><td>File</td><td>File</td></tr><tr><td>XLSX</td><td>File</td><td>File</td><td>File</td><td>XLSX</td></tr><tr><td>XLS</td><td>File</td><td>File</td><td>File</td><td>XLS</td></tr><tr><td>CSV</td><td>File</td><td>File</td><td>File</td><td>CSV</td></tr><tr><td>TXT</td><td>File</td><td>File</td><td>File</td><td>TXT</td></tr><tr><td>PARQUET</td><td>File</td><td>File</td><td>File</td><td>PARQUET</td></tr><tr><td>ORC</td><td>File</td><td>File</td><td>File</td><td>ORC</td></tr><tr><td>JSON</td><td>File</td><td>File</td><td>File</td><td>JSON</td></tr><tr><td>YAML</td><td>File</td><td>File</td><td>File</td><td>YAML</td></tr><tr><td>PIP</td><td>File</td><td>File</td><td>File</td><td>PIP</td></tr></tbody></table>

## Set up a Connection

### Prerequisites

The following are the prerequisites to establish a connection.

Ensure that the CSV files follow the required formatting standards for proper data processing and visibility. Refer to [CSV Format Requirements](https://docs.ovaledge.com/connectors/additional-requirements/csv-format-requirements-for-file-connectors)**.**

### **Service Account User Permissions**

{% hint style="warning" %}
It is recommended to use a separate service account to establish the connection to the data source, configured with the following minimum set of permissions.
{% endhint %}

{% hint style="info" %}
👨‍💻Who can provide these permissions? These permissions are typically granted by the Google Drive administrator, as users may not have the required access to assign them independently.
{% endhint %}

| Operation            | Objects              | Access Permission       |
| -------------------- | -------------------- | ----------------------- |
| Validate             | Connector Validation | drive.metadata.readonly |
| Crawling             | Crawling             | drive.metadata.readonly |
| Crawling & Profiling | Folders              | drive.metadata.readonly |
| Crawling & Profiling | Files                | drive.readonly          |

### Connection Configuration Steps

{% hint style="warning" %}
Users are required to have the Connector Creator role in order to configure a new connection.
{% endhint %}

1. Log into **OvalEdge**, go to **Administration > Connectors**, click **+ (New Connector)**, search for **Google Drive,** and complete the required parameters.

{% hint style="info" %}
Fields marked with an asterisk (\*) are mandatory for establishing a connection.
{% endhint %}

<table><thead><tr><th width="220.25">Field Name</th><th>Description</th></tr></thead><tbody><tr><td>Connector Type</td><td>By default, "Google Drive" is displayed as the selected connector type.</td></tr><tr><td>Credential Manager*</td><td><p>Select the desired credentials manager from the drop-down list. Relevant parameters will be displayed based on the selected option.</p><p>Supported Credential Managers:</p><ul><li>OE Credential Manager</li><li>AWS Secrets Manager</li><li>HashiCorp</li><li>Azure Key Vault</li></ul></td></tr><tr><td>Connector Environment</td><td>Select the environment (Example: PROD, STG) configured for the connector.</td></tr><tr><td>Connector Name*</td><td><p>Enter a unique name for the Google Drive connection.              </p><p>(Example: "GoogleDrivedb").</p></td></tr><tr><td>Connector Description</td><td>Enter a brief description of the connector.</td></tr><tr><td>Google Service Account*</td><td>Enter the Google Service Account.</td></tr><tr><td>File Path*</td><td>Enter the .p12 file path.</td></tr></tbody></table>

**Default Governance Roles**

<table data-header-hidden><thead><tr><th width="220.25"></th><th></th></tr></thead><tbody><tr><td>Default Governance Roles*</td><td>Select the appropriate users or teams for each governance role from the drop-down list. All users configured in the security settings are available for selection.</td></tr></tbody></table>

**Admin Roles**

<table data-header-hidden><thead><tr><th width="220.25"></th><th></th></tr></thead><tbody><tr><td>Admin Roles*</td><td><p>Select one or more users from the dropdown list for Integration Admin and Security &#x26; Governance Admin. All users configured</p><p>in the security settings are available for selection.</p></td></tr></tbody></table>

**No of Archive Objects**

<table data-header-hidden><thead><tr><th width="220.25"></th><th></th></tr></thead><tbody><tr><td>No Of Archive Objects*</td><td><p>This shows the number of recent metadata changes to a dataset at the source. By default, it is off. To enable it, toggle the Archive button and specify the number of objects to archive.</p><p>Example: Setting it to 4 retrieves the last four changes, displayed in the 'Version' column of the 'Metadata Changes' module.</p></td></tr></tbody></table>

**Bridge**

<table data-header-hidden><thead><tr><th width="220.25"></th><th></th></tr></thead><tbody><tr><td>Select Bridge*</td><td><p>If applicable, select the bridge from the drop-down list.</p><p>The drop-down list displays all active bridges that have been configured. These bridges facilitate communication between data sources and the system without requiring changes to firewall rules.</p></td></tr></tbody></table>

2. After entering all connection details, the following actions can be performed:
   1. Click **Validate** to verify the connection.
   2. Click **Save** to store the connection for future use.
   3. Click **Save & Configure** to apply additional settings before saving.
3. The saved connection will appear on the Connectors home page.

## Manage Connector Operations

### Crawl

{% hint style="warning" %}
To perform crawl operations, users must be assigned the Integration Admin role.
{% endhint %}

1. Navigate to the Connectors page and click **Crawl/Profile**.
2. This action initiates the metadata collection process from the data source and loads it into the **File Manager.**
3. Go to **File Manager**, select the specific **folder(s) or file(s)**, then click "**Catalog Files/Folders**" from the **Nine Dots** menu.

{% hint style="info" %}
Column-level details are not populated in the Data Catalog for the Google Drive connector. Only file and folder-level metadata is captured.
{% endhint %}

4. The files/folders will be added to the **Data Catalog**.

### Other Operations

The **Connectors** page provides a centralized view of all configured connectors, along with their health status.

**Managing connectors includes:**

* **Connectors Health**: Displays the current status of each connector using a green icon for active connections and a red icon for inactive connections, helping to monitor the connectivity with data sources.
* **Viewing**: Click the **Eye** icon next to the connector name to view connector details, including databases, tables, columns, and codes.

**Nine Dots Menu Options:**

To view, edit, validate, configure, or delete connectors, click on the Nine Dots menu.

* **Edit Connector:** Update and revalidate the data source.
* **Validate Connector**: Check the connection's integrity.
* **Settings**: Modify connector settings.
  * **Crawler**: Configure data extraction.
  * **Access Instructions:** Add notes on how data can be accessed.
  * **Business Glossary Settings**: Manage term associations at the connector level.
* **Delete Connector**: Remove a connector with confirmation.

### Connectivity Troubleshooting

If incorrect parameters are entered, error messages may appear. Ensure all inputs are accurate to resolve these issues. If issues persist, contact the assigned support team.

<table><thead><tr><th width="89">S.No.</th><th width="331.5">Error Message(s)</th><th>Error Description &#x26; Resolution</th></tr></thead><tbody><tr><td>1</td><td><p>"Error while validating connection: Error while validating Google Sheets Connection: 400 Bad Request</p><p>POST https://xxxx2.xxxxx.com/token</p><p>{</p><p>  ""error"" : ""invalid_grant"",</p><p>  ""error_description"" : ""Invalid grant: account not found""</p><p>}"</p></td><td><p>Description: Google Sheets connection failed. The system returned a 400 error: invalid_grant – account not found.</p><p>Resolution: Check if the connected Google account exists and is active. Make sure you're using the correct account and that it has access to Google Sheets. Try re-authenticating the connection.</p></td></tr><tr><td>2</td><td><p>"Error while validating connection: Error while validating Google Sheets</p><p> Connection : /Users/xxxx/Documents/xxxx/xxxx-3xxxx07-5xx157dxxxx.p12 (No such file or directory)"</p></td><td><p>Description: Google Sheets connection failed. The system could not find the .p12 key file:</p><p>xxxx-319807-xxxx8.p12 (No such file or directory)</p><p>Resolution: Make sure the .p12 file exists at the specified path on your system. If it's missing, download it again from your Google Cloud project and place it in the correct directory. Then reconfigure the connection.</p></td></tr></tbody></table>

***

Copyright © 2025, OvalEdge LLC, Peachtree Corners GA USA
