Can anybody please tell me how can I programmatically get Google Cloud pricing details (e.g., pricing for Google Compute Engine, Google Cloud Storage, Google Cloud SQL, etc.) from Google Cloud website?
Does Google Cloud provide the pricing details in JSON format?
You can get the SKUs and prices via the Cloud Billing Catalog API.
For example, in https://cloud.google.com/skus, you can find the "Compute Engine" service id is 6F81-5844-456A
and then you can use the services.list
API with the parent
= services/6F81-5844-456A
to find the prices.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With