TimeSeriesQueryResponse class

TimeSeriesQuery collects the set of supported methods for querying time series data from the Stackdriver metrics API.

Constructors

TimeSeriesQueryResponse({required Input<OpsAnalyticsQueryResponse> opsAnalyticsQuery, required Input<bool> outputFullDuration, required Input<String> prometheusQuery, required Input<TimeSeriesFilterResponse> timeSeriesFilter, required Input<TimeSeriesFilterRatioResponse> timeSeriesFilterRatio, required Input<String> timeSeriesQueryLanguage, required Input<String> unitOverride})
Creates a new TimeSeriesQueryResponse. opsAnalyticsQuery Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release. outputFullDuration Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart prometheusQuery A query used to fetch time series with PromQL. timeSeriesFilter Filter parameters to fetch time series. timeSeriesFilterRatio Parameters to fetch a ratio between two time series filters. timeSeriesQueryLanguage A query used to fetch time series with MQL. unitOverride 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 (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.
const
TimeSeriesQueryResponse.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
opsAnalyticsQuery → Input<OpsAnalyticsQueryResponse>
Preview: A query used to fetch a time series, category series, or numeric series with SQL. This is a preview feature and may be subject to change before final release.
final
outputFullDuration → Input<bool>
Optional. If set, Cloud Monitoring will treat the full query duration as the alignment period so that there will be only 1 output value.*Note: This could override the configured alignment period except for the cases where a series of data points are expected, like - XyChart - Scorecard's spark chart
final
prometheusQuery → Input<String>
A query used to fetch time series with PromQL.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeSeriesFilter → Input<TimeSeriesFilterResponse>
Filter parameters to fetch time series.
final
timeSeriesFilterRatio → Input<TimeSeriesFilterRatioResponse>
Parameters to fetch a ratio between two time series filters.
final
timeSeriesQueryLanguage → Input<String>
A query used to fetch time series with MQL.
final
unitOverride → Input<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 (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.metricDescriptors) field in MetricDescriptor.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited