Billing Budgets V1 API - Class Google::Cloud::Billing::Budgets::V1::BudgetAmount (v0.1.2)

Reference documentation and code samples for the Billing Budgets V1 API class Google::Cloud::Billing::Budgets::V1::BudgetAmount.

The budgeted amount for each usage period.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#last_period_amount

def last_period_amount() -> ::Google::Cloud::Billing::Budgets::V1::LastPeriodAmount
Returns

#last_period_amount=

def last_period_amount=(value) -> ::Google::Cloud::Billing::Budgets::V1::LastPeriodAmount
Parameter
Returns

#specified_amount

def specified_amount() -> ::Google::Type::Money
Returns
  • (::Google::Type::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.

#specified_amount=

def specified_amount=(value) -> ::Google::Type::Money
Parameter
  • value (::Google::Type::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.
Returns
  • (::Google::Type::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.