Class GoogleCloudDialogflowV2beta1OutputAudioConfig
Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v2beta1.Data
Assembly: Google.Apis.Dialogflow.v2beta1.dll
Syntax
public class GoogleCloudDialogflowV2beta1OutputAudioConfig : IDirectResponseSchema
Properties
AudioEncoding
Required. Audio encoding of the synthesized audio content.
Declaration
[JsonProperty("audioEncoding")]
public virtual string AudioEncoding { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
SampleRateHertz
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? |
SynthesizeSpeechConfig
Configuration of how speech should be synthesized.
Declaration
[JsonProperty("synthesizeSpeechConfig")]
public virtual GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig SynthesizeSpeechConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowV2beta1SynthesizeSpeechConfig |