[−][src]Struct google_dialogflow2::GoogleCloudDialogflowV2DetectIntentRequest
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).
- agent sessions detect intent projects (request)
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:
-
an audio config which instructs the speech recognizer how to process the speech audio,
-
a conversational query in the form of text, or
-
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 Clone for GoogleCloudDialogflowV2DetectIntentRequest
[src]
fn clone(&self) -> GoogleCloudDialogflowV2DetectIntentRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for GoogleCloudDialogflowV2DetectIntentRequest
[src]
impl Debug for GoogleCloudDialogflowV2DetectIntentRequest
[src]
impl Serialize for GoogleCloudDialogflowV2DetectIntentRequest
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2DetectIntentRequest
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Send for GoogleCloudDialogflowV2DetectIntentRequest
impl Sync for GoogleCloudDialogflowV2DetectIntentRequest
impl Unpin for GoogleCloudDialogflowV2DetectIntentRequest
impl UnwindSafe for GoogleCloudDialogflowV2DetectIntentRequest
impl RefUnwindSafe for GoogleCloudDialogflowV2DetectIntentRequest
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,