I have created a project and setup a Windows 2012 VM. I am trying to list the networks in the project. Here are the steps I performed:
Initially, I logged into the V
As Misha Brukman in this post answered, you don't have to include the url (as this might change) but simply can type the --scopes option "compute -rw" as in:
gcloud compute instances create --scopes compute-rw
If you have already created your vm instance, you can simply use the equivalent update command like this:
gcloud compute instances update --scopes compute-rw