Retail V2 API - Class Google::Cloud::Retail::V2::Rule::IgnoreAction (v0.21.0)

Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Rule::IgnoreAction.

Prevents a term in the query from being used in search. Example: Don't search for "shoddy".

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ignore_terms

def ignore_terms() -> ::Array<::String>
Returns
  • (::Array<::String>) — Terms to ignore in the search query.

#ignore_terms=

def ignore_terms=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Terms to ignore in the search query.
Returns
  • (::Array<::String>) — Terms to ignore in the search query.