> ## Documentation Index
> Fetch the complete documentation index at: https://hc.saas-manager.biz.nuro.jp/llms.txt
> Use this file to discover all available pages before exploring further.

# [Google Drive] Specify conditions for file detection

> You can detect files and folders in Google Drive that match specified conditions (filtering).

## What you can do with this feature

You can detect files and folders in Google Drive that match specified conditions (filtering).

## Setup steps

1. Go to Services > Google Drive > **Files** tab, then click 🔧 **\[Settings (Change files to sync)]**.

   <img src="https://mintcdn.com/admina-sbn/nO36Un68fDIwduLn/images/it-management/8ltduljmjc/1783318239686-googledrive.png?fit=max&auto=format&n=nO36Un68fDIwduLn&q=85&s=e6698bb6e93dd202fe835bbfc8e6652c" alt="Google Drive file sync settings button" width="1920" height="528" data-path="images/it-management/8ltduljmjc/1783318239686-googledrive.png" />

2. On the "File Sync Settings" screen, select a workspace and click **\[Save]**.

   <img src="https://mintcdn.com/admina-sbn/niA9KijZSm52jzoI/images/it-management/8ltduljmjc/1765935882437-2025-12-17-10-42-14.png?fit=max&auto=format&n=niA9KijZSm52jzoI&q=85&s=81f128f0e4920c8ef9399204e4aa0f9e" alt="Workspace selection screen" width="740" height="392" data-path="images/it-management/8ltduljmjc/1765935882437-2025-12-17-10-42-14.png" />

3. Configure the conditions and click **\[Save]**.

   <img src="https://mintcdn.com/admina-sbn/niA9KijZSm52jzoI/images/it-management/8ltduljmjc/1765880535606-2025-12-16-19-13-08.png?fit=max&auto=format&n=niA9KijZSm52jzoI&q=85&s=ebe6f92481674dcb58c9a71557b3efa8" alt="File sync settings form" width="738" height="840" data-path="images/it-management/8ltduljmjc/1765880535606-2025-12-16-19-13-08.png" />

   | **Item**                   | **Description**                                                                                                                                 |
   | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
   | **Workspace**              | Select the target workspace.                                                                                                                    |
   | **File type (MIME types)** | Select the types of files to detect. Multiple selections are possible.                                                                          |
   | **Owner email address**    | Enter the email address of the owner whose files you want to detect. Multiple addresses can be configured. Up to 50 email addresses can be set. |
   | **Drive ID**               | Specify the ID of the shared drive you want to detect. Multiple IDs can be added.                                                               |

<Info>
  **When owner email is specified:** Only My Drives are targeted; shared drives are skipped.
  **When Drive ID is specified:** Only shared drives are targeted; My Drives are skipped.
  **When neither is specified:** All My Drives and shared drives are targeted.
</Info>

## Specifying file types

You can select specific file types (MIME types). The available file types follow the Google Workspace and Google Drive specification.

[MIME types supported by Google Workspace and Google Drive](https://developers.google.com/drive/api/guides/mime-types?hl=en)

## Specifying file owners

You can detect files and folders of a specified owner by entering the owner's email address. Multiple addresses can be configured. Up to 50 email addresses can be set.

## Specifying shared drives

You can detect files and folders in a specified shared drive by specifying the Drive ID. The Drive ID can be found in the folder URL. Only top-level shared drives are supported; you cannot specify folder IDs.

<img src="https://mintcdn.com/admina-sbn/niA9KijZSm52jzoI/images/it-management/8ltduljmjc/1731902749628-image.png?fit=max&auto=format&n=niA9KijZSm52jzoI&q=85&s=6325167fc995482775d99a8e05f71692" alt="Checking Drive ID from Google Drive URL" width="1920" height="1610" data-path="images/it-management/8ltduljmjc/1731902749628-image.png" />

<Info>
  You cannot specify a folder ID. Only top-level shared drives are supported.
</Info>

<img src="https://mintcdn.com/admina-sbn/niA9KijZSm52jzoI/images/it-management/8ltduljmjc/1765880627519-2025-12-16-19-13-08.png?fit=max&auto=format&n=niA9KijZSm52jzoI&q=85&s=8480dfc03a200cd72613fcfa92800580" alt="Shared drive Drive ID input form" width="738" height="840" data-path="images/it-management/8ltduljmjc/1765880627519-2025-12-16-19-13-08.png" />

## Running a sync

After saving, the filter settings apply at the next scheduled sync. Manual execution is also possible.

## Frequently asked questions

**Q.** Can I exclude specific Drive IDs?

**A.** The Google API does not support exclusion, so this is not possible by design. Instead, specify only the Drive IDs you want to detect.

**Example:**

Drive IDs to exclude: `driveA`, `driveB`

Drive IDs to detect: `driveC`, `driveD`

Drive ID list to configure: `["driveC", "driveD"]`
