Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SuggestionDenyListEntry (v0.14.1)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SuggestionDenyListEntry.

Suggestion deny list entry identifying the phrase to block from suggestions and the applied operation for the phrase.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#block_phrase

def block_phrase() -> ::String
Returns
  • (::String) — Required. Phrase to block from suggestions served. Can be maximum 125 characters.

#block_phrase=

def block_phrase=(value) -> ::String
Parameter
  • value (::String) — Required. Phrase to block from suggestions served. Can be maximum 125 characters.
Returns
  • (::String) — Required. Phrase to block from suggestions served. Can be maximum 125 characters.

#match_operator

def match_operator() -> ::Google::Cloud::DiscoveryEngine::V1beta::SuggestionDenyListEntry::MatchOperator
Returns

#match_operator=

def match_operator=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SuggestionDenyListEntry::MatchOperator
Parameter
Returns