Struct google_dialogflow2::GoogleCloudDialogflowV2DetectIntentRequest[][src]

pub struct GoogleCloudDialogflowV2DetectIntentRequest {
    pub input_audio: Option<String>,
    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

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.

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.

Optional. The parameters of this query.

Trait Implementations

impl Default for GoogleCloudDialogflowV2DetectIntentRequest
[src]

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

impl Clone for GoogleCloudDialogflowV2DetectIntentRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2DetectIntentRequest
[src]

Formats the value using the given formatter. Read more

impl RequestValue for GoogleCloudDialogflowV2DetectIntentRequest
[src]

Auto Trait Implementations