Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class Forecast.
A collection of data points that describes the predicted time-varying values of a resource.
Generated from protobuf message google.cloud.capacityplanner.v1beta.Forecast
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
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
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
int
The type of forecast.
↳ bounds
int
The bounds represented by this forecast time series.
↳ prediction_interval
int
The prediction interval represented by the time series.
↳ aggregation_method
int
Aggregation Method of the historical usage for which the forecast is generated
getName
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}
string
setName
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}
var
string
$this
getTimeSeries
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).
hasTimeSeries
clearTimeSeries
setTimeSeries
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).
$this
getForecastType
The type of forecast.
setForecastType
The type of forecast.
$this
getBounds
The bounds represented by this forecast time series.
setBounds
The bounds represented by this forecast time series.
$this
getPredictionInterval
The prediction interval represented by the time series.
setPredictionInterval
The prediction interval represented by the time series.
$this
getAggregationMethod
Aggregation Method of the historical usage for which the forecast is generated
setAggregationMethod
Aggregation Method of the historical usage for which the forecast is generated
$this

