Reference documentation and code samples for the Contact Center AI Insights V1 API class Google::Cloud::ContactCenterInsights::V1::PhraseMatchRule.
The data for a phrase match rule.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#config
def config() -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig
Returns
- (::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig) — Provides additional information about the rule that specifies how to apply the rule.
#config=
def config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig
Parameter
- value (::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig) — Provides additional information about the rule that specifies how to apply the rule.
Returns
- (::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig) — Provides additional information about the rule that specifies how to apply the rule.
#negated
def negated() -> ::Boolean
Returns
- (::Boolean) — Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
#negated=
def negated=(value) -> ::Boolean
Parameter
- value (::Boolean) — Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
Returns
- (::Boolean) — Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
#query
def query() -> ::String
Returns
- (::String) — Required. The phrase to be matched.
#query=
def query=(value) -> ::String
Parameter
- value (::String) — Required. The phrase to be matched.
Returns
- (::String) — Required. The phrase to be matched.