class Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1BudgetAmount

The budgeted amount for each usage period.

Attributes

last_period_amount[RW]

Describes a budget amount targeted to the last Filter.calendar_period spend. At this time, the amount is automatically 100% of the last calendar period's spend; that is, there are no other options yet. LastPeriodAmount cannot be set for a budget configured with a Filter.custom_period. Corresponds to the JSON property `lastPeriodAmount` @return [Google::Apis::BillingbudgetsV1::GoogleCloudBillingBudgetsV1LastPeriodAmount]

specified_amount[RW]

Represents an amount of money with its currency type. Corresponds to the JSON property `specifiedAmount` @return [Google::Apis::BillingbudgetsV1::GoogleTypeMoney]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/billingbudgets_v1/classes.rb, line 108
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/billingbudgets_v1/classes.rb, line 113
def update!(**args)
  @last_period_amount = args[:last_period_amount] if args.key?(:last_period_amount)
  @specified_amount = args[:specified_amount] if args.key?(:specified_amount)
end