Resource-level billing data from GCP

Hi there, I have a question about getting resource-level billing data programatically. Is it only possible to do via exporting to BigQuery and then accessing it there via the BigQuery API? Or is there an API endpoint that exposes resource-level billing data directly?
 
2 1 320
1 REPLY 1

Hi @looney

Welcome and appreciate you reaching out to our community.

You can look into the Cloud Billing API for this use case. Using its REST API and RPC API, you can access your billing information programmatically.

To learn more about the Cloud Billing API, kindly visit this document.

Hope this helps.

 

 

Top Labels in this Space