Untuk menggunakan Apigee hybrid, Anda harus mengaktifkan API berikut untuk project di konsol Google Cloud:
Apigee API: Menyediakan komunikasi antara project Anda dan layanan campuran lainnya serta Google Cloud API.
Apigee Connect API: Menyediakan komunikasi antara platform pengelolaan
Apigee dan layanan MART di platform runtime.
Cloud Pub/Sub API: Diperlukan agar kuota dapat beroperasi.
Cloud Resource Manager API: Digunakan oleh hybrid untuk memvalidasi akun layanan.
Compute Engine API: Digunakan untuk pengelolaan cluster (khusus cluster berbasis GKE).
Kubernetes Engine API: Aktifkan jika Anda berencana menggunakan Google Kubernetes Engine (GKE),
atau GKE on-prem (Anthos) on-prem untuk penginstalan runtime campuran.
Aktifkan API yang diperlukan untuk project Google Cloud Anda:
Anda dapat menggunakan CLI atau UI konsol Google Cloud untuk mengaktifkan API.
UI Google Cloud
Untuk mengaktifkan API menggunakan UI, lakukan langkah-langkah berikut:
Jika Anda tidak melihat halaman API Library, pilih APIs & Services >
Library dari Navigation menu.
Pastikan project yang dipilih sudah benar.
Di tampilan API Library, telusuri "Apigee".
Google Cloud menampilkan daftar API yang cocok dengan "Apigee"
Temukan layanan Apigee API, lalu klik layanan tersebut.
Di tampilan Apigee API, klik Enable.
Google Cloud mengaktifkan Apigee API untuk project Google Cloud Anda. Ulangi langkah-langkah ini untuk mengaktifkan API tambahan.
Aktifkan Apigee Connect API.
Aktifkan Cloud Pub/Sub API.
Aktifkan Cloud Resource Manager API.
(Khusus cluster berbasis GKE) Aktifkan Google Kubernetes Engine API.
(Khusus cluster berbasis GKE dan OpenShift) Aktifkan Compute Engine API.
(Khusus cluster berbasis OpenShift) Aktifkan API berikut:
Google Cloud API
Cloud DNS API
Identity and Access Management (IAM) API
IAM Service Account Credentials API
Service Management API
Service Usage API
Google Cloud Storage JSON API
Cloud Storage
Untuk mengonfirmasi bahwa Anda telah mengaktifkan API, pilih APIs & Services >
Dashboard. API yang baru saja Anda tambahkan akan ditampilkan dalam daftar API yang diaktifkan.
gcloud CLI
Untuk mengaktifkan API menggunakan CLI, lakukan langkah-langkah berikut:
Buka jendela terminal di perangkat yang Anda gunakan untuk mengelola Apigee.
Pastikan Anda telah menginstal gcloud di shell lokal dengan menjalankan perintah
berikut. Alat gcloud menyediakan antarmuka command line utama untuk Cloud.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-09-03 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"]]