Thanks, I know how to view all the projects, billing works well for that also, and exporting the billing info to S3 or Bigquery gives me a lot of good info, but what my manager was looking for was a way to see which region resources (VMs) are located in. I have no idea why at this point, and from what research I have done, the billing export is about as close as I got to it...
From the console, go to Compute Engine > Zones. There you'll see a full list of the regions broken down by zone. The zones will list the number of instances and disks in each one. AFAIK, there's no way to just show what you have - tho, that'd be super handy - so you just need to scan the list. Does that give you what you need?
Thanks, thats very useful! Only issue is you have to go into each project - I think they are looking for a single pane of glass for the whole organization and all the projects underneat. I don't think that works does it? Or maybe I need another permission? When I go to the console and just my oranization before a project is seleted it says I don't have permissions, but I am super admin on the organization so I am just assuming that a project has to be selected? Didn't get a lot of experniece with Organizations until now as I was just using my free personal account. Thanks again for the advice... if this is how it works I can probably pull info with the cli and iterate over the accounts and use powerbi or something to build them a dashboard.
Hey William, there's a fairly new API (Cloud Asset API) that may help. However, I've not yet tested it. The data may require some additional querying / transformation to get just the specifics you need.
I hope this gets you a bit closer to the data you're looking for! :)
Hey, that sounds REALLY interesting - one of the goals of my current project is asset/inventory and plugging it all into CMDB, I will have a look - pulling info using gcloud per project -