TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#time_series_filter
def time_series_filter() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
#time_series_filter=
def time_series_filter=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilter) — Filter parameters to fetch time series.
#time_series_filter_ratio
def time_series_filter_ratio() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
#time_series_filter_ratio=
def time_series_filter_ratio=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesFilterRatio) — Parameters to fetch a ratio between two time series filters.
#time_series_query_language
def time_series_query_language() -> ::String
Returns
- (::String) — A query used to fetch time series.
#time_series_query_language=
def time_series_query_language=(value) -> ::String
Parameter
- value (::String) — A query used to fetch time series.
Returns
- (::String) — A query used to fetch time series.
#unit_override
def unit_override() -> ::String
Returns
-
(::String) — The unit of data contained in fetched time series. If non-empty, this
unit will override any unit that accompanies fetched data. The format is
the same as the
unit
field inMetricDescriptor
.
#unit_override=
def unit_override=(value) -> ::String
Parameter
-
value (::String) — The unit of data contained in fetched time series. If non-empty, this
unit will override any unit that accompanies fetched data. The format is
the same as the
unit
field inMetricDescriptor
.
Returns
-
(::String) — The unit of data contained in fetched time series. If non-empty, this
unit will override any unit that accompanies fetched data. The format is
the same as the
unit
field inMetricDescriptor
.