public sealed class LastPeriodAmount : IMessage<LastPeriodAmount>, IEquatable<LastPeriodAmount>, IDeepCloneable<LastPeriodAmount>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Billing Budget v1 API class LastPeriodAmount.
Describes a budget amount targeted to the last
[Filter.calendar_period][google.cloud.billing.budgets.v1.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.
LastPeriodAmount cannot be set for a budget configured with
a
[Filter.custom_period][google.cloud.billing.budgets.v1.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\u003eThis page provides documentation for the \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class within the Google Cloud Billing Budgets v1 API, specifically for version 2.5.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLastPeriodAmount\u003c/code\u003e represents a budget amount set to 100% of the previous calendar period's spending, and it cannot be used with a budget that has a custom period.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class implements several 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\u003eThe provided page showcases the availability of historical versions of the library that the user can navigate to.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eLastPeriodAmount\u003c/code\u003e has two constructors, a default constructor and a constructor that takes another \u003ccode\u003eLastPeriodAmount\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]