Google Cloud Contact Center Insights V1 Client - Class ConversationLevelSentiment (1.0.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setChannelTag

The channel of the audio that the data applies to.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getSentimentData

Data specifying sentiment.

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

hasSentimentData

clearSentimentData

setSentimentData

Data specifying sentiment.

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