2.21.0 (latest) 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.1 2.1.0 2.0.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class ConversationParticipant : IMessage<ConversationParticipant>, IEquatable<ConversationParticipant>, IDeepCloneable<ConversationParticipant>, IBufferMessage, IMessage

Reference documentation and code samples for the Contact Center AI Insights v1 API class ConversationParticipant.

The call participant speaking for a given utterance.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> ConversationParticipant

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[ConversationParticipant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ConversationParticipant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[ConversationParticipant](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ContactCenterInsights.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.md.txt)

## Assembly

Google.Cloud.ContactCenterInsights.V1.dll

## Constructors

### ConversationParticipant()

    public ConversationParticipant()

### ConversationParticipant(ConversationParticipant)

    public ConversationParticipant(ConversationParticipant other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `ConversationParticipant` |

## Properties

### DialogflowParticipant

    [Obsolete]
    public string DialogflowParticipant { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DialogflowParticipantName

    public string DialogflowParticipantName { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### DialogflowParticipantNameAsParticipantName

    public ParticipantName DialogflowParticipantNameAsParticipantName { get; set; }

[ParticipantName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.ParticipantName.md.txt)-typed view over the [DialogflowParticipantName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ContactCenterInsights.V1/latest/Google.Cloud.ContactCenterInsights.V1.ConversationParticipant.md.txt#Google_Cloud_ContactCenterInsights_V1_ConversationParticipant_DialogflowParticipantName) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ParticipantName` |   |

### HasDialogflowParticipantName

    public bool HasDialogflowParticipantName { get; }

Gets whether the "dialogflow_participant_name" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### HasUserId

    public bool HasUserId { get; }

Gets whether the "user_id" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### ObfuscatedExternalUserId

    public string ObfuscatedExternalUserId { get; set; }

Obfuscated user ID from Dialogflow.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### ParticipantCase

    public ConversationParticipant.ParticipantOneofCase ParticipantCase { get; }

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConversationParticipantParticipantOneofCase` |   |

### Role

    public ConversationParticipant.Types.Role Role { get; set; }

The role of the participant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ConversationParticipantTypesRole` |   |

### UserId

    public string UserId { get; set; }

A user-specified ID representing the participant.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |