Hi I am looking for a GCP SDK/API to fetch the instance type pricing information provided I have instance type and region as input.
I have tried using https://cloud.google.com/billing/v1/how-tos/catalog-api API however this doesnt let me match the exact instance type with the SKU description and hence may result in incorrect pricing information.
Regards
Hi @krishna_oza, I had the exact problem. If you want to get pricing info related to SKUs, you must use the Pricing API (https://cloud.google.com/billing/docs/reference/pricing-api/rest)...and combine SKUs IDs and Services IDs.