Struct google_monitoring3::api::ServiceLevelObjective[][src]

pub struct ServiceLevelObjective {
    pub calendar_period: Option<String>,
    pub display_name: Option<String>,
    pub goal: Option<f64>,
    pub name: Option<String>,
    pub rolling_period: Option<String>,
    pub service_level_indicator: Option<ServiceLevelIndicator>,
}

A Service-Level Objective (SLO) describes a level of desired good service. It consists of a service-level indicator (SLI), a performance goal, and a period over which the objective is to be evaluated against that goal. The SLO can use SLIs defined in a number of different manners. Typical SLOs might include "99% of requests in each rolling week have latency below 200 milliseconds" or "99.5% of requests in each calendar month return successfully."

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

calendar_period: Option<String>

A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported.

display_name: Option<String>

Name used for UI elements listing this SLO.

goal: Option<f64>

The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999.

name: Option<String>

Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]

rolling_period: Option<String>

A rolling time period, semantically "in the past ". Must be an integer multiple of 1 day no larger than 30 days.

service_level_indicator: Option<ServiceLevelIndicator>

The definition of good service, used to measure and calculate the quality of the Service's performance with respect to a single aspect of service quality.

Trait Implementations

impl Clone for ServiceLevelObjective[src]

impl Debug for ServiceLevelObjective[src]

impl Default for ServiceLevelObjective[src]

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

impl RequestValue for ServiceLevelObjective[src]

impl ResponseResult for ServiceLevelObjective[src]

impl Serialize for ServiceLevelObjective[src]

Auto Trait Implementations

impl RefUnwindSafe for ServiceLevelObjective[src]

impl Send for ServiceLevelObjective[src]

impl Sync for ServiceLevelObjective[src]

impl Unpin for ServiceLevelObjective[src]

impl UnwindSafe for ServiceLevelObjective[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.