class Google::Apis::TrafficdirectorV2::DoubleMatcher

Specifies the way to match a double value.

Attributes

exact[RW]

If specified, the input double value must be equal to the value specified here. Corresponds to the JSON property `exact` @return [Float]

range[RW]

Specifies the double start and end of the range using half-open interval semantics [start, end). Corresponds to the JSON property `range` @return [Google::Apis::TrafficdirectorV2::DoubleRange]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 207
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/trafficdirector_v2/classes.rb, line 212
def update!(**args)
  @exact = args[:exact] if args.key?(:exact)
  @range = args[:range] if args.key?(:range)
end