Class: Google::Cloud::Billing::Budgets::V1beta1::BudgetAmount
- Inherits:
-
Object
- Object
- Google::Cloud::Billing::Budgets::V1beta1::BudgetAmount
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/billing/budgets/v1beta1/budget_model.rb
Overview
The budgeted amount for each usage period.
Instance Attribute Summary collapse
-
#last_period_amount ⇒ ::Google::Cloud::Billing::Budgets::V1beta1::LastPeriodAmount
Use the last period's actual spend as the budget for the present period.
-
#specified_amount ⇒ ::Google::Type::Money
A specified amount to use as the budget.
Instance Attribute Details
#last_period_amount ⇒ ::Google::Cloud::Billing::Budgets::V1beta1::LastPeriodAmount
Returns 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.
84 85 86 87 |
# File 'proto_docs/google/cloud/billing/budgets/v1beta1/budget_model.rb', line 84 class BudgetAmount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#specified_amount ⇒ ::Google::Type::Money
Returns 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.
84 85 86 87 |
# File 'proto_docs/google/cloud/billing/budgets/v1beta1/budget_model.rb', line 84 class BudgetAmount include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |