Struct google_monitoring3::TimeSeries
[−]
[src]
pub struct TimeSeries { pub metric_kind: Option<String>, pub metric: Option<Metric>, pub points: Option<Vec<Point>>, pub resource: Option<MonitoredResource>, pub value_type: Option<String>, }
A collection of data points that describes the time-varying nature of a metric. A time series is identified by a combination of a fully-specified monitored resource and a fully-specified metric.
This type is not used in any activity, and only used as part of another schema.
Fields
metric_kind: Option<String>
The metric kind of the time series. This can be different than the metric kind specified in [google.api.MetricDescriptor] because of alignment and reduction operations on the data. This field is ignored when writing data; the value specified in the descriptor is used instead. @OutputOnly
metric: Option<Metric>
The fully-specified metric used to identify the time series.
points: Option<Vec<Point>>
The data points of this time series. When used as output, points will be sorted by decreasing time order. When used as input, points could be written in any orders.
resource: Option<MonitoredResource>
The fully-specified monitored resource used to identify the time series.
value_type: Option<String>
The value type of the time series. This can be different than the value type specified in [google.api.MetricDescriptor] because of alignment and reduction operations on the data. This field is ignored when writing data; the value specified in the descriptor is used instead. @OutputOnly
Trait Implementations
impl Debug for TimeSeries
[src]
impl Clone for TimeSeries
[src]
fn clone(&self) -> TimeSeries
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for TimeSeries
[src]
fn default() -> TimeSeries
Returns the "default value" for a type. Read more