I was able to create a new project from the cloud shell and set that as my active project, but I wasn’t able to enable the GCE API because billing wasn’t enabled. All documentation I’m finding shows me how to do it through the console. Is there a way to enable billing in the cloud shell?
You can use following set of commands
gcloud projects create
//set project active
gcloud config set project
//Link the Billing project
gcloud beta billing projects link