Class: Google::Apis::MonitoringV3::DistributionCut
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::MonitoringV3::DistributionCut
 
 
- 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 DistributionCut defines a TimeSeries and thresholds used for measuring good service and total service. The TimeSeries must have ValueType = DISTRIBUTION and MetricKind = DELTA or MetricKind = CUMULATIVE. The computed good_service will be the estimated count of values in the Distribution that fall within the specified min and max.
Instance Attribute Summary collapse
- 
  
    
      #distribution_filter  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters) specifying a TimeSeries aggregating values.
 - 
  
    
      #range  ⇒ Google::Apis::MonitoringV3::GoogleMonitoringV3Range 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Range of numerical values within min and max.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DistributionCut 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of DistributionCut.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ DistributionCut
Returns a new instance of DistributionCut.
      1204 1205 1206  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 1204 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#distribution_filter ⇒ String
A monitoring filter (https://cloud.google.com/monitoring/api/v3/filters)
specifying a TimeSeries aggregating values. Must have ValueType = DISTRIBUTION
and MetricKind = DELTA or MetricKind = CUMULATIVE.
Corresponds to the JSON property distributionFilter
      1197 1198 1199  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 1197 def distribution_filter @distribution_filter end  | 
  
#range ⇒ Google::Apis::MonitoringV3::GoogleMonitoringV3Range
Range of numerical values within min and max.
Corresponds to the JSON property range
      1202 1203 1204  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 1202 def range @range end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1209 1210 1211 1212  | 
    
      # File 'lib/google/apis/monitoring_v3/classes.rb', line 1209 def update!(**args) @distribution_filter = args[:distribution_filter] if args.key?(:distribution_filter) @range = args[:range] if args.key?(:range) end  |