2.7.0 (latest) 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.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](https://learn.microsoft.com/dotnet/api/system.object) \> BudgetAmount

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BudgetAmount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BudgetAmount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BudgetAmount](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Billing.Budgets.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.md.txt)

## Assembly

Google.Cloud.Billing.Budgets.V1.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** |
| `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** ||
|---|---|
| **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` |   |