Method: Google::Cloud::Monitoring::V3::TimeSeries#unit

Defined in:
proto_docs/google/monitoring/v3/metric.rb

#unit::String

Returns The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.

Returns:

  • (::String)

    The units in which the metric value is reported. It is only applicable if the value_type is INT64, DOUBLE, or DISTRIBUTION. The unit defines the representation of the stored metric values.

[View source]

97
98
99
100
# File 'proto_docs/google/monitoring/v3/metric.rb', line 97

class TimeSeries
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end