Google Cloud Contact Center Insights V1 Client - Class UpdatePhraseMatcherRequest (1.5.0)

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

The request to update a phrase matcher.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ phrase_matcher Google\Cloud\ContactCenterInsights\V1\PhraseMatcher

Required. The new values for the phrase matcher.

↳ update_mask Google\Protobuf\FieldMask

The list of fields to be updated.

getPhraseMatcher

Required. The new values for the phrase matcher.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\PhraseMatcher|null

hasPhraseMatcher

clearPhraseMatcher

setPhraseMatcher

Required. The new values for the phrase matcher.

Parameter
NameDescription
var Google\Cloud\ContactCenterInsights\V1\PhraseMatcher
Returns
TypeDescription
$this

getUpdateMask

The list of fields to be updated.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

The list of fields to be updated.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
phraseMatcher Google\Cloud\ContactCenterInsights\V1\PhraseMatcher

Required. The new values for the phrase matcher.

updateMask Google\Protobuf\FieldMask

The list of fields to be updated.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\UpdatePhraseMatcherRequest