With the exception of the services required to host your API on
GCP, after you create a GCP project and deploy
your Endpoints configuration by using the gcloud endpoints
services deploy command, all the services that Endpoints and
ESP require are enabled.

You can use the following procedure to get a list of the required services. See
the gcloud reference for more information on the
following commands.

To get a list of the required services:

Create a test project, replacing PROJECT_ID with
a unique project ID. (Project IDs must start with a lowercase letter and can
have lowercase ASCII letters, digits or hyphens. Project IDs must be between
6 and 30 characters.)

gcloud projects create PROJECT_ID

Set the default project to the one you just created.

gcloud config set project PROJECT_ID

Save a copy of the
openapi.yaml
file from the getting-started sample to your local machine.

Open the openapi.yaml file, and in the host field, replace the text with
the Endpoints service name, which should be in the following
format.

host: "echo-api.endpoints.YOUR_PROJECT_ID.cloud.goog"

Save the openapi.yaml file.

In the directory where you saved the openapi.yaml file, deploy the
Endpoints configuration.

gcloud endpoints services deploy openapi.yaml

Get a list of all the enabled services.

gcloud services list

After you copy the list of required services, delete the test project.

gcloud projects delete PROJECT_ID

Compare the list of enabled services from the test project to the ones that
are enabled in your project.