Google Cloud Contact Center Insights V1 Client - Class QualityMetadata (2.0.1)

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

Conversation metadata related to quality management.

Generated from protobuf message google.cloud.contactcenterinsights.v1.Conversation.QualityMetadata

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ Conversation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ customer_satisfaction_rating int

An arbitrary integer value indicating the customer's satisfaction rating.

↳ wait_duration Google\Protobuf\Duration

The amount of time the customer waited to connect with an agent.

↳ menu_path string

An arbitrary string value specifying the menu path the customer took.

↳ agent_info array<Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo>

Information about agents involved in the call.

getCustomerSatisfactionRating

An arbitrary integer value indicating the customer's satisfaction rating.

Returns
Type Description
int

setCustomerSatisfactionRating

An arbitrary integer value indicating the customer's satisfaction rating.

Parameter
Name Description
var int
Returns
Type Description
$this

getWaitDuration

The amount of time the customer waited to connect with an agent.

Returns
Type Description
Google\Protobuf\Duration|null

hasWaitDuration

clearWaitDuration

setWaitDuration

The amount of time the customer waited to connect with an agent.

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

getMenuPath

An arbitrary string value specifying the menu path the customer took.

Returns
Type Description
string

setMenuPath

An arbitrary string value specifying the menu path the customer took.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgentInfo

Information about agents involved in the call.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAgentInfo

Information about agents involved in the call.

Parameter
Name Description
var array<Google\Cloud\ContactCenterInsights\V1\Conversation\QualityMetadata\AgentInfo>
Returns
Type Description
$this