Class: Google::Api::Metric
- Inherits:
- 
      Object
      
        - Object
- Google::Api::Metric
 
- Defined in:
- lib/google/cloud/monitoring/v3/doc/google/api/metric.rb
Overview
A specific metric, identified by specifying values for all of the labels of a +MetricDescriptor+.
Instance Attribute Summary collapse
- 
  
    
      #labels  ⇒ Hash{String => String} 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The set of label values that uniquely identify this metric. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    An existing metric type, see MetricDescriptor. 
Instance Attribute Details
#labels ⇒ Hash{String => String}
Returns The set of label values that uniquely identify this metric. All labels listed in the +MetricDescriptor+ must be assigned values.
| 182 | # File 'lib/google/cloud/monitoring/v3/doc/google/api/metric.rb', line 182 class Metric; end | 
#type ⇒ String
Returns An existing metric type, see Google::Api::MetricDescriptor. For example, +custom.googleapis.com/invoice/paid/amount+.
| 182 | # File 'lib/google/cloud/monitoring/v3/doc/google/api/metric.rb', line 182 class Metric; end |