Class: Google::Logging::V2::UpdateLogMetricRequest
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Logging::V2::UpdateLogMetricRequest
 
 
- Defined in:
 - lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb
 
Overview
The parameters to UpdateLogMetric.
Instance Attribute Summary collapse
- 
  
    
      #metric  ⇒ Google::Logging::V2::LogMetric 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The updated metric.
 - 
  
    
      #metric_name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The resource name of the metric to update:.
 
Instance Attribute Details
#metric ⇒ Google::Logging::V2::LogMetric
Returns The updated metric.
      199  | 
    
      # File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 199 class UpdateLogMetricRequest; end  | 
  
#metric_name ⇒ String
Returns The resource name of the metric to update:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
The updated metric must be provided in the request and it's +name+ field must be the same as +[METRIC_ID]+ If the metric does not exist in +[PROJECT_ID]+, then a new metric is created.
      199  | 
    
      # File 'lib/google/cloud/logging/v2/doc/google/logging/v2/logging_metrics.rb', line 199 class UpdateLogMetricRequest; end  |