Para usar a Apigee híbrida, você precisa ativar as seguintes APIs para o projeto no Console do Google Cloud:
API Apigee: fornece comunicação entre o projeto e outros serviços híbridos e as APIs do Google Cloud.
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: usada 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 (Anthos) no local para sua instalação híbrida do ambiente de execução.
Ative as APIs necessárias para seu projeto do Google Cloud:
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:
Se você não encontrar a página Biblioteca de APIs, selecione APIs e serviços >
Biblioteca no Menu de navegação.
Verifique se o projeto correto está selecionado.
Na visualização da Biblioteca de APIs, pesquise "Apigee".
O Google Cloud exibe uma lista de APIs que correspondem à "Apigee"
Localize o serviço API Apigee e clique nele.
Na visualização da API Apigee, clique em Ativar.
O Google Cloud ativa a API Apigee do projeto do Google Cloud. Repita essas etapas para ativar outras APIs.
Ative a API Apigee Connect.
Ative a API Cloud Pub/Sub.
Ative a API Cloud Resource Manager.
(Somente clusters baseados em GKE) Ative a API Google Kubernetes Engine.
(Somente clusters baseados em GKE e OpenShift) Ative a API Compute Engine.
(Somente clusters baseados em OpenShift) Ative estas APIs:
APIs Google Cloud
API Cloud DNS
API Identity and Access Manager (IAM)
API IAM Service Account Credentials
API Service Management
API Service Usage
API Google Cloud Storage JSON
Cloud Storage
Para confirmar que você ativou as APIs, selecione APIs e serviços > Painel. As APIs que você acabou de adicionar são exibidas na lista de APIs ativadas.
CLI da gcloud
Para ativar as APIs usando a CLI, siga estas etapas:
Abra um terminal no dispositivo que você está usando para gerenciar a Apigee.
Verifique se o gcloud está instalado no shell local executando o comando
a seguir. A ferramenta gcloud fornece a interface de linha de comando principal do Cloud.
[[["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 pertains to Apigee hybrid version 1.7, which is end-of-life, and users should upgrade to a newer version.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing Apigee hybrid requires enabling specific APIs in your Google Cloud project, including Apigee API, Apigee Connect API, Cloud Pub/Sub API, Cloud Resource Manager API, and others.\u003c/p\u003e\n"],["\u003cp\u003eAPIs can be enabled through the Google Cloud console UI, navigating to the API Library and selecting the respective API to enable.\u003c/p\u003e\n"],["\u003cp\u003eAlternatively, the \u003ccode\u003egcloud\u003c/code\u003e CLI tool can be used to enable the necessary APIs, with specific commands provided for GKE, OpenShift, and other Kubernetes platform installations.\u003c/p\u003e\n"],["\u003cp\u003eThe user needs to ensure they have set the \u003ccode\u003ePROJECT_ID\u003c/code\u003e variable correctly for use with \u003ccode\u003egcloud\u003c/code\u003e, and that all the required APIs are enabled by verifying via the command \u003ccode\u003egcloud services list --project $PROJECT_ID\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Step 3: Enable APIs\n\n| You are currently viewing version 1.7 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\n API Library](https://console.cloud.google.com/apis/library) and log in with the account you created in [Step 1: Create a Google Cloud account](/apigee/docs/hybrid/v1.7/precog-gcpaccount).\n2. Select the project that you created in [Step 2: Create a Google Cloud project](/apigee/docs/hybrid/v1.7/precog-gcpproject).\n3. Enable the **Apigee API** as follows:\n 1. If you do not see the **API Library** page, select **APIs \\& Services \\\u003e\n Library** from the **Navigation menu** .\n\n 2. Make sure the correct project is selected.\n\n 3. In the **API Library** view search for \"Apigee\".\n\n Google Cloud displays a list of APIs matching \"Apigee\"\n 4. Locate the **Apigee API** service and click it.\n 5. \n 6. In the Apigee API view click **Enable** .\n\n Google Cloud enables the **Apigee API** for your Google Cloud project. Repeat these\n steps to enable additional APIs.\n4. Enable the **Apigee Connect API**.\n5. Enable the **Cloud Pub/Sub API**.\n6. Enable the **Cloud Resource Manager API**.\n7. (**GKE-based clusters only** ) Enable the **Google Kubernetes Engine API**.\n8. (**GKE-based and OpenShift-based clusters only** ) Enable the **Compute Engine API**.\n9. (**OpenShift-based clusters only** ) Enable these APIs:\n - **Google Cloud APIs**\n - **Cloud DNS API**\n - **Identity and Access Management (IAM) API**\n - **IAM Service Account Credentials API**\n - **Service Management API**\n - **Service Usage API**\n - **Google Cloud Storage JSON API**\n - **Cloud Storage**\n10. To confirm that you have enabled the APIs, select **APIs \\& Services \\\u003e\n Dashboard**. The APIs you just added are displayed in the list of enabled APIs.\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.7/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 cloudresourcemanager.googleapis.com \\\n compute.googleapis.com \\\n container.googleapis.com \\\n pubsub.googleapis.com --project $PROJECT_ID\n ```\n\n ### OpenShift\n\n\n If you will be running your clusters on OpenShift, enable the APIs with the\n 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 ```\n5. 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\nFor more information about enabling APIs in the Google Cloud console, see\n[Enabling an API in your Google Cloud project](/endpoints/docs/openapi/enable-api) in\nthe Cloud documentation.\n[1](/apigee/docs/hybrid/v1.7/precog-gcpaccount) [2](/apigee/docs/hybrid/v1.7/precog-gcpproject) [3](/apigee/docs/hybrid/v1.7/precog-enableapi) [(NEXT) Step 4: Create an organization](/apigee/docs/hybrid/v1.7/precog-provision) [5](/apigee/docs/hybrid/v1.7/precog-add-environment)\n\n\u003cbr /\u003e"]]