billingbudgets/v1 library
Cloud Billing Budget API - v1
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.
For more information, see cloud.google.com/billing/docs/how-to/budget-api-overview
Create an instance of CloudBillingBudgetApi to access these resources:
Classes
- BillingAccountsBudgetsResource
- BillingAccountsResource
- CloudBillingBudgetApi
- 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.
- GoogleCloudBillingBudgetsV1Budget
- A budget is a plan that describes what you expect to spend on Cloud projects, plus the rules to execute as spend is tracked against that plan, (for example, send an alert when 90% of the target spend is met).
- GoogleCloudBillingBudgetsV1BudgetAmount
- The budgeted amount for each usage period.
- GoogleCloudBillingBudgetsV1CustomPeriod
- All date times begin at 12 AM US and Canadian Pacific Time (UTC-8).
- GoogleCloudBillingBudgetsV1Filter
- A filter for a budget, limiting the scope of the cost to calculate.
- GoogleCloudBillingBudgetsV1ListBudgetsResponse
- Response for ListBudgets
- GoogleCloudBillingBudgetsV1NotificationsRule
- NotificationsRule defines notifications that are sent based on budget spend and thresholds.
- GoogleCloudBillingBudgetsV1ThresholdRule
- ThresholdRule contains the definition of a threshold.
Typedefs
- GoogleCloudBillingBudgetsV1LastPeriodAmount = $Empty
- Describes a budget amount targeted to the last Filter.calendar_period spend.
- GoogleProtobufEmpty = $Empty
- A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
- GoogleTypeDate = $Date
- Represents a whole or partial calendar date, such as a birthday.
- GoogleTypeMoney = $Money
- Represents an amount of money with its currency type.
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.