Class: Google::Cloud::ServiceControl::V1::MetricValue
- Inherits:
-
Object
- Object
- Google::Cloud::ServiceControl::V1::MetricValue
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/api/servicecontrol/v1/metric_value.rb
Overview
Represents a single metric value.
Defined Under Namespace
Classes: LabelsEntry
Instance Attribute Summary collapse
-
#bool_value ⇒ ::Boolean
A boolean value.
-
#distribution_value ⇒ ::Google::Cloud::ServiceControl::V1::Distribution
A distribution value.
-
#double_value ⇒ ::Float
A double precision floating point value.
-
#end_time ⇒ ::Google::Protobuf::Timestamp
The end of the time period over which this metric value's measurement applies.
-
#int64_value ⇒ ::Integer
A signed 64-bit integer value.
-
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
The labels describing the metric value.
-
#start_time ⇒ ::Google::Protobuf::Timestamp
The start of the time period over which this metric value's measurement applies.
-
#string_value ⇒ ::String
A text string value.
Instance Attribute Details
#bool_value ⇒ ::Boolean
Returns A boolean value.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#distribution_value ⇒ ::Google::Cloud::ServiceControl::V1::Distribution
Returns A distribution value.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#double_value ⇒ ::Float
Returns A double precision floating point value.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#end_time ⇒ ::Google::Protobuf::Timestamp
Returns The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#int64_value ⇒ ::Integer
Returns A signed 64-bit integer value.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#labels ⇒ ::Google::Protobuf::Map{::String => ::String}
Returns The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#start_time ⇒ ::Google::Protobuf::Timestamp
Returns The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |
#string_value ⇒ ::String
Returns A text string value.
58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'proto_docs/google/api/servicecontrol/v1/metric_value.rb', line 58 class MetricValue 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 |