Para usar a Apigee híbrida, você precisa ativar as seguintes APIs para o projeto no Console do Google Cloud:
API Apigee: fornece comunicações entre seu projeto e outros serviços
híbridos e as APIs do Google Cloud Platform.
API Apigee Connect: fornece comunicação entre o plano de gerenciamento
da Apigee e o serviço MART no plano de execução.
API Cloud Pub/Sub: necessária para que a cota funcione
API Cloud Resource Manager: usado por nuvem híbrida para validar contas de serviço
API Compute Engine: usada para gerenciamento de clusters (somente clusters baseados em GKE)
API Kubernetes Engine: ative se você planeja usar o Google Kubernetes Engine (GKE) ou
o GKE On-Prem (somente clusters baseados no GKE) para sua instalação híbrida de ambiente de execução
Use a CLI ou a IU do Console do Google Cloud para ativar as APIs.
IU do Google Cloud
Para ativar as APIs usando a IU, siga estas etapas:
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-08-28 UTC."],[[["\u003cp\u003eThis documentation version (1.2) for Apigee hybrid is end-of-life and an upgrade to a newer version is required.\u003c/p\u003e\n"],["\u003cp\u003eUsing Apigee hybrid necessitates enabling several APIs within the Google Cloud console, including Apigee API, Apigee Connect API, Cloud Pub/Sub API, and Cloud Resource Manager API.\u003c/p\u003e\n"],["\u003cp\u003eFor GKE-based clusters, you must also enable the Compute Engine API and Kubernetes Engine API.\u003c/p\u003e\n"],["\u003cp\u003eYou can enable the necessary APIs via either the Google Cloud console UI, or the command-line interface (CLI) using gcloud commands.\u003c/p\u003e\n"],["\u003cp\u003eThe APIs must be enabled in the same Google Cloud project you created in prior steps.\u003c/p\u003e\n"]]],[],null,["# Step 3: Enable APIs\n\n| You are currently viewing version 1.2 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 communications between your project and other hybrid services and Google Cloud Platform 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 (GKE-based clusters only) for your hybrid runtime installation\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.2/precog-gcpaccount).\n2. Select the project that you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.2/precog-gcpproject).\n3. Enable the **Apigee API** :\n 1. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** .\n\n The **API Library** view displays:\n\n 2. Search for \"Apigee\". Google Cloud Platform displays a list of APIs matching \"Apigee\"\n\n 3. Locate the **Apigee API** service and click on it:\n\n 4. Click **Enable** .\n\n Google Cloud Platform enables the **Apigee API** for your project.\n 5. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** to return to the API selection page.\n4. Enable the **Apigee Connect API** :\n 1. In the **API Library** view, search for \"Apigee Connect\".\n 2. Locate the **Apigee Connect** service and click on it.\n 3. Click **Enable** .\n\n Google Cloud Platform enables the **Apigee Connect API** for your project.\n 4. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** to return to the API selection page.\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** service and click on it.\n 3. Click **Enable** .\n\n Google Cloud Platform enables the **Cloud Pub/Sub API** for your 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** service and click on it.\n 3. Click **Enable** .\n\n Google Cloud Platform enables the **Cloud Resource Manager API** for your project.\n 4. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** to return to the API selection page.\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** service and click on it.\n 3. Click **Enable** .\n\n Google Cloud Platform enables the **Compute Engine API** for your project.\n 4. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** to return to the API selection page.\n8. (GKE-based clusters only) Enable the **Kubernetes Engine API** :\n 1. In the **API Library** view, search for \"Kubernetes Engine\".\n 2. Locate the **Kubernetes Engine API** service and click on it.\n 3. Click **Enable** .\n\n Google Cloud Platform enables the **Kubernetes Engine API** for your project.\n 4. From the Navigation menu in the upper left corner of the screen, select **APIs \\& Services \\\u003e Library** to return to the API selection page.\n9. To confirm that you have enabled the APIs, select **APIs \\& Services \\\u003e\n Dashboard**.\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. Define the `PROJECT_ID` environment variable from [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.2/precog-gcpproject) with the following command: \n\n ```\n export PROJECT_ID=your_project_id\n ```\n | **Note:** Do not include the period after the project ID.\n3.\n If you will be running your clusters in Google Cloud (GKE) as opposed to GKE on-prem\n (Anthos) or AKS, enable the APIs 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 \\\n compute.googleapis.com \\\n container.googleapis.com \\ --project $PROJECT_ID\n ```\n\n\n Or, enable the APIs 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 ```\n4. Verify that all APIs are enabled using the following command: \n\n ```\n gcloud services list\n ```\n\nFor more information about enabling APIs in Google Cloud console, see\n[Enabling an\nAPI in your Google Cloud Platform project](https://cloud.google.com/endpoints/docs/openapi/enable-api) in the Cloud documentation.\n[1](/apigee/docs/hybrid/v1.2/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.2/precog-gcpproject) [3](/apigee/docs/hybrid/v1.2/precog-enableapi) [(NEXT) Step 4: Create an organization](/apigee/docs/hybrid/v1.2/precog-provision) [5](/apigee/docs/hybrid/v1.2/precog-add-environment)\n\n\u003cbr /\u003e"]]