Anda memerlukan izin yang sesuai untuk mencantumkan atau menggunakan API dan layanan publik dalam project Google Cloud . Misalnya, untuk mengaktifkan layanan,
Anda memerlukan izin Identity and Access Managementserviceusage.services.enable. Untuk
mempelajari izin IAM yang diperlukan untuk
Service Usage, lihat
Kontrol Akses.
API dan layanan pribadi
Layanan pribadi biasanya merupakan API yang diimplementasikan menggunakan Cloud Endpoints yang berjalan di project Google Cloud lain. Untuk menemukan atau menggunakan API dan layanan pribadi,
Anda harus terlebih dahulu diberi akses oleh akun utama dengan izin
yang diperlukan. Untuk mempelajari cara memberikan akses guna mengaktifkan Cloud Endpoints API dari project Google Cloud , lihat halaman berikut untuk setiap framework Cloud Endpoints API:
Anda juga harus memiliki izin IAM yang sesuai untuk mencantumkan atau menggunakan API dan layanan pribadi. Misalnya, untuk memanggil metode
services.enable
untuk layanan pribadi, izin servicemanagement.services.bind
diperlukan. Untuk mempelajari izin yang diperlukan untuk
Service Usage, lihat Kontrol Akses.
Saat Anda mencantumkan API dan layanan yang tersedia atau diaktifkan dalam project Google Cloud ,
hasilnya akan menyertakan API publik dan pribadi yang dapat Anda akses. Untuk mempelajari lebih lanjut cara mencantumkan layanan yang diaktifkan dan tersedia di projectGoogle Cloud , lihat Mencantumkan Layanan.
[[["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-08-13 UTC."],[],[],null,["# Public and Private Services\n===========================\n\nThis page compares the concepts of public and private services on Google Cloud.\n\nPublic APIs and services\n------------------------\n\nPublic APIs and services are globally visible across all Google Cloud\nprojects. Examples of public Google Cloud APIs and services include:\n\n- [BigQuery API](/bigquery)\n- [Cloud Storage](/storage)\n- [Cloud Monitoring API](/monitoring)\n\nYou need the appropriate permissions to list or use public\nAPIs and services in a Google Cloud project. For example, to enable a service,\nyou need the `serviceusage.services.enable` [Identity and Access Management](/iam) permission. To\nlearn about the required IAM permissions for\nService Usage, see\n[Access Control](/service-usage/docs/access-control).\n\nPrivate APIs and services\n-------------------------\n\nPrivate services are\ntypically APIs implemented using [Cloud Endpoints](/endpoints) running in\nanother Google Cloud project. To discover or use private APIs and services,\nyou must be first be granted access by a principal with the necessary\npermissions. To learn how to grant access to enable Cloud Endpoints APIs from\na Google Cloud project, see the following pages for each of the respective\nCloud Endpoints API frameworks:\n\n- [Controlling Who Can Enable Your API](/endpoints/docs/openapi/control-api-callers) for the OpenAPI Specification.\n- [Controlling Who Can Enable Your API](/endpoints/docs/frameworks/control-api-callers) for Endpoints Frameworks.\n- [Controlling Who Can Enable Your API](/endpoints/docs/grpc/control-api-callers) for gRPC.\n\nYou must also have the appropriate IAM permissions to list or use\nprivate APIs and services. For example, to call the\n[`services.enable`](/service-usage/docs/reference/rest/v1/services/enable)\nmethod for a private service, the `servicemanagement.services.bind` permission\nis required. To learn about the necessary permissions for\nService Usage, see [Access Control](/service-usage/docs/access-control).\n\nWhen you list available or enabled APIs and services in a Google Cloud project\n, the results include any public and private APIs you have access to. To learn\nmore about listing enabled and available services in your\nGoogle Cloud projects, see\n[Listing Services](/service-usage/docs/list-services)."]]