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 reference documentation for the \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class within the Google Cloud Billing Budgets v1 API, specifically for version 2.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLastPeriodAmount\u003c/code\u003e class represents a budget amount based on the previous calendar period's spending, which is automatically set to 100% of that period's spend.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLastPeriodAmount\u003c/code\u003e cannot be used with a budget that is configured with a \u003ccode\u003eFilter.custom_period\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists the different versions of this specific documentation, ranging from 1.1.0 all the way to 2.6.0, with 2.6.0 being the most current one, and includes their associated links.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eLastPeriodAmount\u003c/code\u003e implements several interfaces such as \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"]]],[],null,[]]