Class GoogleCloudDialogflowV2beta1TextToSpeechSettings
Instructs the speech synthesizer on how to generate the output audio content.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2beta1TextToSpeechSettings : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EnableTextToSpeech
Optional. Indicates whether text to speech is enabled. Even when this field is false, other settings in this proto are still retained.
Declaration
[JsonProperty("enableTextToSpeech")]
public virtual bool? EnableTextToSpeech { get; set; }
Property Value
Type | Description |
---|---|
bool? |
OutputAudioEncoding
Required. Audio encoding of the synthesized audio content.
Declaration
[JsonProperty("outputAudioEncoding")]
public virtual string OutputAudioEncoding { get; set; }
Property Value
Type | Description |
---|---|
string |
SampleRateHertz
Optional. The synthesis sample rate (in hertz) for this audio. If not provided, then the synthesizer will use the default sample rate based on the audio encoding. If this is different from the voice's natural sample rate, then the synthesizer will honor this request by converting to the desired sample rate (which might result in worse audio quality).
Declaration
[JsonProperty("sampleRateHertz")]
public virtual int? SampleRateHertz { get; set; }
Property Value
Type | Description |
---|---|
int? |
SynthesizeSpeechConfigs
Optional. Configuration of how speech should be synthesized, mapping from language (https://cloud.google.com/dialogflow/docs/reference/language) to SynthesizeSpeechConfig.
Declaration
[JsonProperty("synthesizeSpeechConfigs")]
public virtual IDictionary<string, GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig> SynthesizeSpeechConfigs { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig> |