GCP : Is there any exchangeable format to get revi

2019-07-26 06:44发布

问题:

We are working in one of the customer module. With the help of this module, we are calculating price for google cloud components like compute engine with attributes images, boot disk, region, snapshot etc.

But we found that GCP is revising the prices and JSON is not modifying immediately. Newly revised pricing values comes in JSON after few days.

So the price according to JSON and price in google cosole/calculator are different in this case.

Is there any exchangeable format to get revised pricing immediately?

回答1:

The JSON file isn't exactly the ideal way to obtain pricing information anymore. In fact, the link to the JSON file was removed from the Pricing Calculator page very recently precisely because they want people to start using the Catalogue API. That one has the prices up-to-date for sure, so I'd recommend you to use that instead.