Could someone tell me how I get the budget id for a project inside a Cloud Function
I have the project id and want to delete the budget like so
from google.cloud.billing import budgets_v1
const BILLING_ACCOUNT_ID = XXXXXXX
client = budgets_v1.BudgetServiceClient()
budget_id = <How do I get my budget id here >
name = f"BillingAccounts/{BILLING_ACCOUNT_ID}/budgets/{budget_id}"
request = budgets_v1.DeleteBudgetRequest(name)
client.delete_budget(request=request)
Thanks for any help. I've read the Docs but I cannot understand how to do it.
I read the Docs but I cannot understand how to achieve this
Here is my solution for anyone interested . Thanks again to John Hanley for the useful commant