View Source GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1BudgetAmount (google_api_billing_budgets v0.14.0)

The budgeted amount for each usage period.

Attributes

  • lastPeriodAmount (type: GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1LastPeriodAmount.t, default: nil) - 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.
  • specifiedAmount (type: GoogleApi.BillingBudgets.V1.Model.GoogleTypeMoney.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1BudgetAmount{
    lastPeriodAmount:
      GoogleApi.BillingBudgets.V1.Model.GoogleCloudBillingBudgetsV1LastPeriodAmount.t()
      | nil,
    specifiedAmount: GoogleApi.BillingBudgets.V1.Model.GoogleTypeMoney.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.