Errata

Google Cloud Cookbook

Errata for Google Cloud Cookbook

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
O'Reilly learning platform Page NA
4.5 Using the Google Cloud Translation Machine Learning APIs with App Engine

On Chapter 4 of the book stated:
This recipe requires you to use the git clone command for this book’s code example repository.
1. In the cloned application, go to 04-appengine/4-5-media.

However, the 04-appengine/4-5-media folder does not exist in the repo.

Anonymous  Jan 29, 2024 
Other Digital Version 47
3rd paragraph

>>All code samples for this chapter are in this book’s GitHub repository.

This is not true. Only problems 2.1 and 2.8 are on GitHub. The same applies to other chapters, where many of the solutions are not to be found on GitHub.

Jose Fernando Alvarez  Mar 01, 2022 
Other Digital Version 64
Solution 2.6

2.6 Responding to SMS Messages with Twilio and Cloud Functions

Step 5. the node code is missing a curly brace at the bottom.

step 6: gcloud functions deploy sendGrid --entry-point sendGrid --runtime nodejs12 --trigger-http --allow-unauthenticated
This will not work, because the node.js code (step 5) does not define a sendGrid function, rather a "reply" function.

Step 9. the instructions provided to set up twilio are likely obsolete, the menus in twilio do not correspond to the instructions provided in the book.

Step 10.
https://us-central1-[YOUR_PROJECT_ID]. cloudfunctions.net/reply

That will not work, because the cloud function was named "sendGrid" in step 6. The url for the function will not end in "reply"

Jose Fernando Alvarez  Mar 01, 2022