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

Optional. The collection of phrase hints which are used to boost accuracy of speech recognition. Refer to Cloud Speech API documentation for more details.

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.

Required. Sample rate (in Hertz) of the audio content sent in the query. Refer to Cloud Speech API documentation for more details.

Required. Audio encoding of the audio content to process.

Trait Implementations

impl Default for GoogleCloudDialogflowV2InputAudioConfig
[src]

Returns the "default value" for a type. Read more

impl Clone for GoogleCloudDialogflowV2InputAudioConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2InputAudioConfig
[src]

Formats the value using the given formatter. Read more

impl Part for GoogleCloudDialogflowV2InputAudioConfig
[src]

Auto Trait Implementations