class Google::Apis::MonitoringV3::LatencyCriteria

Parameters for a latency threshold SLI.

Attributes

threshold[RW]

Good service is defined to be the count of requests made to this service that return in no more than threshold. Corresponds to the JSON property `threshold` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 2006
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/monitoring_v3/classes.rb, line 2011
def update!(**args)
  @threshold = args[:threshold] if args.key?(:threshold)
end