Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Programmatically Accessing Gemini Cloud Assist for Billing Reports

Inquiry:

Given that Gemini Cloud Assist provides insightful responses directly in the Google Cloud Console under Billing → Reports, I wanted to confirm if it is possible to programmatically call and retrieve the same report data (e.g., service costs, usage breakdown) through an API or via a backend service.

  • Is there a public API or service that allows fetching data from the Reports section in Google Cloud Console programmatically, specifically leveraging Gemini Cloud Assist for billing insights?
  • If not, could you recommend any other method to automate the fetching and reporting of billing data from Google Cloud to integrate into my accelerator?

I’d appreciate your insights on this, as it would help streamline the solution and provide a more integrated experience for end-users who rely on automated cost reporting.

Looking forward to your response and any recommendations you may have!

 

 

0 1 80
1 REPLY 1

Hi @suvsap ,

There’s no public API yet for Gemini Cloud Assist reports specifically. But you can get billing and usage data programmatically using these:

I recommend enabling BigQuery export, then querying the data to generate your own reports or automate tasks.