# Googleドライブ

> Googleドライブ -
> OAuthまたはサービスアカウントを使用してDataRobotをGoogleドライブに接続します。これには、セルフマネージド環境向けの認証設定とコネクターパラメーターが含まれます。

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-07-15T05:55:45.010140+00:00` (UTC).

## Primary page

- [Googleドライブ](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md): Full documentation for this topic (Markdown sidecar).

## Sections on this page

- [サポートされている認証](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#supported-authentication): In-page section heading.
- [OAuth](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#oauth): In-page section heading.
- [サービスアカウント](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#service-account): In-page section heading.
- [前提条件](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#prerequisites): In-page section heading.
- [DataRobotでの接続の設定](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#set-up-a-connection-in-datarobot): In-page section heading.
- [必須パラメーター](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#required-parameters): In-page section heading.
- [機能に関する注意事項](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#feature-considerations): In-page section heading.
- [トラブルシューティング](https://docs.datarobot.com/ja/docs/reference/data-ref/data-sources/dc-gdrive.html.md#troubleshooting): In-page section heading.

## Documentation content

> [!NOTE] セルフマネージドAIプラットフォームのインストール
> The Google Drive connector will be automatically installed and does not need to be manually added.

## サポートされている認証

- Google OAuth
- Googleサービスのアカウント

### 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:

- Configure the OAuth consent screen and choose scopes
- OAuth client ID credentials 備考Note the following when configuring OAuth consent and client ID credentials:Required scopes for Google Drive:https://www.googleapis.com/auth/driveAuthorized JavaScript origins URI:https://xxx.datarobot.comRedirect URI:https://xxx.datarobot.com/account/google/google_authz_return

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.

### サービスアカウント

For information on configuring these credentials, see [Service account credentials](https://developers.google.com/workspace/guides/create-credentials#service-account) 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](https://developers.google.com/workspace/guides/create-credentials#create_credentials_for_a_service_account) in the Google documentation.

## 前提条件

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

## DataRobotでの接続の設定

To connect to Google Drive, create a vector database, and when you [select a data source](https://docs.datarobot.com/ja/docs/agentic-ai/vector-database/vector-dbs.html.md#add-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 connectionspage](https://docs.datarobot.com/ja/docs/platform/acct-settings/nxt-data-connect.html.md).

## 必須パラメーター

Parameters are not required to connect to Google Drive.

## 機能に関する注意事項

- 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).

## トラブルシューティング

| 問題 | 解決方法 | 説明 |
| --- | --- | --- |
| DataRobotで操作を実行しようとすると、ファイアウォールが毎回IPアドレスをクリアするよう要求します。 | DataRobotで許可されたすべてのIPを追加します。 | 許可された送信元IPアドレスを参照してください。 許可されたIPをすでに追加している場合は、既存のIPが完全であることを確認してください。 |
| Issue authenticating Google DriveNeed to reset the Google user assigned to authentication | Locate and remove the gdrive-oauth credential. | In DataRobot, navigate to the Credentials Management tab.Select the gdrive-oauth credential and click Delete.Select User Settings > Data Connections.Reauthenticate your Google Drive data connection. |
| Issue authenticating Google Drive | Google Cloudコンソールで認証同意を削除します。 | Googleアカウントの権限に移動します。サードパーティのアプリケーションでDataRobotを選択します。アクセス権を削除をクリックします。 |
