Class: Google::Cloud::Retail::V2::Rule::TwowaySynonymsAction
- Inherits:
-
Object
- Object
- Google::Cloud::Retail::V2::Rule::TwowaySynonymsAction
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/retail/v2/common.rb
Overview
Creates a set of terms that will be treated as synonyms of each other. Example: synonyms of "sneakers" and "shoes":
- "sneakers" will use a synonym of "shoes".
- "shoes" will use a synonym of "sneakers".
Instance Attribute Summary collapse
-
#synonyms ⇒ ::Array<::String>
Defines a set of synonyms.
Instance Attribute Details
#synonyms ⇒ ::Array<::String>
Returns Defines a set of synonyms. Can specify up to 100 synonyms. Must specify at least 2 synonyms.
228 229 230 231 |
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 228 class TwowaySynonymsAction include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |