DataSetArgs

data class DataSetArgs(val legendTemplate: Output<String>? = null, val minAlignmentPeriod: Output<String>? = null, val plotType: Output<DataSetPlotType>? = null, val targetAxis: Output<DataSetTargetAxis>? = null, val timeSeriesQuery: Output<TimeSeriesQueryArgs>) : ConvertibleToJava<DataSetArgs>

Groups a time series query definition with charting options.

Constructors

Link copied to clipboard
constructor(legendTemplate: Output<String>? = null, minAlignmentPeriod: Output<String>? = null, plotType: Output<DataSetPlotType>? = null, targetAxis: Output<DataSetTargetAxis>? = null, timeSeriesQuery: Output<TimeSeriesQueryArgs>)

Properties

Link copied to clipboard
val legendTemplate: Output<String>? = null

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.

Link copied to clipboard
val minAlignmentPeriod: Output<String>? = null

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.

Link copied to clipboard
val plotType: Output<DataSetPlotType>? = null

How this data should be plotted on the chart.

Link copied to clipboard
val targetAxis: Output<DataSetTargetAxis>? = null

Optional. The target axis to use for plotting the metric.

Link copied to clipboard

Fields for querying time series data from the Stackdriver metrics API.

Functions

Link copied to clipboard
open override fun toJava(): DataSetArgs