public enum Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchTypeReference documentation and code samples for the Discovery Engine v1beta API enum Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType.
The matching method for the banned phrase.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Fields |
|
|---|---|
| Name | Description |
SimpleStringMatch |
The banned phrase matches if it is found anywhere in the text as an exact substring. |
Unspecified |
Defaults to SIMPLE_STRING_MATCH. |
WordBoundaryStringMatch |
Banned phrase only matches if the pattern found in the text is surrounded by word delimiters. The phrase itself may still contain word delimiters. |