class Google::Apis::ContentV2_1::RepricingRuleEligibleOfferMatcherStringMatcher
Matcher by string attributes.
Attributes
str_attributes[RW]
String attributes, as long as such attribute of an offer is one of the string attribute values, the offer is considered as passing the matcher. The string matcher checks an offer for inclusivity in the string attributes, not equality. Only literal string matching is supported, no regex. Corresponds to the JSON property `strAttributes` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/content_v2_1/classes.rb, line 12567 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/content_v2_1/classes.rb, line 12572 def update!(**args) @str_attributes = args[:str_attributes] if args.key?(:str_attributes) end