Configure Google Drive for external content indexing
Enable the Google Drive and Admin SDK APIs and create a Google Cloud service account to allow the Google Drive external content connector to crawl eligible shared drives and security principals in your Google Drive source system.
Before you begin
You need super administrator credentials for your organization's Google Cloud and Google Admin consoles. To learn about super administrator accounts, see the Prebuilt administrator roles and Super administrator account best practices Google resources.
Role required: none
About this task
The Google Drive external content connector retrieves content from your Google Drive source system using APIs and a service account configured in the Google Cloud console. The connector also relies on domain-wide delegation for the service account, which is configured in the Google Admin console.
Your connector administrator can use settings copied from the Google Cloud console to configure the Google Drive external content connector for proper connection to your Google Drive source system.
Procedure
-
Enable the Google Drive and Admin SDK APIs for your selected project.
-
Create a new Google Cloud service account for your selected project.
-
Add a private key to your new Google Cloud service account.
-
Activate domain-wide delegation in Google Admin for your new Google Cloud service account.
What to do next
- Your Google Workspace domain name, in the format example.com. You can find your domain name by navigating to the https://admin.google.com/ac/domains/manage Google administration page.
- The email address for a user account that has permission to access your Google Workspace domain’s user directory. The Google Drive external content connector uses this account to enumerate users and groups of the domain.Note:This should be an email address from your organization's domain, not a service account email address from the iam.gserviceaccount.com domain.
- The JSON private key file for the Google Cloud service account that you downloaded in step 3.e.
Your connector administrator needs these items to configure a Google Drive external content connector to retrieve searchable content and security principals from your Google Drive instance.
For details on creating and configuring a Google Drive external content connector, see Create a Google Drive external content connector.