[−][src]Struct google_monitoring3::ServiceLevelObjective
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).
- service level objectives patch services (request|response)
- service level objectives get services (response)
- service level objectives create services (request|response)
Fields
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.
rolling_period: Option<String>
A rolling time period, semantically "in the past <rolling_period>". Must be an integer multiple of 1 day no larger than 30 days.
calendar_period: Option<String>
A calendar period, semantically "since the start of the current <calendar_period>". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported.
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.
name: Option<String>
Resource name for this ServiceLevelObjective. The format is: projects/[PROJECT_ID_OR_NUMBER]/services/[SERVICE_ID]/serviceLevelObjectives/[SLO_NAME]
Trait Implementations
impl Clone for ServiceLevelObjective
[src]
fn clone(&self) -> ServiceLevelObjective
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ServiceLevelObjective
[src]
impl Default for ServiceLevelObjective
[src]
fn default() -> ServiceLevelObjective
[src]
impl<'de> Deserialize<'de> for ServiceLevelObjective
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl RequestValue for ServiceLevelObjective
[src]
impl ResponseResult for ServiceLevelObjective
[src]
impl Serialize for ServiceLevelObjective
[src]
Auto Trait Implementations
impl RefUnwindSafe for ServiceLevelObjective
impl Send for ServiceLevelObjective
impl Sync for ServiceLevelObjective
impl Unpin for ServiceLevelObjective
impl UnwindSafe for ServiceLevelObjective
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,