Google Cloud Text-to-Speech v1 API - Class MultiSpeakerVoiceConfig (3.15.0)

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

Reference documentation and code samples for the Google Cloud Text-to-Speech v1 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 > MultiSpeakerVoiceConfig

Namespace

Google.Cloud.TextToSpeech.V1

Assembly

Google.Cloud.TextToSpeech.V1.dll

Constructors

MultiSpeakerVoiceConfig()

public MultiSpeakerVoiceConfig()

MultiSpeakerVoiceConfig(MultiSpeakerVoiceConfig)

public MultiSpeakerVoiceConfig(MultiSpeakerVoiceConfig other)
Parameter
Name Description
other 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
RepeatedFieldMultispeakerPrebuiltVoice