API for Accessing Daily Budget Information
Forgive me if this is already a feature, but I've not been able to find it.
Our Google Cloud application has several non-essential features that can eat through our daily budget. Ideally we would like to disable these features when we reach a certain percentage of the budget. To do this, an API to get an estimate of our daily budget usage would be great.
The actual number I'm after is the one on the dashboard of the old app engine console where it says "Estimated cost for the last 3 hours $2.00* / $100".
So far, I've not found any way of getting this number in the new console or programatically. Even if it was available in the new console I'd be happy to scrape it but a proper API would be perfect.
You can try exporting to BigQuery 1, however usage data is not updated as quick as “last N hours” currently. We’re working on improving that.