Class: Google::Apis::TrafficdirectorV3::ListMatcher

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 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.



863
864
865
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 863

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

Instance Attribute Details

#one_ofGoogle::Apis::TrafficdirectorV3::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: 8] Corresponds to the JSON property oneOf



861
862
863
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 861

def one_of
  @one_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



868
869
870
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 868

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