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
Namespace
Google \ Cloud \ ContactCenterInsights \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
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 |
↳ 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 | |
|---|---|
| Type | Description |
string |
|
hasDialogflowParticipantName
setDialogflowParticipantName
The name of the participant provided by Dialogflow. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getUserId
A user-specified ID representing the participant.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUserId
setUserId
A user-specified ID representing the participant.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDialogflowParticipant
Deprecated. Use dialogflow_participant_name instead.
The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
| Returns | |
|---|---|
| Type | Description |
string |
|
setDialogflowParticipant
Deprecated. Use dialogflow_participant_name instead.
The name of the Dialogflow participant. Format: projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getObfuscatedExternalUserId
Obfuscated user ID from Dialogflow.
| Returns | |
|---|---|
| Type | Description |
string |
|
setObfuscatedExternalUserId
Obfuscated user ID from Dialogflow.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRole
The role of the participant.
| Returns | |
|---|---|
| Type | Description |
int |
|
setRole
The role of the participant.
| Parameter | |
|---|---|
| Name | Description |
var |
int
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getParticipant
| Returns | |
|---|---|
| Type | Description |
string |
|