Connect to your CloudShell environment from your terminal.

<pre lang="bash">
$ gcloud cloud-shell ssh
Welcome to Cloud Shell! Type "help" to get started.
first.last@cloudshell $
first.last@cloudshell $

Once logged in, you can set your project.

<pre lang="bash">
first.last@cloudshell $ gcloud config set project $PROJECT_ID