public sealed class LastPeriodAmount : IMessage<LastPeriodAmount>, IEquatable<LastPeriodAmount>, IDeepCloneable<LastPeriodAmount>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Billing Budget v1beta1 API class LastPeriodAmount.
Describes a budget amount targeted to the last
[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period]
spend. At this time, the amount is automatically 100% of the last calendar
period's spend; that is, there are no other options yet.
Future configuration options will be described here (for example, configuring
a percentage of last period's spend).
LastPeriodAmount cannot be set for a budget configured with
a
[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period].
[[["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 \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class in the Cloud Billing Budget v1beta1 API represents a budget amount that is based on the previous \u003ccode\u003ecalendar_period\u003c/code\u003e spend, and is currently set to 100% of that amount.\u003c/p\u003e\n"],["\u003cp\u003eThis class is designed for use with budgets configured using \u003ccode\u003eFilter.calendar_period\u003c/code\u003e and cannot be utilized with budgets that use \u003ccode\u003eFilter.custom_period\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class inherits from the base \u003ccode\u003eobject\u003c/code\u003e class and implements multiple interfaces, including \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\u003eThere are two constructors available for creating \u003ccode\u003eLastPeriodAmount\u003c/code\u003e instances: a default constructor, and another one that copies the values of an existing \u003ccode\u003eLastPeriodAmount\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,["# Cloud Billing Budget v1beta1 API - Class LastPeriodAmount (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/2.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/1.0.0-beta05/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount) \n\n public sealed class LastPeriodAmount : IMessage\u003cLastPeriodAmount\u003e, IEquatable\u003cLastPeriodAmount\u003e, IDeepCloneable\u003cLastPeriodAmount\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Billing Budget v1beta1 API class LastPeriodAmount.\n\nDescribes a budget amount targeted to the last\n\\[Filter.calendar_period\\]\\[google.cloud.billing.budgets.v1beta1.Filter.calendar_period\\]\nspend. At this time, the amount is automatically 100% of the last calendar\nperiod's spend; that is, there are no other options yet.\nFuture configuration options will be described here (for example, configuring\na percentage of last period's spend).\nLastPeriodAmount cannot be set for a budget configured with\na\n\\[Filter.custom_period\\]\\[google.cloud.billing.budgets.v1beta1.Filter.custom_period\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e LastPeriodAmount \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[LastPeriodAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LastPeriodAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[LastPeriodAmount](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1.LastPeriodAmount), [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.V1Beta1](/dotnet/docs/reference/Google.Cloud.Billing.Budgets.V1Beta1/latest/Google.Cloud.Billing.Budgets.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.Budgets.V1Beta1.dll\n\nConstructors\n------------\n\n### LastPeriodAmount()\n\n public LastPeriodAmount()\n\n### LastPeriodAmount(LastPeriodAmount)\n\n public LastPeriodAmount(LastPeriodAmount other)"]]