Reference documentation and code samples for the Cloud Monitoring Dashboards V1 API class Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet.
Groups a time series query definition with charting options.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#legend_template
def legend_template() -> ::String
Returns
-
(::String) — A template string for naming
TimeSeries
in the resulting data set. This should be a string with interpolations of the form${label_name}
, which will resolve to the label's value.
#legend_template=
def legend_template=(value) -> ::String
Parameter
-
value (::String) — A template string for naming
TimeSeries
in the resulting data set. This should be a string with interpolations of the form${label_name}
, which will resolve to the label's value.
Returns
-
(::String) — A template string for naming
TimeSeries
in the resulting data set. This should be a string with interpolations of the form${label_name}
, which will resolve to the label's value.
#min_alignment_period
def min_alignment_period() -> ::Google::Protobuf::Duration
Returns
-
(::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set, implemented by
specifying the minimum alignment period to use in a time series query
For example, if the data is published once every 10 minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
#min_alignment_period=
def min_alignment_period=(value) -> ::Google::Protobuf::Duration
Parameter
-
value (::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set, implemented by
specifying the minimum alignment period to use in a time series query
For example, if the data is published once every 10 minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
Returns
-
(::Google::Protobuf::Duration) — Optional. The lower bound on data point frequency for this data set, implemented by
specifying the minimum alignment period to use in a time series query
For example, if the data is published once every 10 minutes, the
min_alignment_period
should be at least 10 minutes. It would not make sense to fetch and align data at one minute intervals.
#plot_type
def plot_type() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType) — How this data should be plotted on the chart.
#plot_type=
def plot_type=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType) — How this data should be plotted on the chart.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType) — How this data should be plotted on the chart.
#target_axis
def target_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis) — Optional. The target axis to use for plotting the metric.
#target_axis=
def target_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis) — Optional. The target axis to use for plotting the metric.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis) — Optional. The target axis to use for plotting the metric.
#time_series_query
def time_series_query() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. Fields for querying time series data from the Stackdriver metrics API.
#time_series_query=
def time_series_query=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Parameter
- value (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. Fields for querying time series data from the Stackdriver metrics API.
Returns
- (::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery) — Required. Fields for querying time series data from the Stackdriver metrics API.