啟用 Cloud API
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Google Cloud 專案是您存取 Actions Center 的 Maps Booking 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 (Dev)」。
- 在結果中,按一下「Google Maps Booking API (開發人員)」。
提供專案編號:
- 前往動作中心,查看你的新手上路計畫。
- 將專案資訊主頁中的 Cloud 專案編號,貼到「設定 API 存取權」欄位,該欄位位於「設定」里程碑。
- 按一下「提交」。
如果您在呼叫 API 時遇到問題,請參閱「啟用 MapsBooking API」。
在 Action Center 中提供專案編號後,專案就能存取即時更新呼叫。API 更新的配額為每 60 秒 1,500 個要求,或平均每秒 25 個要求。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間: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."]]