How to switch between multiple accounts and projects in Google Cloud SDK (gcloud)

We added a new project to Google Cloud Platform and set up the Google Cloud SDK (gcloud CLI) to switch projects. Once you set it up, you don't have to tweak it, and if you don't, you'll forget how to do it, so I'll write down how to set it up for myself. Required Information The following four piec…