# Google Cloud Text-to-Speech v1beta1 API - Class MultiSpeakerVoiceConfig (2.0.0-beta18)

2.0.0-beta18 (latest) 2.0.0-beta17 1.0.0-beta04

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

Reference documentation and code samples for the Google Cloud Text-to-Speech v1beta1 API class MultiSpeakerVoiceConfig.

Configuration for a multi-speaker text-to-speech setup. Enables the use of up
to two distinct voices in a single synthesis request.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[MultiSpeakerVoiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.MultiSpeakerVoiceConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[MultiSpeakerVoiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.MultiSpeakerVoiceConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[MultiSpeakerVoiceConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.MultiSpeakerVoiceConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.TextToSpeech.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1)

## Assembly

Google.Cloud.TextToSpeech.V1Beta1.dll

## Constructors

### MultiSpeakerVoiceConfig()

    public MultiSpeakerVoiceConfig()

### MultiSpeakerVoiceConfig(MultiSpeakerVoiceConfig)

    public MultiSpeakerVoiceConfig(MultiSpeakerVoiceConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.MultiSpeakerVoiceConfig` |

## Properties

### SpeakerVoiceConfigs

    public RepeatedField<MultispeakerPrebuiltVoice> SpeakerVoiceConfigs { get; }

Required. A list of configurations for the voices of the speakers. Exactly
two speaker voice configurations must be provided.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.TextToSpeech.V1Beta1/latest/Google.Cloud.TextToSpeech.V1Beta1.MultispeakerPrebuiltVoice` |   |