從舊版 Google Knowledge Graph Search API 遷移
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
更新要求
新版 Google Knowledge Graph Search API 推出兩種版本:Basic 和 Advanced。詳情請參閱「Basic 和 Advanced 版本」。
為支援安全性和法規遵循需求,請改用新的預測端點。如要使用 Basic 版本,請為這個 API 使用新的存取權杖或服務帳戶,並替換端點網址,如下所示:
舊版
https://kgsearch.googleapis.com/v1/entities
已更新
https://enterpriseknowledgegraph.googleapis.com/v1/projects/PROJECT_ID/locations/global/publicKnowledgeGraphEntities
回覆更新
Cloud 知識圖譜 MID 會成為實體的主要 MID (identifier)。為顧及回溯相容性,您仍可在 identifier 部分找到 Google 知識圖譜 MID。詳情請參閱「瞭解機器 ID (MID)」。
"identifier": [
{
"@type": "PropertyValue",
"propertyID": "googleKgMID",
"value": "/m/06pwq"
}
]
已新增 additionalProperty,說明「name」欄位的授權規定。
"additionalProperty": {
"@type": "PropertyValue",
"name": "nameLicense",
"value": "https://cloud.google.com/maps-platform/terms"
}
回應中已移除 resultScore 欄位。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-02-26 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-02-26 (世界標準時間)。"],[],[]]