Class: Google::Api::Metric
- Inherits:
-
Object
- Object
- Google::Api::Metric
- Defined in:
- lib/google/cloud/logging/v2/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.
185 |
# File 'lib/google/cloud/logging/v2/doc/google/api/metric.rb', line 185 class Metric; end |
#type ⇒ String
Returns An existing metric type, see Google::Api::MetricDescriptor. For example, +custom.googleapis.com/invoice/paid/amount+.
185 |
# File 'lib/google/cloud/logging/v2/doc/google/api/metric.rb', line 185 class Metric; end |