# Class UsageHistory (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

    UsageHistory(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A collection of data points that describes the historical
time-varying values of a resource.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `time_series` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.TimeSeries` The collection of data points that represent the historical values. |
| `aggregation_method` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.UsageHistory.AggregationMethod` Method used to convert sampled usage data to time series values. |

## Classes

### AggregationMethod

    AggregationMethod(value)

Methods for converting sampled data to time series values.