Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class Intent.
The data for an intent.
Represents a detected intent in the conversation, for example MAKES_PROMISE.
Generated from protobuf message google.cloud.contactcenterinsights.v1.Intent
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
The unique identifier of the intent. |
↳ display_name |
string
The human-readable name of the intent. |
getId
The unique identifier of the intent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setId
The unique identifier of the intent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDisplayName
The human-readable name of the intent.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
The human-readable name of the intent.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|