---
id: "asgard-ext-google-bigquery"
lang: "zh-TW"
name: "Google BigQuery"
vendor: "Google"
product: "Google BigQuery"
category: "data"
summary: "讓 Agent 瀏覽每位終端用戶自己看得到的 BigQuery 資料集，並用唯讀的 SQL 查詢，每次查詢掃描的資料量有上限。"
url: "https://www.asgard-ai.com/zh/extensions/asgard-ext-google-bigquery"
docs: "https://cloud.google.com/bigquery/docs/reference/rest"
source: null
usages: ["personal-account"]
produces: ["OAuthProvider","SkillSet","Agent"]
requires: {"asgard_cli":">=0.2.1","skills":[],"extensions":[],"platform":["connector"]}
command: "asgard-cli extension get asgard-ext-google-bigquery"
handoff: "請用 asgard-cli 取得 asgard-ext-google-bigquery 這個 Extension，帶我判斷要走哪幾條路線，再開始導入。"
updated: "2026-11-16"
---

# Google BigQuery

讓 Asgard 的 Agent 替每位終端用戶（例如組織成員）使用 Google BigQuery：

- 看本人能開的專案、資料集與資料表
- 讀一張資料表的欄位與說明
- 執行唯讀的 SQL 查詢，依結果回答

Agent 只讀，不建立、不修改、不刪除資料表或資料。每次查詢之前，Agent 會先確認這次會掃描多少資料，超過這個部署設定的上限就不執行。

## 要準備什麼

- 組織要用 Google Workspace。
- 一個開了 BigQuery API 的 Google Cloud 專案，與這個專案裡的 OAuth client。沒有的話，FDE Agent 會一步一步帶著建（大約 15 分鐘）。OAuth client 可以設成「內部」，不用送 Google 審核。
- 每位終端用戶在 Google Cloud 要有 BigQuery 的權限：在一個專案裡執行查詢的權限，與讀資料集的權限。由 Google Cloud 專案的管理員設定。
- BigQuery 依掃描的資料量，向執行查詢的那個專案收費。
