Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/BIGQUERY_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export BIGQUERY_PROJECT="<your-gcp-project-id>"
export BIGQUERY_LOCATION="<your-dataset-location>" # Optional
export BIGQUERY_USE_CLIENT_OAUTH="true" # Optional: true, false, or a custom header name
export BIGQUERY_SCOPES="<comma-separated-scopes>" # Optional
export BIGQUERY_IMPERSONATE_SERVICE_ACCOUNT="<service-account-email>" # Optional: Service account to impersonate
```

Add the following configuration to your MCP client (e.g., `settings.json` for Gemini CLI, `mcp_config.json` for Antigravity):
Expand Down
4 changes: 4 additions & 0 deletions docs/en/integrations/bigquery/prebuilt-configs/bigquery.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ description: "Details of the BigQuery prebuilt configuration."
OAuth access token for authentication. Defaults to `false`.
* `BIGQUERY_SCOPES`: (Optional) A comma-separated list of OAuth scopes to
use for authentication.
* `BIGQUERY_IMPERSONATE_SERVICE_ACCOUNT`: (Optional) Service account email
to impersonate when making BigQuery and Dataplex API calls. The
authenticated principal must have `roles/iam.serviceAccountTokenCreator`
on the target service account.
* **Permissions:**
* **BigQuery User** (`roles/bigquery.user`) to execute queries and view
metadata.
Expand Down
1 change: 1 addition & 0 deletions internal/prebuiltconfigs/tools/bigquery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ sources:
useClientOAuth: ${BIGQUERY_USE_CLIENT_OAUTH:false}
scopes: ${BIGQUERY_SCOPES:}
maxQueryResultRows: ${BIGQUERY_MAX_QUERY_RESULT_ROWS:50}
impersonateServiceAccount: ${BIGQUERY_IMPERSONATE_SERVICE_ACCOUNT:}
tools:
analyze_contribution:
kind: bigquery-analyze-contribution
Expand Down
Loading