Discovery Engine v1beta API - Enum Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType (1.0.0-beta24)

public enum Assistant.Types.CustomerPolicy.Types.BannedPhrase.Types.BannedPhraseMatchType

Reference 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.V1Beta

Assembly

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.