Google Cloud プロジェクトで公開 API とサービスを一覧表示または使用するには、適切な権限が必要です。たとえば、サービスを有効にするには、serviceusage.services.enableCloud Identity and Access Management 権限が必要です。Service Usage に必要な IAM の権限の詳細については、アクセス制御をご覧ください。
非公開 API とサービス
多くの場合、非公開サービスは別の Google Cloud プロジェクトで実行されている Cloud Endpoints を使用して実装された API です。非公開 API やサービスを見つけるには、まず、必要な権限を持つプリンシパルからアクセス権を付与してもらう必要があります。Google Cloud プロジェクトから Cloud Endpoints API を有効にするためのアクセス権を付与する方法については、各 Cloud Endpoints API フレームワークの次のページをご覧ください。
非公開 API とサービスを一覧表示または使用するには、適切な IAM 権限も必要です。たとえば、非公開サービスのservices.enableメソッドを呼び出すには、servicemanagement.services.bind権限が必要です。Service Usage に必要な権限について詳しくは、アクセス制御をご覧ください。
Google Cloud プロジェクト内の使用可能な API とサービス、有効になっている API とサービスを一覧表示すると、結果にはアクセス権を持っている公開 API とプライベート API が含まれます。Google Cloud プロジェクトで有効になっているサービスと使用可能なサービスを一覧表示する方法について詳しくは、サービスの一覧表示をご覧ください。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-04-22 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)."]]