Struct google_dialogflow2::GoogleCloudDialogflowV2InputAudioConfig [−][src]
pub struct GoogleCloudDialogflowV2InputAudioConfig { pub phrase_hints: Option<Vec<String>>, pub language_code: Option<String>, pub sample_rate_hertz: Option<i32>, pub audio_encoding: Option<String>, }
Instructs the speech recognizer how to process the audio content.
This type is not used in any activity, and only used as part of another schema.
Fields
phrase_hints: Option<Vec<String>>
Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to Cloud Speech API documentation for more details.
language_code: Option<String>
Required. The language of the supplied audio. Dialogflow does not do translations. See Language Support for a list of the currently supported language codes. Note that queries in the same session do not necessarily need to specify the same language.
sample_rate_hertz: Option<i32>
Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to Cloud Speech API documentation for more details.
audio_encoding: Option<String>
Required. Audio encoding of the audio content to process.
Trait Implementations
impl Default for GoogleCloudDialogflowV2InputAudioConfig
[src]
impl Default for GoogleCloudDialogflowV2InputAudioConfig
fn default() -> GoogleCloudDialogflowV2InputAudioConfig
[src]
fn default() -> GoogleCloudDialogflowV2InputAudioConfig
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2InputAudioConfig
[src]
impl Clone for GoogleCloudDialogflowV2InputAudioConfig
fn clone(&self) -> GoogleCloudDialogflowV2InputAudioConfig
[src]
fn clone(&self) -> GoogleCloudDialogflowV2InputAudioConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for GoogleCloudDialogflowV2InputAudioConfig
[src]
impl Debug for GoogleCloudDialogflowV2InputAudioConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2InputAudioConfig
[src]
impl Part for GoogleCloudDialogflowV2InputAudioConfig