Untuk menggunakan Apigee hybrid, Anda harus (kecuali jika dinyatakan lain) mengaktifkan API layanan berikut:
Tugas
Deskripsi
Apigee API
Menyediakan komunikasi antara project Anda dan layanan campuran lainnya serta API Google Cloud.
Apigee Connect API
Menyediakan komunikasi antara bidang pengelolaan Apigee dan bidang runtime.
Cloud Pub/Sub API
Diperlukan agar fitur kuota Apigee dapat beroperasi.
Cloud Resource Manager API
Digunakan oleh hybrid untuk memvalidasi akun layanan.
Kubernetes Engine API
Aktifkan jika Anda berencana menggunakan Google Kubernetes Engine (GKE), atau GKE on-prem (Anthos) untuk penginstalan runtime campuran.
Compute Engine API
Digunakan untuk pengelolaan cluster (khusus cluster berbasis GKE dan OpenShift di Google Cloud).
API Google Cloud
Ini adalah layanan meta untuk Google Cloud API untuk memudahkan (khusus OpenShift di cluster berbasis Google Cloud).
Cloud DNS API
Google Cloud DNS adalah layanan Domain Name System (DNS) otoritatif yang skalabel, dapat diandalkan, dan terkelola, yang berjalan di infrastruktur yang sama dengan Google. (Khusus OpenShift di cluster berbasis Google Cloud).
Identity and Access Management (IAM) API
Mengelola identitas dan kontrol akses untuk resource Google Cloud Platform, termasuk pembuatan akun layanan yang dapat Anda gunakan untuk melakukan autentikasi ke Google dan membuat panggilan API.
(Khusus OpenShift di cluster berbasis Google Cloud).
IAM Service Account Credentials API
Service Account Credentials API memungkinkan developer membuat kredensial hak istimewa terbatas berumur pendek untuk akun layanan mereka di Google Cloud. (Khusus OpenShift di cluster berbasis Google Cloud).
Service Management API
Google Service Management memungkinkan produsen layanan memublikasikan layanan mereka di Google Cloud Platform sehingga dapat ditemukan dan digunakan oleh konsumen layanan. (Khusus OpenShift di cluster berbasis Google Cloud).
Service Usage API
Mengaktifkan layanan yang ingin digunakan konsumen layanan di Google Cloud Platform, mencantumkan layanan yang tersedia atau diaktifkan, atau menonaktifkan layanan yang tidak lagi digunakan konsumen layanan. (Khusus OpenShift di cluster berbasis Google Cloud).
Google Cloud Storage JSON API
Memungkinkan Anda menyimpan dan mengambil objek data yang mungkin berukuran besar dan tidak dapat diubah (khusus OpenShift di cluster berbasis Google Cloud).
Cloud Storage
Google Cloud Storage adalah layanan RESTful untuk menyimpan dan mengakses data Anda di infrastruktur Google. (Khusus OpenShift di cluster berbasis Google Cloud).
Gunakan gcloud untuk mengaktifkan API yang diperlukan seperti yang dijelaskan dalam langkah-langkah berikut. Jika mau, Anda dapat menggunakan Cloud Console untuk mengaktifkan API.
Selesaikan Prasyarat, dan pastikan Anda telah menginstal gcloud CLI di shell lokal:
gcloud -h
Buat variabel lingkungan PROJECT_ID dengan nilai berupa ID project Google Cloud yang ingin Anda gunakan untuk Apigee hybrid.
Project ID adalah string unik yang digunakan untuk membedakan project Anda dari semua project lainnya di Google Cloud.
Jika diperlukan, lihat Menemukan project ID:
export PROJECT_ID=YOUR_PROJECT_ID
Pilih tab untuk penginstalan yang Anda inginkan guna melihat perintah untuk mengaktifkan API:
[[["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.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)."]]