Contact Center AI Insights V1 API - Class Google::Cloud::ContactCenterInsights::V1::PhraseMatchRule (v1.0.1)

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

#config=

def config=(value) -> ::Google::Cloud::ContactCenterInsights::V1::PhraseMatchRuleConfig
Parameter
Returns

#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.