Within "OAuth 2.0 Client ID", click on "Download JSON". Later on, after you check
out the sample project, you will copy this downloaded file (e.g.
~/Downloads/client_secrets.json) to
src/main/resources/client_secrets.json.
If you skip this step, when trying to run the sample you will get a 400
INVALID_CLIENT error in the browser.