第 2 步:启用 API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
现在,您的 Action Center 账号已设置完毕。与您在合作伙伴门户中输入的 Google Cloud 项目编号关联的 Google Cloud 项目将获得必要的配额(每分钟 1,500 次查询),以便在 Google Cloud API 控制台中启用 Google 地图预订 API 后立即调用这些 API。如需启用这些 API,请完成以下步骤:在 API 控制台中,点击 + 启用 API 和服务,搜索 Google Maps Booking API,然后点击 Enable(启用)。
然后,为 Google Maps Booking API(开发者版本)重复执行上述操作:+ 启用 API 和服务,搜索 Google Maps Booking API(开发者版本),然后点击 启用。可通过 Google Maps Booking API(开发者版本)访问沙盒环境。
如果您在调用 API 时遇到问题,请参阅此文档。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eYour Google Cloud Project will automatically receive the required quota for using the Maps Booking APIs after setup.\u003c/p\u003e\n"],["\u003cp\u003eYou need to manually enable both the Google Maps Booking API and the Google Maps Booking API (Dev) in the Google Cloud API Console.\u003c/p\u003e\n"],["\u003cp\u003eThe Google Maps Booking API (Dev) provides access to a sandbox environment for testing.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided documentation if you encounter problems calling the APIs.\u003c/p\u003e\n"]]],["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"],null,["# Step 2: Enable the APIs\n\nNow that your Actions Center account has been set up, the Google Cloud\nProject associated with the Google Cloud Project number you entered into the Partner Portal will be granted the necessary quota (1,500 queries per minute) to make calls to the Maps Booking\nAPIs, as soon as the APIs are enabled in the Google Cloud API Console. In order to enable the APIs, complete the following steps:\nIn the\n[API Console](https://console.developers.google.com/), click\n**+ Enable APIs and Services** , search for **Google Maps Booking API** , and click **Enable**.\n\nThen repeat this for the Google Maps Booking API (Dev) version:\n**+ Enable APIs and Services** , search for **Google Maps Booking API (Dev)** , and click **Enable**. The Google Maps Booking API (Dev) can be used to access the sandbox environment.\n\n\nIf you are having issues making calls to the APIs, please take a look at\n[this documentation.](/actions-center/verticals/local-services/e2e/reference/tutorials/authenticate-with-mapsbooking-api#enable-the-MapsBooking-api)\n| **Note:** Learn more about how to [Enable and disable APIs](https://support.google.com/googleapi/answer/6158841)."]]