Discovery Engine V1BETA API - Module Google::Cloud::DiscoveryEngine::V1beta::Assistant::CustomerPolicy::BannedPhrase::BannedPhraseMatchType (v0.28.0)
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]