Google API 的 OAuth 2.0 範圍

這份文件列出您可能需要要求的 OAuth 2.0 範圍,以便存取 Google API,具體視您需要的存取層級而定。機密範圍需要經過 Google 審查,且 Google Cloud 控制台的 OAuth 同意畫面設定頁面會顯示機密指標。許多範圍會重疊,因此建議使用非私密的範圍。如要瞭解各方法的範圍需求,請參閱個別 API 說明文件。

Access Approval API 第 1 版

範圍 說明
https://www.googleapis.com/auth/cloud-platform 檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。

Access Context Manager API,第 1 版

範圍 說明
https://www.googleapis.com/auth/cloud-platform 檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。

Ad Exchange Buyer API II,v2beta1

範圍 說明
https://www.googleapis.com/auth/adexchange.buyer 管理 Ad Exchange 買方帳戶設定

Address Validation API (第 1 版)

範圍 說明
https://www.googleapis.com/auth/cloud-platform 檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。

Admin SDK API 第 1 版

範圍 說明
https://www.googleapis.com/auth/admin.reports.audit.readonly 查看 Google Workspace 網域的稽核報告
https://www.googleapis.com/auth/admin.reports.usage.readonly 查看 Google Workspace 網域的使用情況報告

Admin SDK API 第 1 版

範圍 說明
https://www.googleapis.com/auth/admin.datatransfer 查看並管理機構中使用者之間的資料轉移活動
https://www.googleapis.com/auth/admin.datatransfer.readonly 查看機構中使用者之間的資料轉移活動

Admin SDK API 第 1 版

範圍 說明
https://www.googleapis.com/auth/admin.chrome.printers 查看、新增、編輯以及永久刪除貴機構可在 Chrome 中使用的印表機
https://www.googleapis.com/auth/admin.chrome.printers.readonly 查看貴機構可在 Chrome 中使用的印表機
https://www.googleapis.com/auth/admin.directory.customer 查看及管理客戶相關資訊
https://www.googleapis.com/auth/admin.directory.customer.readonly 查看客戶相關資訊
https://www.googleapis.com/auth/admin.directory.device.chromeos 查看及管理 ChromeOS 裝置中繼資料
https://www.googleapis.com/auth/admin.directory.device.chromeos.readonly 查看 ChromeOS 裝置的中繼資料
https://www.googleapis.com/auth/admin.directory.device.mobile 查看及管理您的行動裝置中繼資料
https://www.googleapis.com/auth/admin.directory.device.mobile.action 執行管理工作,管理您的行動裝置
https://www.googleapis.com/auth/admin.directory.device.mobile.readonly 查看您的行動裝置中繼資料
https://www.googleapis.com/auth/admin.directory.domain 查看及管理客戶的網域佈建
https://www.googleapis.com/auth/admin.directory.domain.readonly 查看與客戶相關的網域
https://www.googleapis.com/auth/admin.directory.group 查看及管理您網域中群組的佈建
https://www.googleapis.com/auth/admin.directory.