[][src]Struct google_monitoring3::WindowsBasedSli

pub struct WindowsBasedSli {
    pub metric_mean_in_range: Option<MetricRange>,
    pub good_bad_metric_filter: Option<String>,
    pub good_total_ratio_threshold: Option<PerformanceThreshold>,
    pub metric_sum_in_range: Option<MetricRange>,
    pub window_period: Option<String>,
}

A WindowsBasedSli defines good_service as the count of time windows for which the provided service was of good quality. Criteria for determining if service was good are embedded in the window_criterion.

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

Fields

metric_mean_in_range: Option<MetricRange>

A window is good if the metric's value is in a good range, averaged across returned streams.

good_bad_metric_filter: Option<String>

A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries with ValueType = BOOL. The window is good if any true values appear in the window.

good_total_ratio_threshold: Option<PerformanceThreshold>

A window is good if its performance is high enough.

metric_sum_in_range: Option<MetricRange>

A window is good if the metric's value is in a good range, summed across returned streams.

window_period: Option<String>

Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s.

Trait Implementations

impl Clone for WindowsBasedSli[src]

impl Debug for WindowsBasedSli[src]

impl Default for WindowsBasedSli[src]

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

impl Part for WindowsBasedSli[src]

impl Serialize for WindowsBasedSli[src]

Auto Trait Implementations

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, 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.

impl<T> Typeable for T where
    T: Any