Enabling APIs

This lesson provides a brief introduction to GCP service APIs.

In GCP, every service is available as an API. Some APIs are enabled by default when we create a project. We need to enable the API to use the rest of the services.

You can expect one to two questions based on enabling API and API explorer in the Associate Cloud Engineer certification exam.

Let’s start with API Dashboard.

API dashboard

To open the API dashboard, go to Main Menu > API & Services > Enable APIs and services.

API & Services > Dashboard
API & Services > Dashboard

Scroll down, and you will see already-enabled APIs. The API dashboard has five sub-menus. We are only interested in the first one, Enable APIs and services, for now. The remaining are used for developing Oauth pages for apps built on top of GCP APIs. This is outside the scope of this exam; however, you can explore the options.

Already enabled APIs.
Already enabled APIs.

Enable APIs and services

This provides a quick view of the enabled APIs and some usage metrics for the APIs for different periods. The interesting part is that you can try any API without writing a single line of code using API explorer. I am highlighting the API explorer because it ...