class Google::Apis::SpannerV1::DerivedMetric
A message representing a derived metric.
Attributes
denominator[RW]
A message representing a user-facing string whose value may need to be translated before being displayed. Corresponds to the JSON property `denominator` @return [Google::Apis::SpannerV1::LocalizedString]
numerator[RW]
A message representing a user-facing string whose value may need to be translated before being displayed. Corresponds to the JSON property `numerator` @return [Google::Apis::SpannerV1::LocalizedString]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/spanner_v1/classes.rb, line 1103 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/spanner_v1/classes.rb, line 1108 def update!(**args) @denominator = args[:denominator] if args.key?(:denominator) @numerator = args[:numerator] if args.key?(:numerator) end