Capacity Planner V1BETA API - Class Google::Cloud::CapacityPlanner::V1beta::Forecast (v0.2.0)

Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::Forecast.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#aggregation_method

def aggregation_method() -> ::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod
Returns

#aggregation_method=

def aggregation_method=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod
Parameter
Returns

#bounds

def bounds() -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::Bounds
Returns

#bounds=

def bounds=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::Bounds
Parameter
Returns

#forecast_type

def forecast_type() -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::ForecastType

#forecast_type=

def forecast_type=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::ForecastType
Parameter

#name

def name() -> ::String
Returns
  • (::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}

#name=

def name=(value) -> ::String
Parameter
  • value (::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}
Returns
  • (::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}

#prediction_interval

def prediction_interval() -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::PredictionInterval
Returns

#prediction_interval=

def prediction_interval=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::Forecast::PredictionInterval
Parameter
Returns

#time_series

def time_series() -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries
Returns
  • (::Google::Cloud::CapacityPlanner::V1beta::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).

#time_series=

def time_series=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries
Parameter
  • value (::Google::Cloud::CapacityPlanner::V1beta::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).
Returns
  • (::Google::Cloud::CapacityPlanner::V1beta::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).