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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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: |
↳ phrase_matcher |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPhraseMatcher
Required. The phrase matcher resource to create.
| Returns | |
|---|---|
| Type | Description |
PhraseMatcher|null |
|
hasPhraseMatcher
clearPhraseMatcher
setPhraseMatcher
Required. The phrase matcher resource to create.
| Parameter | |
|---|---|
| Name | Description |
var |
PhraseMatcher
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameters | |
|---|---|
| Name | Description |
parent |
string
Required. The parent resource of the phrase matcher. Required. The location
to create a phrase matcher for. Format: |
phraseMatcher |
PhraseMatcher
Required. The phrase matcher resource to create. |
| Returns | |
|---|---|
| Type | Description |
CreatePhraseMatcherRequest |
|