I'm trying to write a simple web app that the user authenticates with Google Cloud using the OAuth flow.
This is fine; scopes work, and I'm all logged in, however I need to present the user with a list of their "projects" in google compute, and allow them to select the project they wish to continue with.
"gcloud projects list" is the kind of output I want, however I can't figure out the API equivalent to get this list back?
Thanks Karl