1.1.0 (latest) 1.0.0

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

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class BargeInConfig.

Configuration for how the user barge-in activities should be handled.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[BargeInConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.BargeInConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[BargeInConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.BargeInConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[BargeInConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.BargeInConfig.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.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

Google.Cloud.Ces.V1.dll

## Constructors

### BargeInConfig()

    public BargeInConfig()

### BargeInConfig(BargeInConfig)

    public BargeInConfig(BargeInConfig other)

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

## Properties

### BargeInAwareness

    public bool BargeInAwareness { get; set; }

Optional. If enabled, the agent will adapt its next response based on the
assumption that the user hasn't heard the full preceding agent message.
This should not be used in scenarios where agent responses are displayed
visually.

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

### DisableBargeIn

    [Obsolete]
    public bool DisableBargeIn { get; set; }

Optional. Deprecated: `disable_barge_in` is deprecated in favor of
\[`disable_barge_in_control`\]\[google.cloud.ces.v1.ChannelProfile.disable_barge_in_control\]
in ChannelProfile.

Disables user barge-in while the agent is speaking. If true, user input
during agent response playback will be ignored.

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