Show / Hide Table of Contents

Class 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."

Inheritance
object
ServiceLevelObjective
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v3.Data
Assembly: Google.Apis.Monitoring.v3.dll
Syntax
public class ServiceLevelObjective : IDirectResponseSchema

Properties

CalendarPeriod

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

Declaration
[JsonProperty("calendarPeriod")]
public virtual string CalendarPeriod { get; set; }
Property Value
Type Description
string

DisplayName

Name used for UI elements listing this SLO.

Declaration
[JsonProperty("displayName")]
public virtual string DisplayName { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Goal

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

Declaration
[JsonProperty("goal")]
public virtual double? Goal { get; set; }
Property Value
Type Description
double?

Name

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

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

RollingPeriod

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

Declaration
[JsonProperty("rollingPeriod")]
public virtual object RollingPeriod { get; set; }
Property Value
Type Description
object

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.

Declaration
[JsonProperty("serviceLevelIndicator")]
public virtual ServiceLevelIndicator ServiceLevelIndicator { get; set; }
Property Value
Type Description
ServiceLevelIndicator

UserLabels

Labels which have been used to annotate the service-level objective. Label keys must start with a letter. Label keys and values may contain lowercase letters, numbers, underscores, and dashes. Label keys and values have a maximum length of 63 characters, and must be less than 128 bytes in size. Up to 64 label entries may be stored. For labels which do not have a semantic value, the empty string may be supplied for the label value.

Declaration
[JsonProperty("userLabels")]
public virtual IDictionary<string, string> UserLabels { get; set; }
Property Value
Type Description
IDictionary<string, string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX