Wenn Sie Apigee Hybrid verwenden möchten, müssen Sie die folgenden Dienst-APIs aktivieren (sofern nicht anders angegeben):
Aufgabe
Beschreibung
Apigee API
Kommunikation zwischen Ihrem Projekt und anderen Hybriddiensten und Google Cloud APIs.
Apigee Connect API
Kommunikation zwischen der Apigee-Verwaltungsebene und der Laufzeitebene.
Cloud Pub/Sub API
Erforderlich zum Ausführen des Apigee-Kontingentfeatures.
Cloud Resource Manager API
Wird von Hybrid zum Validieren von Dienstkonten verwendet.
Kubernetes Engine API
Aktivieren Sie diese API, wenn Sie Google Kubernetes Engine (GKE) oder GKE On-Prem (Anthos) für die Installation Ihrer hybriden Laufzeit verwenden möchten.
Compute Engine API
Wird für die Clusterverwaltung verwendet (GKE-basiert und OpenShift nur in Google Cloud-basierten Clustern).
Google Cloud APIs
Dies ist ein Metadienst für Google Cloud APIs, der OpenShift für Google Cloud-basierte Cluster ist.
Cloud DNS API
Google Cloud DNS ist ein skalierbarer, zuverlässiger und verwalteter Dienst für ein autoritatives Domain Name System (DNS), der auf der Infrastruktur von Google ausgeführt wird. (OpenShift nur für Google Cloud-basierte Cluster)
API für Identitäts- und Zugriffsverwaltung (IAM)
Verwaltet die Identitäts- und Zugriffssteuerung für Google Cloud Platform-Ressourcen. Dazu gehört auch die Erstellung von Dienstkonten, die Sie nutzen können, um sich bei Google zu authentifizieren und API-Aufrufe durchzuführen.
(OpenShift nur für Google Cloud-basierte Cluster)
IAM Service Account Credentials API
Die Service Account Credentials API ermöglicht Entwicklern, kurzlebige Anmeldedaten mit eingeschränkten Berechtigungen für ihre Dienstkonten auf Google Cloud zu erstellen. (OpenShift nur für Google Cloud-basierte Cluster)
Service Management API
Google Service Management ermöglicht Diensterstellern, ihre Dienste auf der Google Cloud Platform zu veröffentlichen, damit sie von Dienstnutzern gefunden und verwendet werden können. (OpenShift nur für Google Cloud-basierte Cluster)
Service Usage API
Aktiviert Dienste, die Dienstnutzer in der Google Cloud Platform verwenden möchten, listet die verfügbaren oder aktivierten Dienste auf oder deaktiviert Dienste, die von Dienstnutzern nicht mehr verwendet werden. (OpenShift nur für Google Cloud-basierte Cluster)
Google Cloud Storage JSON API
Ermöglicht das Speichern und Abrufen potenziell großer und unveränderlicher Datenobjekte (OpenShift nur für Google Cloud-basierte Cluster).
Cloud Storage
Google Cloud Storage ist ein RESTful-Dienst zum Speichern Ihrer Daten in der Infrastruktur von Google und für den Zugriff auf diese Daten. (OpenShift nur für Google Cloud-basierte Cluster)
Aktivieren Sie die erforderlichen APIs mit gcloud, wie in den folgenden Schritten erläutert. Wenn Sie möchten, können Sie die APIs über die Cloud Console aktivieren.
Schließen Sie die Voraussetzungen ab und prüfen Sie, ob die gcloud CLI in Ihrer lokalen Shell installiert ist:
gcloud -h
Erstellen Sie eine Umgebungsvariable PROJECT_ID, wobei der Wert die ID des Google Cloud-Projekts ist, das Sie für Apigee Hybrid verwenden möchten.
Eine Projekt-ID ist ein eindeutiger String, mit dem Ihr Projekt von allen anderen in Google Cloud unterschieden wird.
Weitere Informationen finden Sie bei Bedarf unter Projekt-ID suchen:
export PROJECT_ID=YOUR_PROJECT_ID
Klicken Sie auf den Tab für Ihre gewünschte Installation, um den Befehl zum Aktivieren der APIs anzuzeigen:
[[["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 documentation pertains to Apigee hybrid version 1.8, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eTo use Apigee hybrid, specific service APIs like Apigee API, Apigee Connect API, and Cloud Pub/Sub API must be enabled.\u003c/p\u003e\n"],["\u003cp\u003eThe required APIs to enable vary depending on the platform used, whether it be GKE, OpenShift on Google Cloud, or other Kubernetes platforms.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egcloud\u003c/code\u003e CLI or the Cloud Console can be used to enable the necessary service APIs for Apigee hybrid.\u003c/p\u003e\n"],["\u003cp\u003eAfter enabling all the required APIs, you must verify that all required APIs have been enabled by listing the services, using the \u003ccode\u003egcloud services list\u003c/code\u003e command.\u003c/p\u003e\n"]]],[],null,["# Step 1: Enable APIs\n\n| You are currently viewing version 1.8 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 (unless otherwise noted) enable the following\n[service APIs](/service-usage/docs/enable-disable):\n\n\nUse `gcloud` to enable the required APIs as explained in the following steps. If you prefer,\nyou can use the [Cloud Console](/endpoints/docs/openapi/enable-api) to enable the APIs.\n| **Note:**The Apigee hybrid installation steps are written for the Linux/UNIX/Mac command shell. If you are using Windows, substitute the equivalent Windows command line syntax.\n\n1. Complete the [Prerequisites](/apigee/docs/hybrid/v1.8/prerequisites), and be sure you have the [gcloud CLI](/sdk/docs/install) installed in your local shell: \n\n gcloud -h\n\n2. Create a `PROJECT_ID` environment variable where the value is the ID of the Google Cloud project you plan to use for Apigee hybrid. A project ID is a unique string used to differentiate your project from all others in Google Cloud. If needed, see [Locate the project ID](https://support.google.com/googleapi/answer/7014113): \n\n ```\n export PROJECT_ID=YOUR_PROJECT_ID\n ```\n | **Note:** Be sure the project ID is correct. This variable is used throughout the hybrid installation instructions. Do not include a period after the project ID.\n3. 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 cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n ```\n\n ### OpenShift on Google Cloud\n\n\n If you will be running your clusters on OpenShift *on Google Cloud*, enable these\n APIs with the following command: \n\n ```\n gcloud services enable \\\n apigee.googleapis.com \\\n apigeeconnect.googleapis.com \\\n cloudapis.googleapis.com \\\n cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n dns.googleapis.com \\\n iam.googleapis.com \\\n iamcredentials.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n servicemanagement.googleapis.com \\\n serviceusage.googleapis.com \\\n storage-api.googleapis.com \\\n storage-component.googleapis.com --project $PROJECT_ID\n ```\n\n ### Other Platforms\n\n\n Enable the APIs with the following command if you will be running your clusters in\n another Kubernetes platform, such as\n - GKE on-prem\n - Anthos on bare metal\n - AKS\n - GKE on AWS\n - EKS\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 ```\n4. Verify that all APIs are enabled, using the following command: \n\n ```\n gcloud services list --project $PROJECT_ID\n ```\n\n\n The output should include all the APIs you just enabled, as in this example: \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\nNext step\n---------\n\n\nGo to Step 2: [Create an organization](/apigee/docs/hybrid/v1.8/precog-provision)."]]