[][src]Struct google_dialogflow2::GoogleCloudDialogflowV2DetectIntentRequest

pub struct GoogleCloudDialogflowV2DetectIntentRequest {
    pub input_audio: Option<String>,
    pub output_audio_config: Option<GoogleCloudDialogflowV2OutputAudioConfig>,
    pub query_input: Option<GoogleCloudDialogflowV2QueryInput>,
    pub query_params: Option<GoogleCloudDialogflowV2QueryParameters>,
}

The request to detect user's intent.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

input_audio: Option<String>

Optional. The natural language speech audio to be processed. This field should be populated iff query_input is set to an input audio config. A single request can contain up to 1 minute of speech audio data.

output_audio_config: Option<GoogleCloudDialogflowV2OutputAudioConfig>

Optional. Instructs the speech synthesizer how to generate the output audio. If this field is not set and agent-level speech synthesizer is not configured, no output audio is generated.

query_input: Option<GoogleCloudDialogflowV2QueryInput>

Required. The input specification. It can be set to:

  1. an audio config which instructs the speech recognizer how to process the speech audio,

  2. a conversational query in the form of text, or

  3. an event that specifies which intent to trigger.

query_params: Option<GoogleCloudDialogflowV2QueryParameters>

Optional. The parameters of this query.

Trait Implementations

impl RequestValue for GoogleCloudDialogflowV2DetectIntentRequest[src]

impl Default for GoogleCloudDialogflowV2DetectIntentRequest[src]

impl Clone for GoogleCloudDialogflowV2DetectIntentRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2DetectIntentRequest[src]

impl Serialize for GoogleCloudDialogflowV2DetectIntentRequest[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2DetectIntentRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]