Zanim zaczniesz korzystać z interfejsów API Google, musisz włączyć je w projekcie Google Cloud. W jednym projekcie Google Cloud możesz włączyć jeden lub więcej interfejsów API. Jeśli nie masz jeszcze utworzonego projektu Google Cloud, zapoznaj się z artykułem Tworzenie projektu Google Cloud.
Aby włączyć interfejs API w projekcie Cloud:
konsola Google Cloud
- W konsoli Google Cloud kliknij Menu > Więcej usług > Google Workspace > Biblioteka usług.
- Kliknij interfejs API, który chcesz włączyć.
- Kliknij Włącz.
- Aby włączyć więcej interfejsów API, powtórz powyższe czynności.
Google Cloud CLI
- Zainstaluj lub otwórz interfejs wiersza poleceń Google Cloud.
-
Uruchom polecenie
services enable
, określając, która usługa API ma zostać włączona.gcloud services enable API_SERVICE_ID
Interfejsy Google Workspace API
Aby włączyć określone interfejsy API Google Workspace w projekcie Cloud, skorzystaj z tych linków do konsoli Google Cloud lub interfejsu wiersza poleceń Google Cloud.
Interfejs API pakietu Admin SDK |
Włącz API pakietu Admin SDK
|
Alert Center API |
Włączanie interfejsu Alert Center API
|
Apps Script API |
Włącz Apps Script API
|
CalDAV API |
Włącz interfejs CalDAV API
|
Calendar API |
Włącz API Kalendarza
|
Chat API |
Włącz API Chat
|
Classroom API |
Włączanie interfejsu Classroom API
|
Interfejs Cloud Identity API |
Włącz Cloud Identity API
|
Cloud Search API |
Włącz Cloud Search API
|
Docs API |
Włącz Dokumenty API
|
Drive API |
Włącz interfejs Drive API
|
Drive Activity API |
Włącz interfejs Drive Activity API
|
Drive Labels API |
Włączanie interfejsu Drive Labels API
|
Interfejs API Formularzy |
Włączanie interfejsu API Formularzy
|
Gmail API |
Włączanie interfejsu Gmail API
|
Groups Migration API |
Włączanie interfejsu Groups API
|
Groups Settings API |
Włączanie interfejsu Groups Settings API
|
Google Workspace Add-ons API |
Włączanie Google Workspace Add-ons API
|
Google Keep API |
Włącz Google Keep API
|
Interfejs Enterprise License Manager API |
Włączanie interfejsu Enterprise License Manager API
|
Interfejs API Marketplace |
Włącz API Marketplace
|
Pakiet SDK Marketplace |
Włącz pakiet SDK Marketplace
|
People API |
Włącz interfejs People API
|
Interfejs API Postmaster Tool |
Włączanie interfejsu Postmaster Tool API
|
Interfejs API sprzedawcy |
Włączanie interfejsu Seller API
|
Sheets API |
Włącz API Arkuszy
|
Slides API |
Włącz interfejs API Prezentacji
|
Tasks API |
Włącz API Listy zadań
|
Vault API |
Włączanie interfejsu Vault API
|
Następny krok
Dowiedz się, jak działa uwierzytelnianie i autoryzacja w interfejsach Google Workspace API.