Struct google_monitoring3::api::TimeSeriesRatio[][src]

pub struct TimeSeriesRatio {
    pub bad_service_filter: Option<String>,
    pub good_service_filter: Option<String>,
    pub total_service_filter: Option<String>,
}

A TimeSeriesRatio specifies two TimeSeries to use for computing the good_service / total_service ratio. The specified TimeSeries must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE. The TimeSeriesRatio must specify exactly two of good, bad, and total, and the relationship good_service + bad_service = total_service will be assumed.

This type is not used in any activity, and only used as part of another schema.

Fields

bad_service_filter: Option<String>

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

good_service_filter: Option<String>

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying good service provided. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

total_service_filter: Option<String>

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries quantifying total demanded service. Must have ValueType = DOUBLE or ValueType = INT64 and must have MetricKind = DELTA or MetricKind = CUMULATIVE.

Trait Implementations

impl Clone for TimeSeriesRatio[src]

impl Debug for TimeSeriesRatio[src]

impl Default for TimeSeriesRatio[src]

impl<'de> Deserialize<'de> for TimeSeriesRatio[src]

impl Part for TimeSeriesRatio[src]

impl Serialize for TimeSeriesRatio[src]

Auto Trait Implementations

impl RefUnwindSafe for TimeSeriesRatio[src]

impl Send for TimeSeriesRatio[src]

impl Sync for TimeSeriesRatio[src]

impl Unpin for TimeSeriesRatio[src]

impl UnwindSafe for TimeSeriesRatio[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.