Para usar a Apigee híbrida, é necessário ativar (a menos que indicado de outra forma) as
APIs de serviço a seguir:
Tarefa
Descrição
API Apigee
Fornece comunicação entre seu 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 plano de ambiente de execução.
API Cloud Pub/Sub
Obrigatório para o funcionamento da cota do Apigee.
API Cloud Resource Manager
Usado por híbridos para validar contas de serviço.
API Kubernetes Engine
Ative se você planeja usar o Google Kubernetes Engine (GKE)
ou o GKE On-Prem (Anthos) para sua instalação do ambiente de execução híbrido.
API Compute Engine
Usado para gerenciamento de clusters (somente baseado no GKE e no OpenShift em clusters baseados no Google Cloud).
APIs Google Cloud
Por conveniência, esse serviço meta é voltado para as APIs do Google Cloud (somente clusters baseados no OpenShift).
API Cloud DNS
O Google Cloud DNS é um serviço gerenciado de Sistema de Nomes de Domínio (DNS) autoritativo, escalonável e confiável, executado na mesma infraestrutura do Google. (OpenShift somente em clusters baseados no Google Cloud).
API Identity and Access Manager (IAM)
Gerencia o controle de acesso e a identidade dos recursos do Google Cloud Platform, inclusive a criação de contas de serviço usadas para autenticação no Google e chamadas de APIs.
(OpenShift somente em clusters baseados no Google Cloud).
API IAM Service Account Credentials
A API Service Account Credentials permite que os desenvolvedores criem credenciais de privilégio
limitado e de curta duração para as contas de serviço no Google Cloud. (OpenShift somente em clusters baseados no Google Cloud).
Service Management API
O Google Service Management permite que os produtores de serviços publiquem os próprios serviços no Google Cloud Platform para que possam ser encontrados e usados pelos consumidores de serviços. (OpenShift somente em clusters baseados no Google Cloud).
API Service Usage
Ativa serviços que os consumidores de serviços querem usar no Google Cloud Platform, lista os serviços disponíveis ou ativos ou desativa serviços que os consumidores não usam mais. (OpenShift somente em clusters baseados no Google Cloud).
API Google Cloud Storage JSON
Permite armazenar e recuperar objetos de dados imutáveis e potencialmente grandes (OpenShift somente em clusters baseados no Google Cloud).
Cloud Storage
O Google Cloud Storage é um serviço RESTful para armazenar e acessar seus dados na infraestrutura do Google. (OpenShift somente em clusters baseados no Google Cloud).
Use gcloud para ativar as APIs necessárias, conforme explicado nas etapas a seguir. Se preferir,
use o Console do Cloud para ativar as APIs.
Crie uma variável de ambiente PROJECT_ID em que o
valor é o ID do projeto do Google Cloud que você pretende usar para a Apigee híbrida.
O ID do projeto é uma string exclusiva usada para diferenciar seu projeto de todos os outros no Google Cloud.
Se necessário, consulte Localizar o ID do projeto:
export PROJECT_ID=YOUR_PROJECT_ID
Selecione a guia da instalação desejada para ver o comando para ativar as APIs:
[[["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.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)."]]