public sealed class BudgetAmount : IMessage<BudgetAmount>, IEquatable<BudgetAmount>, IDeepCloneable<BudgetAmount>, IBufferMessage, IMessage
The budgeted amount for each usage period.
Implements
IMessage<BudgetAmount>, IEquatable<BudgetAmount>, IDeepCloneable<BudgetAmount>, IBufferMessage, IMessageNamespace
Google.Cloud.Billing.Budgets.V1Beta1Assembly
Google.Cloud.Billing.Budgets.V1Beta1.dll
Constructors
BudgetAmount()
public BudgetAmount()
BudgetAmount(BudgetAmount)
public BudgetAmount(BudgetAmount other)
Parameter | |
---|---|
Name | Description |
other | BudgetAmount |
Properties
BudgetAmountCase
public BudgetAmount.BudgetAmountOneofCase BudgetAmountCase { get; }
Property Value | |
---|---|
Type | Description |
BudgetAmount.BudgetAmountOneofCase |
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.v1beta1.Filter.calendar_period]. It cannot be set in combination with [Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Money |