启用 Cloud API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
您可以通过 Google Cloud 项目访问 Actions Center 的 Maps Booking API,该 API 用于提交实时更新。
您必须在 Google Cloud 控制台中使用 Google 账号才能完成此步骤。您可以创建新项目,也可以使用现有项目。如需了解详情,请参阅使用 Maps Booking API 进行身份验证。
以下是启用 Cloud API 的步骤:
选择项目:现有项目或新项目
使用现有 Google Cloud 项目:
- 登录 Google Cloud 控制台,并记下您的开发者电子邮件地址。
- 前往项目信息中心。
- 在项目信息部分中找到并复制您的项目编号。
- 继续执行第 2 步。
创建新的 Google Cloud 项目:
- 登录 Google Cloud 控制台,并记下您的开发者电子邮件地址。
- 前往 Google Cloud 控制台中的管理资源页面。
- 填写所有必填字段,然后点击创建。
- 前往项目信息中心。
- 在项目信息部分中找到并复制您的项目编号。
- 继续执行第 2 步。
启用 Google Maps Booking API:
- 前往 Google Cloud 控制台。
- 点击启用 API 和服务。
- 在搜索栏中,输入 Google Maps Booking API。
- 在结果中,点击 Google Maps Booking API。
- 点击启用。
启用 Google Maps Booking API(开发者版本)。您可以使用 Google Maps Booking API(开发者版本)访问沙盒环境。
- 前往 Google Cloud 控制台。
- 点击启用 API 和服务。
- 在搜索栏中,输入 Google Maps Booking API(开发者版)。
- 在结果中,点击 Google Maps Booking API(开发者版)。
提供您的项目编号:
- 前往 Actions Center 中的初始配置方案。
- 将项目信息中心中的 Cloud 项目编号粘贴到设置里程碑的设置 API 访问权限字段中。
- 点击提交。
如果您在调用 API 时遇到问题,请参阅启用 MapsBooking API。
在行动中心内提供项目编号后,您的项目将获得实时更新调用权限。API 更新的配额为每 60 秒 1,500 个请求,即平均每秒 25 个请求。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[],[],null,["# Enable Cloud APIs\n\nYour [Google Cloud](https://cloud.google.com/) project is how you access the\nActions Center's Maps Booking API, which is used to submit real-time updates.\nYou must use a Google Account within the [Google Cloud console](https://console.developers.google.com/)\nfor this step. You can\n[create a new project](https://support.google.com/googleapi/answer/6251787) or\nuse an existing project. For more information, see [Authenticate with Maps Booking API](/actions-center/verticals/reservations/e2e/reference/tutorials/authenticate-with-mapsbooking-api#enable-the-MapsBooking-api).\n\nHere are the steps to enable the Cloud APIs:\n\n1. Choose your project: existing or new\n\n Use an existing Google Cloud project:\n 1. Sign in to the [Google Cloud console](https://cloud.google.com/), and note down your developer email address.\n 2. Navigate to the [project dashboard](https://console.cloud.google.com/home/dashboard).\n 3. Find and copy your project number from the **Project info** section.\n 4. Continue to Step 2.\n\n Create a new Google Cloud project:\n 1. Sign in to the [Google Cloud console](https://cloud.google.com/), and note down your developer email address.\n 2. Navigate to the [Manage resources](https://console.cloud.google.com/cloud-resource-manager?walkthrough_id=resource-manager--create-project&start_index=1#step_index=1) page in the Google Cloud console.\n 3. Fill out all required fields and click **Create**.\n 4. Navigate to the [project dashboard](https://console.cloud.google.com/home/dashboard).\n 5. Find and copy your project number from the **Project info** section.\n 6. Continue to Step 2.\n2. Enable the Google Maps Booking API:\n\n 1. Navigate to the [Google Cloud console](https://console.developers.google.com/).\n 2. Click **Enable APIs and Services** .\n - Learn more about how to [Enable and disable APIs](https://support.google.com/googleapi/answer/6158841).\n 3. In the search bar, enter **Google Maps Booking API**.\n 4. In the results, click **Google Maps Booking API**.\n 5. Click **Enable**.\n3. Enable the Google Maps Booking API (Dev) version. The Google Maps Booking API\n (Dev) can be used to access the sandbox environment.\n\n 1. Navigate to the [Google Cloud console](https://console.developers.google.com/).\n 2. Click **Enable APIs and Services**.\n 3. In the search bar, enter **Google Maps Booking API (Dev)**.\n 4. In the results, click **Google Maps Booking API (Dev)**.\n4. Provide your project number:\n\n 1. Navigate to your onboarding plan in the [Actions Center](https://partnerdash.google.com/apps/reservewithgoogle/).\n 2. Paste the Cloud project number from the [project dashboard](https://console.cloud.google.com/home/dashboard) into the **Set your API access** field of [Setup](https://actionscenter.google.com/home) milestone.\n 3. Click **Submit**.\n\nIf you've issues when you make calls to the APIs, see [Enable the MapsBooking API](/actions-center/verticals/reservations/e2e/reference/tutorials/authenticate-with-mapsbooking-api#enable-the-MapsBooking-api).\n\nAfter you provide your project number within the Actions Center, your project\ngets access to make real time update calls. API updates have a quota of 1,500\nrequests every 60 seconds, or 25 requests per second on average."]]