Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::Assistant::CustomerPolicy::BannedPhrase::BannedPhraseMatchType (v0.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Discovery Engine V1BETA API module Google::Cloud::DiscoveryEngine::V1beta::Assistant::CustomerPolicy::BannedPhrase::BannedPhraseMatchType.
The matching method for the banned phrase.
Constants
BANNED_PHRASE_MATCH_TYPE_UNSPECIFIED
value: 0 Defaults to SIMPLE_STRING_MATCH.
SIMPLE_STRING_MATCH
value: 1 The banned phrase matches if it is found anywhere in the text as an
exact substring.
WORD_BOUNDARY_STRING_MATCH
value: 2 Banned phrase only matches if the pattern found in the text is
surrounded by word delimiters. The phrase itself may still contain
word delimiters.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]