# Google BigQuery

> Google BigQuery - データ接続の作成（最低限必要なパラメーターが入力されていることを確認）と接続のテストの手順に従います。

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-23T18:01:59.792138+00:00` (UTC).

## Primary page

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

## Documentation content

> [!NOTE] セルフマネージドAIプラットフォームのインストール
> The redirect URI for BigQuery OAuth has been updated to: `https://my.datarobot.com/account/google/google_authz_return`. The old redirect URI `https://my.datarobot.com/account/google/bigquery_authz_return` will be deprecated in an upcoming release. For more information, see the BigQuery & Google Drive section of the DataRobot Installation Guide.

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

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

## OAuth

### 前提条件

DataRobotでGoogle BigQueryに接続するには、以下が必要です。

- OAuthで認証された Googleアカウント
- Google BigQueryに保存されたデータ

### DataRobotでの接続の設定

OAuthパラメーターで接続する場合、新しいデータ接続を作成する必要があります。

OAuthを使用してデータ接続を設定するには：

1. データ接続の作成（最低限必要なパラメーターが入力されていることを確認）と接続のテストの手順に従います。
2. 接続をテストをクリックすると、ウィンドウが表示されます。Googleを使ってサインインをクリックします。
3. 利用したいアカウントを選択します。
4. データベースクライアントに同意するには、許可をクリックします。

接続に成功すると、DataRobotに以下のメッセージが表示されます。

### 必須パラメーター

以下の表は、Google BigQueryとの接続を確立するために最低限必要なフィールドの一覧です。

| 必須フィールド | 説明 | ドキュメンテーション |
| --- | --- | --- |
| Projectid | プロジェクトのグローバルに一意の識別子。 | Google Cloudドキュメント |

Google BigQueryのその他の設定オプションについては、Google Cloudのドキュメントを参照してください。

## Google Cloudサービスのアカウント

### 前提条件

DataRobotでGoogle BigQueryに接続するには、以下が必要です。

- Google Cloudサービスのアカウント
- Google BigQueryに保存されたデータ

### DataRobotでの接続の設定

サービスアカウントに接続する場合、新しいデータ接続を作成する必要があります。

サービスアカウントを使用してデータ接続を設定するには：

1. データ接続の作成と接続のテストの手順に従ってください。
2. 資格情報のタイプで、Google Cloudサービスのアカウントを選択し、手動設定に必要なパラメーターを入力します。
3. 保存してサインインをクリックします。

### 必須パラメーター

以下の表は、Google BigQueryとの接続を確立するために最低限必要なフィールドの一覧です。

| 必須フィールド | 説明 | 備考 |
| --- | --- | --- |
| Projectid | プロジェクトのグローバルに一意の識別子。 | Google Cloudドキュメント。 |
| サービスアカウントキー | 各サービスアカウントに関連付けられた公開/秘密RSA鍵ペアで、JSON文字列として提供することも、ファイルからロードすることもできます。 | Google Cloudのドキュメント（サービスアカウントキーの一覧表示と取得）を参照してください。 |
| 表示名 | DataRobotにおける資格情報の一意の識別子。 | この表示名でこれらの資格情報にアクセスして管理できます。 |

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

- DataRobotでGoogle BigQueryの認証に複数のGoogleアカウントを使用することはできません。 GoogleユーザーがOAuthで認証されると、そのGoogleアカウントがそのDataRobotユーザーのすべてのBigQueryデータ接続に使用されます。
- Googleアカウントに多数のプロジェクトがある場合、プロジェクトが projectID パラメーターでフィルターされていても、スキーマの一覧表示に時間がかかることがあります。
- Googleドライブから作成された外部テーブルはサポートされていません。
- If you are connecting to both Google Drive and BigQuery with OAuth authentication, deleting the BigQuery OAuth credential bigquery-oauth will also remove the Google Drive OAuth credential (if it exists).

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

| 問題 | 解決方法 | 説明 |
| --- | --- | --- |
| DataRobotで操作を実行しようとすると、ファイアウォールが毎回IPアドレスをクリアするよう要求します。 | DataRobotで許可されたすべてのIPを追加します。 | 許可された送信元IPアドレスを参照してください。 許可されたIPをすでに追加している場合は、既存のIPが完全であることを確認してください。 |
| Google BigQueryの認証に関する問題認証に割り当てられたGoogleユーザーをリセットする必要があります | bigquery-oauth資格情報を見つけて削除します。 | DataRobotで、資格情報管理タブに移動します。bigquery-oauth資格情報を選択し、削除をクリックします。ユーザー設定 > データ接続を選択します。Google BigQueryデータ接続を再認証します。 |
| Google BigQueryの認証に関する問題 | Google Cloudコンソールで認証同意を削除します。 | Googleアカウントの権限に移動します。サードパーティのアプリケーションでDataRobotを選択します。アクセス権を削除をクリックします。 |
| redirect_uri mismatch (self-managed only ) | Update the redirect URI for BigQuery. | If you were previously using redirect URI https://my.datarobot.com/account/google/bigquery_authz_return, your admin must update the redirect URI to https://my.datarobot.com/account/google/google_authz_return in the Google OAuth configuration. If you need to continue using the old redirect URI, an admin can set the EngConfig BIGQUERY_OAUTH_USE_OLD_REDIRECT_URI to True. |
