Class: Google::Apis::TrafficdirectorV2::ListMatcher

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

Overview

Specifies the way to match a list value.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListMatcher

Returns a new instance of ListMatcher.



561
562
563
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 561

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

Instance Attribute Details

#one_ofGoogle::Apis::TrafficdirectorV2::ValueMatcher

Specifies the way to match a ProtobufWkt::Value. Primitive values and ListValue are supported. StructValue is not supported and is always not matched. [#next-free-field: 7] Corresponds to the JSON property oneOf



559
560
561
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 559

def one_of
  @one_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



566
567
568
# File 'generated/google/apis/trafficdirector_v2/classes.rb', line 566

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