Cloud Monitoring Dashboards V1 API - Class Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet (v0.11.0)

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

#plot_type=

def plot_type=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::PlotType
Parameter
Returns

#target_axis

def target_axis() -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis
Returns

#target_axis=

def target_axis=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::XyChart::DataSet::TargetAxis
Parameter
Returns

#time_series_query

def time_series_query() -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Returns

#time_series_query=

def time_series_query=(value) -> ::Google::Cloud::Monitoring::Dashboard::V1::TimeSeriesQuery
Parameter
Returns