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.



871
872
873
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 871

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



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

def one_of
  @one_of
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



876
877
878
# File 'lib/google/apis/trafficdirector_v3/classes.rb', line 876

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