Class: Google::Apis::MonitoringV3::PerformanceThreshold
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::PerformanceThreshold
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb 
Overview
A PerformanceThreshold is used when each window is good when that window has a sufficiently high performance.
Instance Attribute Summary collapse
- 
  
    
      #basic_sli_performance  ⇒ Google::Apis::MonitoringV3::BasicSli 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An SLI measuring performance on a well-known service type.
 - 
  
    
      #performance  ⇒ Google::Apis::MonitoringV3::RequestBasedSli 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Service Level Indicators for which atomic units of service are counted directly.
 - 
  
    
      #threshold  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
If window performance >= threshold, the window is counted as good.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ PerformanceThreshold 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of PerformanceThreshold.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ PerformanceThreshold
Returns a new instance of PerformanceThreshold.
      3675 3676 3677  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 3675 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#basic_sli_performance ⇒ Google::Apis::MonitoringV3::BasicSli
An SLI measuring performance on a well-known service type. Performance will be
computed on the basis of pre-defined metrics. The type of the service_resource
determines the metrics to use and the service_resource.labels and
metric_labels are used to construct a monitoring filter to filter that metric
down to just the data relevant to this service.
Corresponds to the JSON property basicSliPerformance
      3662 3663 3664  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 3662 def basic_sli_performance @basic_sli_performance end  | 
  
#performance ⇒ Google::Apis::MonitoringV3::RequestBasedSli
Service Level Indicators for which atomic units of service are counted
directly.
Corresponds to the JSON property performance
      3668 3669 3670  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 3668 def performance @performance end  | 
  
#threshold ⇒ Float
If window performance >= threshold, the window is counted as good.
Corresponds to the JSON property threshold
      3673 3674 3675  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 3673 def threshold @threshold end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3680 3681 3682 3683 3684  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 3680 def update!(**args) @basic_sli_performance = args[:basic_sli_performance] if args.key?(:basic_sli_performance) @performance = args[:performance] if args.key?(:performance) @threshold = args[:threshold] if args.key?(:threshold) end  |