步驟 2:啟用 API
在設定 Actions Center 帳戶後,只要在 Google Cloud API 控制台中啟用 API,與您在合作夥伴入口網站中輸入的 Google Cloud 專案編號相關聯的 Google Cloud 專案,就會獲得必要配額 (每分鐘 1,500 個查詢),以便呼叫 Maps Booking API。如要啟用 API,請完成下列步驟:在 API 控制台中,按一下「+ Enable APIs and Services」,搜尋「Google Maps Booking API」,然後點選「Enable」。
接著針對 Google Maps Booking API (開發人員) 版本重複這個步驟:點選「+ 啟用 API 和服務」,搜尋「Google Maps Booking API (開發人員)」,然後點選「啟用」。Google Maps Booking API (dev) 可用來存取沙箱環境。
如果您在呼叫 API 時遇到問題,請參閱這份文件。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-26 (世界標準時間)。
[null,null,["上次更新時間:2024-11-26 (世界標準時間)。"],[[["Your Google Cloud Project will automatically receive the required quota for using the Maps Booking APIs after setup."],["You need to manually enable both the Google Maps Booking API and the Google Maps Booking API (Dev) in the Google Cloud API Console."],["The Google Maps Booking API (Dev) provides access to a sandbox environment for testing."],["Refer to the provided documentation if you encounter problems calling the APIs."]]],["To use the Maps Booking APIs, enable them in the Google Cloud API Console. First, search for and enable \"Google Maps Booking API.\" Then, enable \"Google Maps Booking API (Dev)\" to access the sandbox environment. These actions grant your associated Google Cloud Project the required quota of 1,500 queries per minute. Consult the linked documentation if you face issues making API calls, and for further details on enabling or disabling APIs.\n"]]