Class: Google::Cloud::Retail::V2::Rule::DoNotAssociateAction

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/common.rb

Overview

Prevents query_term from being associated with specified terms during search. Example: Don't associate "gShoe" and "cheap".

Instance Attribute Summary collapse

Instance Attribute Details

#do_not_associate_terms::Array<::String>

Returns Cannot contain duplicates or the query term. Can specify up to 100 terms.

Returns:

  • (::Array<::String>)

    Cannot contain duplicates or the query term. Can specify up to 100 terms.



272
273
274
275
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 272

class DoNotAssociateAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#query_terms::Array<::String>

Returns Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.

Returns:

  • (::Array<::String>)

    Terms from the search query. Will not consider do_not_associate_terms for search if in search query. Can specify up to 100 terms.



272
273
274
275
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 272

class DoNotAssociateAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#terms::Array<::String>

Returns Will be [deprecated = true] post migration;.

Returns:

  • (::Array<::String>)

    Will be [deprecated = true] post migration;



272
273
274
275
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 272

class DoNotAssociateAction
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end