---
title: "Google Drive"
description: "Configure the Google Drive source in Data Classification to crawl and classify content in G-Suite repositories and personal Google Drive accounts."
sidebar_position: 70
---

# Google Drive Source

Use the Google Drive source configuration screen to enable the crawling and classification of
content stored in both G-Suite repositories and Google Drive personal accounts.

**IMPORTANT** Ensure you created an app for Google Drive crawling before you add the source.
[See Configure G Suite and Google Drive for Crawling for more information.](/docs/dataclassification/5.8/configuration/connectors/gdrive.md)

![add_gdrive_source_thumb_0_0](/images/dataclassification/5.8/admin/sources/googledrive/add_gdrive_source_thumb_0_0.webp)

Complete the following fields:

| Option                   | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Basic settings**       |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Drive Type               | Select _Business_.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| User Emails              | When adding a G-Suite source, enter the email address of the user's drive that you want to crawl (via impersonation).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| Crawl Shared Items       | Select to crawl all files shared with the specified user in addition to any team drives shared with the user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Crawl Shared Items       | Select to enable crawling of any types of documents shared with the specified user.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| JSON Import              | Drag the JSON connection file that you downloaded while creating the Google service account into the form.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| Project ID               | Open the JSON connection file and copy file contents to Project ID field.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Write Classifications    | Select to enable the writing of classifications back to the Google Drive repository. <br />**NOTE:** Google Drive stores any written classifications in custom properties that aren't visible to an end user <ul><li>they are only accessible via the Google Drive APIs.</li></ul>                                                                                                                                                                                                                                                                                                                                     |
| OCR Processing Mode      | Select documents' images processing mode: <ul><li>Disabled – the program doesn't process documents' images.</li><li>Default – defaults to the source settings if configuring a path or the global setting if configured on a source.</li><li>Normal – the program processes images with normal quality settings.</li><li>Enhanced – upscale images further to allow more.</li></ul>                                                                                                                                                                                                                                                           |
| Advanced Settings        | Click the "wrench" icon in the Settings area (![gdrive_advanced_settings](/images/dataclassification/5.8/admin/sources/googledrive/gdrive_advanced_settings.webp)) at the bottom of the screen to expand the following advanced settings: <ul><li>Re-Index Period — specifies how often the program checks the source for changes. The number specifies the period in days.</li><li>Priority — specifies the priority of content source processing in the service queues.</li><li>Document Type — specifies a value that you can use to restrict queries when using the core search index.</li></ul> |
| Source Group             | Netwrix recommends creating a dedicated source group for Google Drive.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Pause source on creation | Select if you want to make other configuration changes before collection of the source occurs.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
