Cloud Billing Budget v1 API - Class BudgetAmount (2.3.0)

public sealed class BudgetAmount : IMessage<BudgetAmount>, IEquatable<BudgetAmount>, IDeepCloneable<BudgetAmount>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Billing Budget v1 API class BudgetAmount.

The budgeted amount for each usage period.

Inheritance

object > BudgetAmount

Namespace

Google.Cloud.Billing.Budgets.V1

Assembly

Google.Cloud.Billing.Budgets.V1.dll

Constructors

BudgetAmount()

public BudgetAmount()

BudgetAmount(BudgetAmount)

public BudgetAmount(BudgetAmount other)
Parameter
NameDescription
otherBudgetAmount

Properties

BudgetAmountCase

public BudgetAmount.BudgetAmountOneofCase BudgetAmountCase { get; }
Property Value
TypeDescription
BudgetAmountBudgetAmountOneofCase

LastPeriodAmount

public LastPeriodAmount LastPeriodAmount { get; set; }

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][google.cloud.billing.budgets.v1.Filter.calendar_period]. It cannot be set in combination with [Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period].

Property Value
TypeDescription
LastPeriodAmount

SpecifiedAmount

public Money SpecifiedAmount { get; set; }

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.

Property Value
TypeDescription
Money