Class: Google::Apis::TrafficdirectorV3::OrMatcher

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/trafficdirector_v3/classes.rb,
lib/google/apis/trafficdirector_v3/representations.rb,
lib/google/apis/trafficdirector_v3/representations.rb

Overview

Specifies a list of alternatives for the match.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OrMatcher

Returns a new instance of OrMatcher.



1103
1104
1105
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1103

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#value_matchersArray<Google::Apis::TrafficdirectorV3::ValueMatcher>

Corresponds to the JSON property valueMatchers



1101
1102
1103
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1101

def value_matchers
  @value_matchers
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1108
1109
1110
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 1108

def update!(**args)
  @value_matchers = args[:value_matchers] if args.key?(:value_matchers)
end