# Class Forecast (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.0

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

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

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` The resource name of the connection in the form of: `projects/{project_id}/locations/{location_id}/forecasts/{forecast_id}` or `organizations/{organization_id}/locations/{location_id}/forecasts/{forecast_id}` or `folders/{folder_id}/locations/{location_id}/forecasts/{forecast_id}` |
| `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 predicted values. Note that some of these values may be in the past (if, for example, the forecast was created in the past and predicted values for the present day). |
| `forecast_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Forecast.ForecastType` The type of forecast. |
| `bounds` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Forecast.Bounds` The bounds represented by this forecast time series. |
| `prediction_interval` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.Forecast.PredictionInterval` The prediction interval represented by the time series. |
| `aggregation_method` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-capacityplanner/latest/google.cloud.capacityplanner_v1beta.types.UsageHistory.AggregationMethod` Aggregation Method of the historical usage for which the forecast is generated |

## Classes

### Bounds

    Bounds(value)

The bounds of the forecast time series.

### ForecastType

    ForecastType(value)

The type of the forecast. This describes the method that was
used to produce future time series values from historical time
series values.

### PredictionInterval

    PredictionInterval(value)

The prediction interval represented by a forecast.