Any SDK to Programmatically Manage Cloud Billing Export Enable or Disable

Can the BigQuery Billing Export (Standard or Detailed) be Enabled or Disabled programmatically via a REST API, Google Cloud SDK (gcloud), or a Terraform Resource?

My research indicates that this is currently a Console-only (UI-only) administrative action and that no public API endpoint exists to toggle this feature or change the destination dataset.

What we need from you: Please provide a formal confirmation if our understanding is correct. If an API does exist, please provide the specific REST documentation or the gcloud command required to enable a Billing Export.

Hey @Emam_ul_Hasan! Thanks for reaching out to the Apigee forum.

Just curious to confirm if your query relates specifically to Apigee? If so, please elaborate on how you are using Apigee in this flow so the community can properly share guidance on your issue.

Otherwise, I advise reviewing other community forums to get more tailored answers, such as Data Analytics.

Thanks, and happy new year! :slightly_smiling_face:

Hi @AlexET

Thanks for your quick response, I really appreciate your willingness to come forward and help.

I mainly looking for GCP Billing Export automation solution, for better understanding kindly refer this document.

Set up Cloud Billing data export to BigQuery | Google Cloud Documentation

Hope this document will help you to understand my requirement.

Thank You

Emam

Hi @Emam_ul_Hasan, I recommend reposting this in the Data Analytics forum or Infrastructure forum for more tailored guidance from the community.

If you ever need some guidance in Apigee, the API management platform from Google Cloud, we’ll be here.

Have a nice day!