這份文件列出您可能需要要求的 OAuth 2.0 範圍,以便存取 Google API,具體視您需要的存取層級而定。機密範圍需要經過 Google 審查,且 Google Cloud 控制台的 OAuth 同意畫面設定頁面會顯示機密 指標。許多範圍會重疊,因此建議使用非私密的範圍。如要瞭解各方法的範圍需求,請參閱個別 API 說明文件。
如果公開應用程式使用的範圍允許存取特定使用者資料,就必須完成驗證程序。測試應用程式時,如果畫面上顯示「未經驗證的應用程式」 ,請務必提出驗證要求來移除這個畫面。如要進一步瞭解未經驗證的應用程式 ,以及應用程式驗證的
常見問題 ,請前往說明中心。
範圍
說明
https://www. googleapis. com/ auth/ cloud-platform
檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。
範圍
說明
https://www. googleapis. com/ auth/ cloud-platform
檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。
範圍
說明
https://www. googleapis. com/ auth/ adexchange. buyer
管理 Ad Exchange 買方帳戶設定
範圍
說明
https://www. googleapis. com/ auth/ cloud-platform
檢視、編輯、設定和刪除您的 Google Cloud 資料,以及查看您 Google 帳戶的電子郵件地址。
範圍
說明
https://www. googleapis. com/ auth/ admin. reports. audit. readonly
查看 Google Workspace 網域的稽核報告
https://www. googleapis. com/ auth/ admin. reports. usage. readonly
查看 Google Workspace 網域的使用情況報告
範圍
說明
https://www. googleapis. com/ auth/ admin. datatransfer
查看並管理機構中使用者之間的資料轉移活動
https://www. googleapis. com/ auth/ admin. datatransfer. readonly
查看機構中使用者之間的資料轉移活動
範圍
說明
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.