GetServiceLevelObjectiveResult class

Result data returned by getServiceLevelObjective.

Constructors

GetServiceLevelObjectiveResult({required String calendarPeriod, required String displayName, required double goal, required String name, required String rollingPeriod, required ServiceLevelIndicatorResponse serviceLevelIndicator, required Map<String, String> userLabels})
Creates a new GetServiceLevelObjectiveResult. calendarPeriod A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported. displayName Name used for UI elements listing this SLO. goal The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999. name Resource name for this ServiceLevelObjective. The format is: projects/PROJECT_ID_OR_NUMBER/services/SERVICE_ID/serviceLevelObjectives/SLO_NAME rollingPeriod A rolling time period, semantically "in the past ". Must be an integer multiple of 1 day no larger than 30 days. 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. 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.
const
GetServiceLevelObjectiveResult.fromMap(Map<String, dynamic> map)
factory

Properties

calendarPeriod → String
A calendar period, semantically "since the start of the current ". At this time, only DAY, WEEK, FORTNIGHT, and MONTH are supported.
final
displayName → String
Name used for UI elements listing this SLO.
final
goal → double
The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999.
final
hashCode → int
The hash code for this object.
no setterinherited
name → String
Resource name for this ServiceLevelObjective. The format is: projects/PROJECT_ID_OR_NUMBER/services/SERVICE_ID/serviceLevelObjectives/SLO_NAME
final
rollingPeriod → String
A rolling time period, semantically "in the past ". Must be an integer multiple of 1 day no larger than 30 days.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceLevelIndicator → ServiceLevelIndicatorResponse
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.
final
userLabels → Map<String, String>
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited