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

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
Name Description
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
Type Description
int

setType

Required. The type of this phrase match rule group.

Parameter
Name Description
var int
Returns
Type Description
$this

getPhraseMatchRules

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setPhraseMatchRules

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

Parameter
Name Description
var array<Google\Cloud\ContactCenterInsights\V1\PhraseMatchRule>
Returns
Type Description
$this