Class PhraseMatchRuleGroup (1.7.0)

PhraseMatchRuleGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A message representing a rule in the phrase matcher.

Attributes

NameDescription
type_ google.cloud.contact_center_insights_v1.types.PhraseMatchRuleGroup.PhraseMatchRuleGroupType
Required. The type of this phrase match rule group.
phrase_match_rules MutableSequence[google.cloud.contact_center_insights_v1.types.PhraseMatchRule]
A list of phase match rules that are included in this group.

Classes

PhraseMatchRuleGroupType

PhraseMatchRuleGroupType(value)

Specifies how to combine each phrase match rule for whether there is a match.

Values: PHRASE_MATCH_RULE_GROUP_TYPE_UNSPECIFIED (0): Unspecified. ALL_OF (1): Must meet all phrase match rules or there is no match. ANY_OF (2): If any of the phrase match rules are met, there is a match.