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.



262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'proto_docs/google/api/metric.rb', line 262

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:



262
263
264
265
266
267
268
269
270
271
272
273
274
# File 'proto_docs/google/api/metric.rb', line 262

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