Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class PhraseMatchRule.
The data for a phrase match rule.
Generated from protobuf message google.cloud.contactcenterinsights.v1.PhraseMatchRule
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ query
string
Required. The phrase to be matched.
↳ negated
bool
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
↳ config
Google\Cloud\ContactCenterInsights\V1\PhraseMatchRuleConfig
Provides additional information about the rule that specifies how to apply the rule.
getQuery
Required. The phrase to be matched.
string
setQuery
Required. The phrase to be matched.
var
string
$this
getNegated
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
bool
setNegated
Specifies whether the phrase must be missing from the transcript segment or present in the transcript segment.
var
bool
$this
getConfig
Provides additional information about the rule that specifies how to apply the rule.
hasConfig
clearConfig
setConfig
Provides additional information about the rule that specifies how to apply the rule.
$this