Class: Google::Api::Metric
- Inherits:
-
Object
- Object
- Google::Api::Metric
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/metric.rb
Overview
A specific metric, identified by specifying values for all of the
labels of a MetricDescriptor
.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The set of label values that uniquely identify this metric.
-
#type ⇒ ::String
An existing metric type, see google.api.MetricDescriptor.
Instance Attribute Details
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns The set of label values that uniquely identify this metric. All
labels listed in the MetricDescriptor
must be assigned values.
285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'proto_docs/google/api/metric.rb', line 285 class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#type ⇒ ::String
Returns An existing metric type, see
google.api.MetricDescriptor. For example,
custom.googleapis.com/invoice/paid/amount
.
285 286 287 288 289 290 291 292 293 294 295 296 297 |
# File 'proto_docs/google/api/metric.rb', line 285 class Metric include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # @!attribute [rw] key # @return [::String] # @!attribute [rw] value # @return [::String] class LabelsEntry include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |