Class BudgetAmount (1.7.3)

BudgetAmount(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The budgeted amount for each usage period.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
specified_amount google.type.money_pb2.Money
A specified amount to use as the budget. currency_code is optional. If specified when creating a budget, it must match the currency of the billing account. If specified when updating a budget, it must match the currency_code of the existing budget. The currency_code is provided on output. This field is a member of oneof_ budget_amount.
last_period_amount google.cloud.billing.budgets_v1beta1.types.LastPeriodAmount
Use the last period's actual spend as the budget for the present period. LastPeriodAmount can only be set when the budget's time period is a Filter.calendar_period. It cannot be set in combination with Filter.custom_period. This field is a member of oneof_ budget_amount.