Struct google_dialogflow2::api::GoogleCloudDialogflowV2DetectIntentRequest [−][src]
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>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>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.
output_audio_config_mask: Option<String>Mask for output_audio_config indicating which settings in this request-level config should override speech synthesizer settings defined at agent-level. If unspecified or empty, output_audio_config replaces the agent-level config in its entirety.
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>The parameters of this query.
Trait Implementations
impl Clone for GoogleCloudDialogflowV2DetectIntentRequest[src]
fn clone(&self) -> GoogleCloudDialogflowV2DetectIntentRequest[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl Default for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2DetectIntentRequest[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl Serialize for GoogleCloudDialogflowV2DetectIntentRequest[src]
Auto Trait Implementations
impl RefUnwindSafe for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl Send for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl Sync for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl Unpin for GoogleCloudDialogflowV2DetectIntentRequest[src]
impl UnwindSafe for GoogleCloudDialogflowV2DetectIntentRequest[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[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.
pub fn to_owned(&self) -> T[src]
pub 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 = Infallible
The type returned in the event of a conversion error.
pub 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>,