class Google::Apis::TrafficdirectorV2::DoubleRange

Specifies the double start and end of the range using half-open interval semantics [start, end).

Attributes

end[RW]

end of the range (exclusive) Corresponds to the JSON property `end` @return [Float]

start[RW]

start of the range (inclusive) Corresponds to the JSON property `start` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/trafficdirector_v2/classes.rb, line 233
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 238
def update!(**args)
  @end = args[:end] if args.key?(:end)
  @start = args[:start] if args.key?(:start)
end