This page describes how to list the APIs and services that are enabled or available in a Google Cloud project. The list of available or enabled APIs and services can contain both public Google Cloud services such as Pub/Sub, and any APIs and services shared privately with you, such as services created using Cloud Endpoints. For more information on the differences between public and private APIs and services, see Public and Private Services.
For most operational use cases, the simplest way to list services
is to use Google Cloud Console. If you need to create scripts, you can also use the
gcloud command line interface. If you need to program against the
Service Usage API, we recommend that you use one of our provided
client libraries. To experiment with the API,
you can follow the alternative instructions in this guide and use the
command to test the API without setting up a full application development
Before you begin
To list the enabled and available APIs and services you need:
- A Cloud project. To learn how to create a Cloud project, see Creating and Managing Projects.
- The correct Identity and Access Management permissions. To learn about the IAM requirements for Service Usage, see Access Control.
- If you want to run the
gcloudcommand line examples in this guide, you need to install the Cloud SDK.
- If you want to use the
curlexamples in this guide, make sure you follow the instructions to complete the initial setup in Getting Started.
Listing available services
To list the APIs and services available to you in a project:
Run the following command to list the APIs and services available to you in your current project:
gcloud services list --available
The results include any services that have already been enabled, as well as services that are available to be enabled for the current project. The command produces output similar to the following:
NAME TITLE places-backend.googleapis.com Google Places API Web Service clouderrorreporting.googleapis.com Stackdriver Error Reporting API analyticsreporting.googleapis.com Google Analytics Reporting API youtube.googleapis.com YouTube Data API v3 adsense.googleapis.com AdSense Management API sqladmin.googleapis.com Google Cloud SQL API genomics.googleapis.com Genomics API adexchangebuyer.googleapis.com Ad Exchange Buyer API II ...
To list available services, call the
Run the following command to list the available APIs and services in
The result includes all public services, all services for which the calling
user has the
servicemanagement.services.bind permission, and all services
that have already been enabled on the project.
Listing enabled services
To list the enabled APIs and services in a project:
Run the following command to list the enabled APIs and services in your current project:
gcloud services list
The command produces output similar to the following:
NAME TITLE pubsub.googleapis.com Google Cloud Pub/Sub API bigquery.googleapis.com BigQuery API cloudtrace.googleapis.com Stackdriver Trace API servicemanagement.googleapis.com Google Service Management API monitoring.googleapis.com Stackdriver Monitoring API storage-api.googleapis.com Google Cloud Storage JSON API logging.googleapis.com Stackdriver Logging API clouddebugger.googleapis.com Stackdriver Debugger API ...
To list enabled services, call the
method with the
Run the following command to list the enabled APIs and services in
Listing disabled services
To list disabled services, call the
method with the
Run the following command to list the disabled APIs and services in
Follow Enabling and Disabling Services to enable or disable services in your Cloud projects.