Discovering the enterprise API management world with Apigee
Apigee, that is, API Gateway Enterprise Edition, is an API platform product, acquired by Google in 2016, that allows us to manage and protect our services.
In this section, we will review in detail how to implement the Apigee API management solution on a service deployed in Google Cloud.
Deploying a serverless API using Cloud Functions
The first thing we have to do before implementing the Apigee solution is to have an API to work on. In this case, we will deploy an API in Cloud Functions, to demonstrate how to protect a serverless service through Apigee.
For this example, we will deploy a cloud function with a trigger of the HTTP type that, by making a call of the GET
type, will obtain the words Dog Resource
to simulate obtaining the resource. In a real scenario, this service would return a list of the corresponding resources.
To deploy the cloud function of this example, we will use the following code:
...