Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::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::V1::SuggestionDenyListEntry::MatchOperator
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SuggestionDenyListEntry::MatchOperator) — Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
#match_operator=
def match_operator=(value) -> ::Google::Cloud::DiscoveryEngine::V1::SuggestionDenyListEntry::MatchOperator
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::SuggestionDenyListEntry::MatchOperator) — Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::SuggestionDenyListEntry::MatchOperator) — Required. The match operator to apply for this phrase. Whether to block the exact phrase, or block any suggestions containing this phrase.