Reference documentation and code samples for the Capacity Planner V1BETA API class Google::Cloud::CapacityPlanner::V1beta::UsageHistory.
A collection of data points that describes the historical 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
- (::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod) — Method used to convert sampled usage data to time series values.
#aggregation_method=
def aggregation_method=(value) -> ::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod
Parameter
- value (::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod) — Method used to convert sampled usage data to time series values.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::UsageHistory::AggregationMethod) — Method used to convert sampled usage data to time series values.
#time_series
def time_series() -> ::Google::Cloud::CapacityPlanner::V1beta::TimeSeries
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::TimeSeries) — The collection of data points that represent the historical values.
#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 historical values.
Returns
- (::Google::Cloud::CapacityPlanner::V1beta::TimeSeries) — The collection of data points that represent the historical values.