Conventions used

There are a number of text conventions used throughout this book.

CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The input() method is used to get an input from the user."

A block of code is set as follows:

 {
"eventId": "27819225098479",
"timestamp": "2018-01-27T18:11:24.836Z",
"eventType": "providers/cloud.pubsub/eventTypes/topic.publish",
"resource": "projects/<PROJECT_ID>/topics/<TOPIC_NAME>",
"data": {
"@type": "type.googleapis.com/google.pubsub.v1.PubsubMessage",
"attributes": {
"<KEY1>": "<VALUE1>",
"<KEY2>": "<VALUE2>"
},

Any command-line input or output is written as follows:

 gcloud compute instances create my-custom-instance \
--region=us-central1 \
--memory=12GiB \
--cpu=2

Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If you need something different, click on the DOWNLOADS link in the header for all possible downloads: "

Warnings or important notes appear like this.
Tips and tricks appear like this.