Google Cloud Contact Center Insights V1 Client - Class ConversationLevelSilence (2.2.1)

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

Conversation-level silence data.

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

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ silence_duration Google\Protobuf\Duration

Amount of time calculated to be in silence.

↳ silence_percentage float

Percentage of the total conversation spent in silence.

getSilenceDuration

Amount of time calculated to be in silence.

Returns
Type Description
Google\Protobuf\Duration|null

hasSilenceDuration

clearSilenceDuration

setSilenceDuration

Amount of time calculated to be in silence.

Parameter
Name Description
var Google\Protobuf\Duration
Returns
Type Description
$this

getSilencePercentage

Percentage of the total conversation spent in silence.

Returns
Type Description
float

setSilencePercentage

Percentage of the total conversation spent in silence.

Parameter
Name Description
var float
Returns
Type Description
$this