class Google::Apis::ServicecontrolV1::MetricValueSet
Represents a set of metric values in the same metric. Each metric value in the set should have a unique combination of start time, end time, and label values.
Attributes
metric_name[RW]
The metric name defined in the service configuration. Corresponds to the JSON property `metricName` @return [String]
metric_values[RW]
The values in this metric. Corresponds to the JSON property `metricValues` @return [Array<Google::Apis::ServicecontrolV1::MetricValue>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/servicecontrol_v1/classes.rb, line 1336 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/servicecontrol_v1/classes.rb, line 1341 def update!(**args) @metric_name = args[:metric_name] if args.key?(:metric_name) @metric_values = args[:metric_values] if args.key?(:metric_values) end