Google Cloud Contact Center Insights V1 Client - Class ConversationParticipant (1.3.0)

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

The call participant speaking for a given utterance.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ dialogflow_participant_name string

The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

↳ user_id string

A user-specified ID representing the participant.

↳ dialogflow_participant string

Deprecated. Use dialogflow_participant_name instead. The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

↳ obfuscated_external_user_id string

Obfuscated user ID from Dialogflow.

↳ role int

The role of the participant.

getDialogflowParticipantName

The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

Returns
TypeDescription
string

hasDialogflowParticipantName

setDialogflowParticipantName

The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUserId

A user-specified ID representing the participant.

Returns
TypeDescription
string

hasUserId

setUserId

A user-specified ID representing the participant.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDialogflowParticipant

Deprecated. Use dialogflow_participant_name instead.

The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

Returns
TypeDescription
string

setDialogflowParticipant

Deprecated. Use dialogflow_participant_name instead.

The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getObfuscatedExternalUserId

Obfuscated user ID from Dialogflow.

Returns
TypeDescription
string

setObfuscatedExternalUserId

Obfuscated user ID from Dialogflow.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRole

The role of the participant.

Returns
TypeDescription
int

setRole

The role of the participant.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getParticipant

Returns
TypeDescription
string