Włącz Cloud APIs
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Projekt Google Cloud umożliwia dostęp do interfejsu Maps Booking API w Centrum działań, który służy do przesyłania aktualizacji w czasie rzeczywistym.
W tym kroku musisz użyć konta Google w konsoli Google Cloud. Możesz utworzyć nowy projekt lub użyć istniejącego. Więcej informacji znajdziesz w artykule Uwierzytelnianie za pomocą interfejsu Maps Booking API.
Aby włączyć interfejsy Cloud API:
Wybierz projekt: istniejący lub nowy
Użyj istniejącego projektu Google Cloud:
- Zaloguj się w konsoli Google Cloud i zanotuj adres e-mail dewelopera.
- Otwórz panel projektu.
- Znajdź i skopiuj numer projektu w sekcji Informacje o projekcie.
- Przejdź do kroku 2.
Utwórz nowy projekt Google Cloud:
- Zaloguj się w konsoli Google Cloud i zanotuj adres e-mail dewelopera.
- Otwórz stronę Zarządzanie zasobami w konsoli Google Cloud.
- Wypełnij wszystkie wymagane pola i kliknij Utwórz.
- Otwórz panel projektu.
- Znajdź i skopiuj numer projektu w sekcji Informacje o projekcie.
- Przejdź do kroku 2.
Włącz interfejs Google Maps Booking API:
- Otwórz konsolę Google Cloud.
- Kliknij Włącz interfejsy API i usługi.
- Na pasku wyszukiwania wpisz Interfejs API rezerwacji w Mapach Google.
- W wynikach kliknij Google Maps Booking API (Interfejs API rezerwacji w Mapach Google).
- Kliknij Włącz.
Włącz wersję interfejsu Google Maps Booking API (Dev). Aby uzyskać dostęp do środowiska piaskownicy, możesz użyć interfejsu Google Maps Booking API (wersja deweloperska).
- Otwórz konsolę Google Cloud.
- Kliknij Włącz interfejsy API i usługi.
- Na pasku wyszukiwania wpisz Google Maps Booking API (Dev).
- W wynikach kliknij Google Maps Booking API (Dev).
Podaj numer projektu:
- Otwórz plan wprowadzania w Centrum działań.
- Wklej numer projektu Cloud z panelu projektu do pola Ustaw dostęp do interfejsu API w sekcji Konfiguracja.
- Kliknij Prześlij.
Jeśli masz problemy z wywoływaniem interfejsów API, zapoznaj się z artykułem Włączanie interfejsu MapsBooking API.
Po podaniu numeru projektu w Centrum działań projekt uzyska dostęp do wywołań aktualizacji w czasie rzeczywistym. Aktualizacje interfejsu API mają limit 1500 żądań co 60 sekund, czyli średnio 25 żądań na sekundę.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]