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].
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eBudgetAmount\u003c/code\u003e class for the Cloud Billing Budget v1 API is 2.6.0, with previous versions ranging from 2.5.0 down to 1.1.0 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBudgetAmount\u003c/code\u003e represents the budgeted amount for each usage period and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBudgetAmount\u003c/code\u003e class offers two constructors: a default constructor \u003ccode\u003eBudgetAmount()\u003c/code\u003e and a constructor \u003ccode\u003eBudgetAmount(BudgetAmount other)\u003c/code\u003e for creating a new instance based on an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties such as \u003ccode\u003eBudgetAmountCase\u003c/code\u003e, \u003ccode\u003eLastPeriodAmount\u003c/code\u003e to use the previous period's spending as the current budget, and \u003ccode\u003eSpecifiedAmount\u003c/code\u003e for setting a fixed budget amount.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBudgetAmount\u003c/code\u003e is found in the \u003ccode\u003eGoogle.Cloud.Billing.Budgets.V1\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.Billing.Budgets.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Cloud Billing Budget v1 API - Class BudgetAmount (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.5.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.4.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.3.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.2.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.1.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/2.0.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/1.2.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/1.1.0/Google.Cloud.Billing.Budgets.V1.BudgetAmount) \n\n public sealed class BudgetAmount : IMessage\u003cBudgetAmount\u003e, IEquatable\u003cBudgetAmount\u003e, IDeepCloneable\u003cBudgetAmount\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Billing Budget v1 API class BudgetAmount.\n\nThe budgeted amount for each usage period. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e BudgetAmount \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[BudgetAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BudgetAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[BudgetAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1.BudgetAmount), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Billing.Budgets.V1](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1/latest/Google.Cloud.Billing.Budgets.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.Budgets.V1.dll\n\nConstructors\n------------\n\n### BudgetAmount()\n\n public BudgetAmount()\n\n### BudgetAmount(BudgetAmount)\n\n public BudgetAmount(BudgetAmount other)\n\nProperties\n----------\n\n### BudgetAmountCase\n\n public BudgetAmount.BudgetAmountOneofCase BudgetAmountCase { get; }\n\n### LastPeriodAmount\n\n public LastPeriodAmount LastPeriodAmount { get; set; }\n\nUse the last period's actual spend as the budget for the present period.\nLastPeriodAmount can only be set when the budget's time period is a\n\\[Filter.calendar_period\\]\\[google.cloud.billing.budgets.v1.Filter.calendar_period\\].\nIt cannot be set in combination with\n\\[Filter.custom_period\\]\\[google.cloud.billing.budgets.v1.Filter.custom_period\\].\n\n### SpecifiedAmount\n\n public Money SpecifiedAmount { get; set; }\n\nA specified amount to use as the budget.\n`currency_code` is optional. If specified when creating a budget, it must\nmatch the currency of the billing account. If specified when updating a\nbudget, it must match the currency_code of the existing budget.\nThe `currency_code` is provided on output."]]