Class: Google::Api::Metric

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Google::Protobuf::Map{::String => ::String})

    The set of label values that uniquely identify this metric. All labels listed in the MetricDescriptor must be assigned values.



267
268
269
270
271
272
273
274
275
276
277
278
279
# File 'proto_docs/google/api/metric.rb', line 267

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.

Returns:



267
268
269
270
271
272
273
274
275
276
277
278
279
# File 'proto_docs/google/api/metric.rb', line 267

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