Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Serverless Computing with Google Cloud

You're reading from   Hands-On Serverless Computing with Google Cloud Build, deploy, and containerize apps using Cloud Functions, Cloud Run, and cloud-native technologies

Arrow left icon
Product type Paperback
Published in Feb 2020
Publisher Packt
ISBN-13 9781838827991
Length 320 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Richard Rose Richard Rose
Author Profile Icon Richard Rose
Richard Rose
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. Section 1: App Engine
2. Introducing App Engine FREE CHAPTER 3. Developing with App Engine 4. Section 2: Google Cloud Functions
5. Introducing Lightweight Functions 6. Developing Cloud Functions 7. Exploring Functions as a Service 8. Cloud Functions Labs 9. Section 3: Google Cloud Run
10. Introducing Cloud Run 11. Developing with Cloud Run 12. Developing with Cloud Run for Anthos 13. Cloud Run Labs 14. Section 4: Building a Serverless Workload
15. Building a PDF Conversion Service 16. Consuming Third-Party Data via a REST API 17. Assessments 18. Other Books You May Enjoy

Building a Representation State Transfer (REST) API

Providing an extensible API presents us with an opportunity to integrate other software into our application. We have already looked at how the building blocks have been put together in terms of developing serverless applications. With Cloud Run, we can expand this knowledge and build extensible interfaces that can expose access to selected parts of an application. If you come from a GNU/Linux background, this will be abundantly clear and something you may take for granted. For others, it can be a moment of clarity where an application allows you to do more than expected. There are times in which we might not even know that an implementation supports an interface that's being used for a task.

For this example, we will build a basic API that uses REST to demonstrate how Cloud Run can be used to meet this requirement. If you...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime