billing report through cli

hello all, i need to know is there any possibility to get the gcp billing report using command line. i’m planning to set an shell script to automate send daily cost report to slack channel. thanks advance

Hello @rajesh_uchiha ,

Welcome to Google Cloud Community!

Upon further checking, this feature is not yet supported. You may submit your query as a Feature Request in the Public Issue Tracker. However, for feature requests there is no guarantee of any time frame for updates or that the requested feature will be implemented.

However, you can Export Cloud Billing data to BigQuery. You will be able to export detailed cloud billing data such as usage, cost estimates, and pricing data automatically throughout the day to a BigQuery dataset that you specify.

See also Set up Cloud Billing data export to BigQuery