Google Cloud Contact Center Insights V1 Client - Class PhraseMatchRuleGroup (1.7.1)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class PhraseMatchRuleGroup.

A message representing a rule in the phrase matcher.

Generated from protobuf message google.cloud.contactcenterinsights.v1.PhraseMatchRuleGroup

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ type int

Required. The type of this phrase match rule group.

↳ phrase_match_rules array<Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule>

A list of phrase match rules that are included in this group.

getType

Required. The type of this phrase match rule group.

Returns
TypeDescription
int

setType

Required. The type of this phrase match rule group.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPhraseMatchRules

A list of phrase match rules that are included in this group.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setPhraseMatchRules

A list of phrase match rules that are included in this group.

Parameter
NameDescription
var array<Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule>
Returns
TypeDescription
$this