1.0.0-beta87 (latest) 1.0.0-beta86

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

Reference documentation and code samples for the Vertex AI v1beta1 API class SpeakerVoiceConfig.

Configuration for a single speaker in a multi-speaker setup.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### SpeakerVoiceConfig()

    public SpeakerVoiceConfig()

### SpeakerVoiceConfig(SpeakerVoiceConfig)

    public SpeakerVoiceConfig(SpeakerVoiceConfig other)

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

## Properties

### Speaker

    public string Speaker { get; set; }

Required. The name of the speaker. This should be the same as the speaker
name used in the prompt.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### VoiceConfig

    public VoiceConfig VoiceConfig { get; set; }

Required. The configuration for the voice of this speaker.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.VoiceConfig` |   |