Bật Cloud API
Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Dự án của bạn trên Google Cloud là cách bạn truy cập vào Maps Booking API của Trung tâm hành động. API này được dùng để gửi thông tin cập nhật theo thời gian thực.
Bạn phải sử dụng Tài khoản Google trong Google Cloud Console cho bước này. Bạn có thể tạo một dự án mới hoặc sử dụng một dự án hiện có. Để biết thêm thông tin, hãy xem phần Xác thực bằng Maps Booking API.
Dưới đây là các bước để bật Cloud API:
Chọn dự án: dự án hiện có hoặc dự án mới
Sử dụng một dự án hiện có trên Google Cloud:
- Đăng nhập vào Bảng điều khiển Google Cloud rồi ghi lại địa chỉ email của nhà phát triển.
- Chuyển đến bảng điều khiển dự án.
- Tìm và sao chép số dự án của bạn trong phần Thông tin dự án.
- Chuyển sang Bước 2.
Tạo một dự án mới trên Google Cloud:
- Đăng nhập vào Bảng điều khiển Google Cloud và ghi lại địa chỉ email của nhà phát triển.
- Chuyển đến trang Quản lý tài nguyên trong Google Cloud Console.
- Điền vào tất cả các trường bắt buộc rồi nhấp vào Tạo.
- Chuyển đến bảng điều khiển dự án.
- Tìm và sao chép số dự án của bạn trong phần Thông tin dự án.
- Chuyển sang Bước 2.
Bật API Đặt chỗ trên Google Maps:
- Chuyển đến Bảng điều khiển Google Cloud.
- Nhấp vào Bật API và dịch vụ.
- Trong thanh tìm kiếm, hãy nhập Google Maps Booking API.
- Trong kết quả, hãy nhấp vào Google Maps Booking API.
- Nhấp vào Bật.
Bật phiên bản Google Maps Booking API (Dev). Bạn có thể sử dụng Google Maps Booking API (Dev) để truy cập vào môi trường hộp cát.
- Chuyển đến Bảng điều khiển Google Cloud.
- Nhấp vào Bật API và dịch vụ.
- Trong thanh tìm kiếm, hãy nhập Google Maps Booking API (Dev).
- Trong kết quả, hãy nhấp vào Google Maps Booking API (Dev).
Cung cấp số dự án của bạn:
- Chuyển đến kế hoạch tham gia của bạn trong Actions Center.
- Dán mã số dự án trên đám mây từ trang tổng quan về dự án vào trường Đặt quyền truy cập API của cột mốc Thiết lập.
- Nhấp vào Gửi.
Nếu bạn gặp vấn đề khi gọi đến các API, hãy xem phần Bật MapsBooking API.
Sau khi bạn cung cấp số dự án trong Trung tâm hành động, dự án của bạn sẽ có quyền thực hiện các lệnh gọi cập nhật theo thời gian thực. API cập nhật có hạn mức là 1.500 yêu cầu mỗi 60 giây hoặc trung bình 25 yêu cầu mỗi giây.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-26 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-26 UTC."],[],[],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."]]