Google Cloud Contact Center Insights V1 Client - Class ConversationConfig (1.7.1)

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

Configuration that applies to all conversations.

Generated from protobuf message google.cloud.contactcenterinsights.v1.IngestConversationsRequest.ConversationConfig

Namespace

Google \ Cloud \ ContactCenterInsights \ V1 \ IngestConversationsRequest

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ agent_id string

An opaque, user-specified string representing the human agent who handled the conversations.

↳ agent_channel int

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

↳ customer_channel int

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

getAgentId

An opaque, user-specified string representing the human agent who handled the conversations.

Returns
Type Description
string

setAgentId

An opaque, user-specified string representing the human agent who handled the conversations.

Parameter
Name Description
var string
Returns
Type Description
$this

getAgentChannel

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

Returns
Type Description
int

setAgentChannel

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the agent. Note that this must be set for audio conversations to be properly displayed and analyzed.

Parameter
Name Description
var int
Returns
Type Description
$this

getCustomerChannel

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

Returns
Type Description
int

setCustomerChannel

Optional. For audio conversations, this field indicates which of the channels, 1 or 2, contains the customer. Note that this must be set for audio conversations to be properly displayed and analyzed.

Parameter
Name Description
var int
Returns
Type Description
$this