Um Apigee hybrid zu verwenden, müssen Sie die folgenden APIs für das Projekt in der Google Cloud Console aktivieren:
Apigee API: Bietet die Kommunikation zwischen Ihrem Projekt und anderen Hybriddiensten und Google Cloud APIs.
Apigee Connect API: Ermöglicht die Kommunikation zwischen der Apigee-Verwaltungsebene und dem MART-Dienst auf der Laufzeitebene.
Cloud Pub/Sub API: Erforderlich für den Betrieb des Kontingents.
Cloud Resource Manager API: Wird von Hybrid zum Validieren von Dienstkonten verwendet
Compute Engine API: Wird für die Clusterverwaltung verwendet (nur für GKE-basierte Cluster).
Kubernetes Engine API:Aktivieren Sie diese Option, wenn Sie Google Kubernetes Engine (GKE) oder GKE On-Prem (Anthos) für Ihre Hybridlaufzeit installieren möchten.
Aktivieren Sie die erforderlichen APIs in Ihrem Google Cloud-Projekt:
Sie können die APIs über die Befehlszeile oder über die Benutzeroberfläche der Google Cloud Console aktivieren.
Benutzeroberfläche der Google Cloud
Um die APIs über die Benutzeroberfläche zu aktivieren, führen Sie folgende Schritte aus:
Gehen Sie im Navigationsmenü zu APIs & Dienste > Bibliothek.
Suchen Sie in der Ansicht API-Bibliothek nach "Apigee".
Google Cloud zeigt eine Liste von APIs an, die mit „Apigee“ übereinstimmen
Suchen Sie den Dienst Apigee API und klicken Sie darauf.
Klicken Sie in der Apigee API-Ansicht auf Enable.
Google Cloud aktiviert die Apigee API für Ihr Google Cloud-Projekt.
Aktivieren Sie die Apigee Connect API:
Suchen Sie in der Ansicht API-Bibliothek nach "Apigee Connect".
Suchen Sie die Apigee Connect API und aktivieren Sie sie.
Google Cloud aktiviert die Apigee Connect API für Ihr Google Cloud-Projekt.
Cloud Pub/Sub API aktivieren:
Suchen Sie in der Ansicht API-Bibliothek nach "Cloud Pub/Sub API".
Suchen Sie die Cloud Pub/Sub API und aktivieren Sie sie.
Google Cloud aktiviert die Cloud Pub/Sub API für Ihr Google Cloud-Projekt.
Aktivieren Sie die Cloud Resource Manager API.
Suchen Sie in der Ansicht API-Bibliothek nach "Cloud Resource Manager".
Suchen Sie den Cloud Resource Manager und aktivieren Sie ihn.
Google Cloud aktiviert die Cloud Resource Manager API für Ihr Google Cloud-Projekt.
Aktivieren Sie nur für GKE-basierte Cluster die Compute Engine API:
Suchen Sie in der Ansicht API-Bibliothek nach "Compute Engine".
Suchen Sie die Compute Engine API und aktivieren Sie sie.
Google Cloud aktiviert die Compute Engine API für Ihr Google Cloud-Projekt.
Nur GKE-basierte Cluster: Aktivieren Sie die Google Kubernetes Engine API:
Suchen Sie in der Ansicht API-Bibliothek nach „Google Kubernetes Engine“.
Suchen Sie die Google Kubernetes API und aktivieren Sie sie.
Google Cloud aktiviert die Google Kubernetes API für Ihr Google Cloud-Projekt.
Wählen Sie APIs & Dienste > Dashboard aus, um zu bestätigen, dass Sie die APIs aktiviert haben.
Die soeben hinzugefügten APIs werden in der Liste der aktivierten APIs angezeigt:
Apigee API
Apigee Connect API
Cloud Pub/Sub API
Cloud Resource Manager API
Compute Engine API
Kubernetes Engine API
gcloud-CLI
Um die APIs über die Befehlszeile zu aktivieren, führen Sie die folgenden Schritte aus:
Öffnen Sie ein Terminalfenster auf dem Gerät, mit dem Sie Apigee verwalten.
Prüfen Sie, ob gcloud in Ihrer lokalen Shell installiert ist. Führen Sie dazu den folgenden Befehl aus. Das gcloud-Tool stellt die primäre Befehlszeilenschnittstelle für Cloud bereit.
Weitere Informationen zum Aktivieren von APIs in der Google Cloud Console finden Sie unter API im Google Cloud-Projekt aktivieren in der Cloud-Dokumentation.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-28 (UTC)."],[[["\u003cp\u003eThis Apigee hybrid documentation is for version 1.4, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eEnabling specific Google Cloud APIs, such as the Apigee API, Apigee Connect API, and Cloud Pub/Sub API, is required to use Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eThe Compute Engine API and Kubernetes Engine API are needed when using GKE-based clusters.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable the required APIs through the Google Cloud console UI or by using the \u003ccode\u003egcloud\u003c/code\u003e command-line tool.\u003c/p\u003e\n"],["\u003cp\u003eVerifying that all necessary APIs are enabled can be done by checking the API dashboard in the Google Cloud console or by using the \u003ccode\u003egcloud services list\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,["# Step 3: Enable APIs\n\n| You are currently viewing version 1.4 of the Apigee hybrid documentation. **This version is end of life.** You should upgrade to a newer version. For more information, see [Supported versions](/apigee/docs/hybrid/supported-platforms#supported-versions).\n\nTo use Apigee hybrid, you must enable the following APIs for the project in the Google Cloud console:\n\n- **Apigee API:** Provides communication between your project and other hybrid services and Google Cloud APIs.\n- **Apigee Connect API:** Provides communication between the Apigee management plane and the MART service in the runtime plane.\n- **Cloud Pub/Sub API:** Required for quota to operate.\n- **Cloud Resource Manager API:** Used by hybrid to validate service accounts.\n- **Compute Engine API:** Used for cluster management (GKE-based clusters only).\n- **Kubernetes Engine API:** Enable if you plan to use Google Kubernetes Engine (GKE), or GKE on-prem (Anthos) on-prem for your hybrid runtime installation.\n\n### Enable the required APIs for your Google Cloud project:\n\n\nYou can use the CLI or the Google Cloud console UI to enable the APIs. \n\n### Google Cloud UI\n\n\nTo enable the APIs using the UI, perform the following steps:\n\n1. Open the [Google Cloud console](https://console.cloud.google.com) and log in with the account you created in [Step 1: Create a Google Cloud account](/apigee/docs/hybrid/v1.4/precog-gcpaccount).\n2. Select the project that you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.4/precog-gcpproject).\n3. Enable the **Apigee API** as follows:\n 1. From the **Navigation menu** , select **APIs \\& Services \\\u003e Library** .\n\n 2. In the **API Library** view search for \"Apigee\".\n\n Google Cloud displays a list of APIs matching \"Apigee\"\n 3. Locate the **Apigee API** service and click it.\n 4. \n 5. In the Apigee API view click **Enable** .\n\n Google Cloud enables the **Apigee API** for your Google Cloud project.\n4. Enable the **Apigee Connect API**:\n 1. In the **API Library** view, search for \"Apigee Connect\".\n 2. Locate the **Apigee Connect API** and enable it.\n\n Google Cloud enables the **Apigee Connect API** for your Google Cloud project.\n5. Enable the **Cloud Pub/Sub API** :\n 1. In the **API Library** view, search for \"Cloud Pub/Sub API\".\n 2. Locate the **Cloud Pub/Sub API** and enable it.\n\n Google Cloud enables the **Cloud Pub/Sub API** for your Google Cloud project.\n6. Enable the **Cloud Resource Manager API** :\n 1. In the **API Library** view, search for \"Cloud Resource Manager\".\n 2. Locate the **Cloud Resource Manager** and enable it.\n\n Google Cloud enables the **Cloud Resource Manager API** for your Google Cloud project.\n7. (GKE-based clusters only) Enable the **Compute Engine API** :\n 1. In the **API Library** view, search for \"Compute Engine\".\n 2. Locate the **Compute Engine API** and enable it.\n\n Google Cloud enables the **Compute Engine API** for your Google Cloud project.\n8. (GKE-based clusters only) Enable the **Google Kubernetes Engine API** :\n 1. In the **API Library** view, search for \"Google Kubernetes Engine\".\n 2. Locate the **Google Kubernetes API** and enable it.\n\n Google Cloud enables the **Google Kubernetes API** for your Google Cloud project.\n9. To confirm that you have enabled the APIs, select **APIs \\& Services \\\u003e\n Dashboard** .\n\n The APIs you just added are displayed in the list of enabled APIs:\n - Apigee API\n - Apigee Connect API\n - Cloud Pub/Sub API\n - Cloud Resource Manager API\n - Compute Engine API\n - Kubernetes Engine API\n\n### gcloud CLI\n\n\nTo enable the APIs using the CLI, perform the following steps:\n\n1. Open a terminal window on the device you are using to manage Apigee.\n2. Be sure you have `gcloud` installed in your local shell by running the following command. The `gcloud` tool provides the primary command-line interface for Cloud. \n\n gcloud -h\n\n\n If you do not have `gcloud` installed,\n [install the Cloud SDK](https://cloud.google.com/sdk/install).\n3. Make sure you have the `PROJECT_ID` variable defined with the ID of the project you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.4/precog-gcpproject): \n\n ```\n echo $PROJECT_ID\n ```\n\n\n If it is not, define the `PROJECT_ID` environment variable with the following\n command: \n\n ```\n export PROJECT_ID=your_project_id\n ```\n | **Note:** Do not include the period after the project ID.\n4. Select the tab for your intended installation to see the command to enable the APIs:\n\n ### GKE\n\n\n If you will be running your clusters in Google Cloud (GKE), enable the APIs with the\n following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com --project $PROJECT_ID\n ```\n\n ### GKE on-prem\n\n\n If you will be running your clusters in GKE on-prem (Anthos), enable the APIs with the\n following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n ```\n\n ### AKS\n\n\n If you will be running your clusters in Azure Kubernetes Service (AKS), enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n\n ### GKE on AWS\n\n\n If you will be running your clusters in GKE on AWS, enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n\n ### EKS\n\n\n If you will be running your clusters in Amazon EKS, enable the APIs\n with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n pubsub.googleapis.com \\\n cloudresourcemanager.googleapis.com --project $PROJECT_ID\n ```\n5. Verify that all APIs are enabled using the following command: \n\n ```\n gcloud services list\n ```\n\n\n The following is returned: \n\n ```verilog\n NAME TITLE\n apigee.googleapis.com Apigee API\n apigeeconnect.googleapis.com Apigee Connect API\n bigquery.googleapis.com BigQuery API\n bigquery.googleapis.com BigQuery API\n bigquerystorage.googleapis.com BigQuery Storage API\n cloudapis.googleapis.com Google Cloud APIs\n clouddebugger.googleapis.com Cloud Debugger API\n cloudresourcemanager.googleapis.com Cloud Resource Manager API\n cloudtrace.googleapis.com Cloud Trace API\n compute.googleapis.com Compute Engine API\n container.googleapis.com Kubernetes Engine API\n containeranalysis.googleapis.com Container Analysis API\n containerregistry.googleapis.com Container Registry API\n datastore.googleapis.com Cloud Datastore API\n iam.googleapis.com Identity and Access Management (IAM) API\n iamcredentials.googleapis.com IAM Service Account Credentials API\n logging.googleapis.com Cloud Logging API\n monitoring.googleapis.com Cloud Monitoring API\n oslogin.googleapis.com Cloud OS Login API\n pubsub.googleapis.com Cloud Pub/Sub API\n servicemanagement.googleapis.com Service Management API\n serviceusage.googleapis.com Service Usage API\n sql-component.googleapis.com Cloud SQL\n storage-api.googleapis.com Google Cloud Storage JSON API\n storage-component.googleapis.com Cloud Storage\n ```\n\nFor more information about enabling APIs in the Google Cloud console, see\n[Enabling an\nAPI in your Google Cloud project](https://cloud.google.com/endpoints/docs/openapi/enable-api) in the Cloud documentation.\n[1](/apigee/docs/hybrid/v1.4/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.4/precog-gcpproject) [3](/apigee/docs/hybrid/v1.4/precog-enableapi) [(NEXT) Step 4: Create an organization](/apigee/docs/hybrid/v1.4/precog-provision) [5](/apigee/docs/hybrid/v1.4/precog-add-environment)\n\n\u003cbr /\u003e"]]