Skip to content

Google Drive

Self-Managed AI Platform installations

The Google Drive connector will be automatically installed and does not need to be manually added.

Supported authentication

OAuth

For self-managed AI platform users, Google OAuth must be configured by an administrator. For information on configuring OAuth in Google, see the following pages in Google's documentation:

Your DataRobot admin must then configure OAuth credentials (client ID and secret) in the environment variables GOOGLE_AUTH_CLIENT_ID and GOOGLE_AUTH_CLIENT_SECRET. For more information, see the BigQuery & Google Drive section of the DataRobot Installation Guide.

Service account

For information on configuring these credentials, see Service account credentials in the Google documentation.

When creating service account credentials, you also need to obtain credentials in the form of a key pair. For more information on creating a key pair, see Create credentials for service account in the Google documentation.

Prerequisites

The following is required before connecting to Google Drive in DataRobot:

  • A Google account authenticated with OAuth or a Google Service Account
  • Data stored in Google Drive

Set up a connection in DataRobot

To connect to Google Drive, create a vector database, and when you select a data source, add Google Drive as the connection. Once you authenticate the connection with OAuth, a credential named gdrive-oauth is automatically created.

You can also set up a Google Drive connection from the Account Settings > Data connections page.

Required parameters

Parameters are not required to connect to Google Drive.

Feature considerations

  • The Google Drive connector only supports unstructured data and is only available during vector database creation.
  • You can only add and view the Google Drive connector as part of the vector database create workflow and from Account settings > Data connections. You cannot view Google Drive connections in other areas where you work with datasets (structured data), for example, the Browse data modal in NextGen or the AI Catalog in DataRobot Classic.
  • If you are connecting to both Google Drive and BigQuery with OAuth authentication, deleting the Google Drive OAuth credential gdrive-oauth will also remove the BigQuery OAuth credential (if it exists).

Troubleshooting

Problem Solution Instructions
When attempting to execute an operation in DataRobot, the firewall requests that you clear the IP address each time. Add all allowed IPs for DataRobot. See Allowed source IP addresses. If you've already added the allowed IPs, check the existing IPs for completeness.
Issue authenticating Google Drive

Need to reset the Google user assigned to authentication
Locate and remove the gdrive-oauth credential.
  1. In DataRobot, navigate to the Credentials Management tab.
  2. Select the gdrive-oauth credential and click Delete.
  3. Select User Settings > Data Connections.
  4. Reauthenticate your Google Drive data connection.
Issue authenticating Google Drive Remove authentication consent in Google Cloud console.
  1. Navigate to your Google Account permissions.
  2. Select DataRobot under third-party applications.
  3. Click Remove Access.