Google Cloud Contact Center Insights V1 Client - Class CreatePhraseMatcherRequest (1.8.0)

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

Request to create a phrase matcher.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

↳ phrase_matcher Google\Cloud\ContactCenterInsights\V1\PhraseMatcher

Required. The phrase matcher resource to create.

getParent

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

Returns
TypeDescription
string

setParent

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID>

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPhraseMatcher

Required. The phrase matcher resource to create.

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

hasPhraseMatcher

clearPhraseMatcher

setPhraseMatcher

Required. The phrase matcher resource to create.

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

static::build

Parameters
NameDescription
parent string

Required. The parent resource of the phrase matcher. Required. The location to create a phrase matcher for. Format: projects/<Project ID>/locations/<Location ID> or projects/<Project Number>/locations/<Location ID> Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

phraseMatcher Google\Cloud\ContactCenterInsights\V1\PhraseMatcher

Required. The phrase matcher resource to create.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\CreatePhraseMatcherRequest