Class: Google::Cloud::ServiceControl::V1::MetricValue

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

Instance Attribute Details

#bool_value::Boolean

Returns A boolean value.

Returns:

  • (::Boolean)

    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.

Returns:



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.

Returns:

  • (::Float)

    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.

Returns:



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.

Returns:

  • (::Integer)

    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.

Returns:

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

    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.

Returns:



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.

Returns:

  • (::String)

    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