BillingBudgets
import { BillingBudgets } from "https://googleapis.deno.dev/v1/billingbudgets:v1.ts";
The Cloud Billing Budget API stores Cloud Billing budgets, which define a budget plan and the rules to execute as spend is tracked against that plan.
§Methods
Creates a new budget. See Quotas and limits for more information on the limits of the number of budgets you can create.
Required. The name of the billing account to create the budget in. Values are of the form billingAccounts/{billingAccountId}
.
Deletes a budget. Returns successfully if already deleted.
Required. Name of the budget to delete. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}
.
Returns a budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Required. Name of budget to get. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}
.
Returns a list of budgets for a billing account. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. When reading from the API, you will not see these fields in the return value, though they may have been set in the Cloud Console.
Required. Name of billing account to list budgets under. Values are of the form billingAccounts/{billingAccountId}
.
Updates a budget and returns the updated budget. WARNING: There are some fields exposed on the Google Cloud Console that aren't available on this API. Budget fields that are not exposed in this API will not be changed by this method.
Output only. Resource name of the budget. The resource name implies the scope of a budget. Values are of the form billingAccounts/{billingAccountId}/budgets/{budgetId}
.