# Google Cloud Billing Budgets V1 Client - Class LastPeriodAmount (2.1.2)

2.1.2 (latest) 2.1.1 2.0.5 1.4.5 1.3.1 1.2.2 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Billing Budgets V1 Client class LastPeriodAmount.

Describes a budget amount targeted to the last
[Filter.calendar_period](https://docs.cloud.google.com/php/docs/reference/cloud-billing-budgets/latest/V1.Filter#_Google_Cloud_Billing_Budgets_V1_Filter__getCalendarPeriod__)
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](https://docs.cloud.google.com/php/docs/reference/cloud-billing-budgets/latest/V1.Filter#_Google_Cloud_Billing_Budgets_V1_Filter__getCustomPeriod__).

Generated from protobuf message `google.cloud.billing.budgets.v1.LastPeriodAmount`

## Namespace

Google \\ Cloud \\ Billing \\ Budgets \\ V1

## Methods

### __construct

Constructor.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |