proto_docs/google/cloud/retail/v2/common.rb in google-cloud-retail-v2-0.11.0 vs proto_docs/google/cloud/retail/v2/common.rb in google-cloud-retail-v2-0.12.0

- old
+ new

@@ -46,12 +46,12 @@ # @return [::String] # The value of the term to match on. # Value cannot be empty. # Value can have at most 3 terms if specified as a partial match. Each # space separated string is considered as one term. - # Example) "a b c" is 3 terms and allowed, " a b c d" is 4 terms and not - # allowed for partial match. + # For example, "a b c" is 3 terms and allowed, but " a b c d" is 4 terms + # and not allowed for a partial match. # @!attribute [rw] full_match # @return [::Boolean] # Whether this is supposed to be a full or partial match. class QueryTerm include ::Google::Protobuf::MessageExts @@ -71,10 +71,11 @@ extend ::Google::Protobuf::MessageExts::ClassMethods end end # A rule is a condition-action pair + # # * A condition defines when a rule is to be triggered. # * An action specifies what occurs on that trigger. # Currently rules only work for {::Google::Cloud::Retail::V2::Control controls} with # {::Google::Cloud::Retail::V2::SolutionType::SOLUTION_TYPE_SEARCH SOLUTION_TYPE_SEARCH}. # @!attribute [rw] boost_action @@ -200,10 +201,11 @@ include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Creates a set of terms that will be treated as synonyms of each other. - # Example: synonyms of "sneakers" and "shoes". + # Example: synonyms of "sneakers" and "shoes": + # # * "sneakers" will use a synonym of "shoes". # * "shoes" will use a synonym of "sneakers". # @!attribute [rw] synonyms # @return [::Array<::String>] # Defines a set of synonyms.