class Google::Apis::MonitoringV1::DataSet
Groups a time series query definition with charting options.
Attributes
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. Corresponds to the JSON property `legendTemplate` @return [String]
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. Corresponds to the JSON property `minAlignmentPeriod` @return [String]
How this data should be plotted on the chart. Corresponds to the JSON property `plotType` @return [String]
Optional. The target axis to use for plotting the metric. Corresponds to the JSON property `targetAxis` @return [String]
TimeSeriesQuery
collects the set of supported methods for querying time series data from the Stackdriver metrics API. Corresponds to the JSON property `timeSeriesQuery` @return [Google::Apis::MonitoringV1::TimeSeriesQuery]
Public Class Methods
# File lib/google/apis/monitoring_v1/classes.rb, line 333 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 338 def update!(**args) @legend_template = args[:legend_template] if args.key?(:legend_template) @min_alignment_period = args[:min_alignment_period] if args.key?(:min_alignment_period) @plot_type = args[:plot_type] if args.key?(:plot_type) @target_axis = args[:target_axis] if args.key?(:target_axis) @time_series_query = args[:time_series_query] if args.key?(:time_series_query) end