[][src]Struct google_dialogflow2::GoogleCloudDialogflowV2QueryParameters

pub struct GoogleCloudDialogflowV2QueryParameters {
    pub geo_location: Option<GoogleTypeLatLng>,
    pub contexts: Option<Vec<GoogleCloudDialogflowV2Context>>,
    pub sentiment_analysis_request_config: Option<GoogleCloudDialogflowV2SentimentAnalysisRequestConfig>,
    pub time_zone: Option<String>,
    pub reset_contexts: Option<bool>,
    pub payload: Option<HashMap<String, String>>,
    pub session_entity_types: Option<Vec<GoogleCloudDialogflowV2SessionEntityType>>,
}

Represents the parameters of the conversational query.

This type is not used in any activity, and only used as part of another schema.

Fields

geo_location: Option<GoogleTypeLatLng>

Optional. The geo location of this conversational query.

contexts: Option<Vec<GoogleCloudDialogflowV2Context>>

Optional. The collection of contexts to be activated before this query is executed.

sentiment_analysis_request_config: Option<GoogleCloudDialogflowV2SentimentAnalysisRequestConfig>

Optional. Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.

time_zone: Option<String>

Optional. The time zone of this conversational query from the time zone database, e.g., America/New_York, Europe/Paris. If not provided, the time zone specified in agent settings is used.

reset_contexts: Option<bool>

Optional. Specifies whether to delete all contexts in the current session before the new ones are activated.

payload: Option<HashMap<String, String>>

Optional. This field can be used to pass custom data into the webhook associated with the agent. Arbitrary JSON objects are supported.

session_entity_types: Option<Vec<GoogleCloudDialogflowV2SessionEntityType>>

Optional. Additional session entity types to replace or extend developer entity types with. The entity synonyms apply to all languages and persist for the session of this query.

Trait Implementations

impl Part for GoogleCloudDialogflowV2QueryParameters[src]

impl Clone for GoogleCloudDialogflowV2QueryParameters[src]

impl Default for GoogleCloudDialogflowV2QueryParameters[src]

impl Debug for GoogleCloudDialogflowV2QueryParameters[src]

impl Serialize for GoogleCloudDialogflowV2QueryParameters[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = !

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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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

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