Overview

The Google Drive data store for Gemini Enterprise lets you search and perform actions on your Google Drive data, including files and folders.

Supported actions

When the Google Drive data store is enabled, end users can use natural language commands in Gemini Enterprise to perform the following actions.

Action Description
Copy file or folder Copies a file or folder in Google Drive.
Create folder Creates a new folder in Google Drive.
Download file Downloads a file from Google Drive.
Upload file Uploads a file to Google Drive.

Required scopes

To use Google Drive, you must configure the appropriate OAuth scopes based on your intended connection mode. The following table lists the minimum scopes required for Google Drive search and actions:

Connection mode Scope Purpose
Federated search
https://www.googleapis.com/auth/drive.readonly Minimum permission required to search and retrieve content. Allows the data store to list files and folders, view metadata, list permissions, and download file content.
Federated searchand Actions
https://www.googleapis.com/auth/drive.readonly
https://www.googleapis.com/auth/drive.file
Provides permissions for both searching and performing actions. drive.readonly is required for search and retrieval, while drive.file is required for actions like uploading files and creating folders.

Limitations

  • The Google Drive data store is only supported in the EU, US, and Global locations.

  • If you use security controls, be aware of their limitations related to data in Google Drive, as discussed in the following table:

    Security control Note the following
    Data Residency (DRZ) Gemini Enterprise only guarantees data residency in Google Cloud. For information about data residency and Google Drive, see Google Workspace compliance guidance and documentation, including Data regions for Google Workspace . Also review examples like Choose the region where data is stored and Digital sovereignty .
    Customer-managed encryption keys (CMEK) Your keys only encrypt data within Google Cloud. Cloud Key Management Service controls don't apply to data stored in Google Drive.
    Access Transparency Access Transparency logs actions taken by Google personnel on the Google Cloud project. You'll also need to review the Access Transparency logs created by Google Workspace. For more information, see Access Transparency log events in the Google Workspace Admin Help documentation.

Common search issues

If your search doesn't return the file you're looking for, it might be due to one of the following search index limitations of Google Drive:

  • Google Drive only extracts 1 MB of text and formatting data from your file to make it searchable. Keywords exceeding the 1 MB index limit aren't searchable.

  • For most file types, file size cannot exceed 10 MB. The following are exceptions:

    • XLSX files (.xlsx) cannot exceed 20 MB.

    • PDF files (.pdf) cannot exceed 30 MB.

    • Text files (.txt) cannot exceed 100 MB.

  • Optical character recognition in PDF files is limited to 80 pages. Google Drive doesn't index any PDF that is larger than 50 MB or 80 pages.

What's next

Create a Mobile Website
View Site in Mobile | Classic
Share by: