Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class ConversationLevelSentiment.
One channel of conversation-level sentiment data.
Generated from protobuf message google.cloud.contactcenterinsights.v1.ConversationLevelSentiment
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ channel_tag |
int
The channel of the audio that the data applies to. |
↳ sentiment_data |
Google\Cloud\ContactCenterInsights\V1\SentimentData
Data specifying sentiment. |
getChannelTag
The channel of the audio that the data applies to.
Returns | |
---|---|
Type | Description |
int |
setChannelTag
The channel of the audio that the data applies to.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getSentimentData
Data specifying sentiment.
Returns | |
---|---|
Type | Description |
Google\Cloud\ContactCenterInsights\V1\SentimentData|null |
hasSentimentData
clearSentimentData
setSentimentData
Data specifying sentiment.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\ContactCenterInsights\V1\SentimentData
|
Returns | |
---|---|
Type | Description |
$this |