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 GCP
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 Apigee hybrid documentation is for version 1.1, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eEnabling the Apigee API and Cloud Resource Manager API is required for all Apigee hybrid setups, regardless of the cluster type.\u003c/p\u003e\n"],["\u003cp\u003eFor Google Kubernetes Engine (GKE) based clusters, enabling the Compute Engine API and Kubernetes Engine API is also necessary.\u003c/p\u003e\n"],["\u003cp\u003eAPIs can be enabled either through the Google Cloud console UI by searching the API Library or using the \u003ccode\u003egcloud\u003c/code\u003e CLI commands in a terminal.\u003c/p\u003e\n"],["\u003cp\u003eUsing the \u003ccode\u003egcloud\u003c/code\u003e command, you need to define the project ID as an environment variable before running the enable commands, and whether to include the Compute and Kubernetes APIs will depend on whether you're using a GKE-based cluster or not.\u003c/p\u003e\n"]]],[],null,["# Step 3: Enable APIs\n\n| You are currently viewing version 1.1 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 GCP APIs\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.1/precog-gcpaccount).\n2. Select the project that you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.1/precog-gcpproject).\n3. Enable the **Apigee API** :\n 1. Select **APIs \\& Services \\\u003e Library** .\n\n The **API Library** view displays:\n\n 2. Search for \"Apigee\". GCP 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 GCP enables the **Apigee API** for your GCP project.\n4. 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 GCP enables the **Cloud Resource Manager API** for your GCP project.\n5. (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 enables the **Compute Engine API** for your project.\n6. To confirm that you have enabled the APIs, select **APIs \\& Services \\\u003e\n Dashboard** .\n\n Your list of enabled APIs should include the APIs you just added, as the following example\n shows:\n\n7. (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 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.\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.1/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 cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com --project $PROJECT_ID\n ```\n\n\n For GKE on-prem (Anthos) or AKS installations, enable the APIs with the following command: \n\n ```\n gcloud services enable \\\n apigee.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 GCP project](https://cloud.google.com/endpoints/docs/openapi/enable-api) in the Cloud documentation.\n[1](/apigee/docs/hybrid/v1.1/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.1/precog-gcpproject) [3](/apigee/docs/hybrid/v1.1/precog-enableapi) [(NEXT) Step 4: Create an organization](/apigee/docs/hybrid/v1.1/precog-provision) [5](/apigee/docs/hybrid/v1.1/precog-add-environment)\n\n\u003cbr /\u003e"]]