[][src]Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1QueryParameters

pub struct GoogleCloudDialogflowV2beta1QueryParameters {
    pub geo_location: Option<GoogleTypeLatLng>,
    pub contexts: Option<Vec<GoogleCloudDialogflowV2beta1Context>>,
    pub knowledge_base_names: Option<Vec<String>>,
    pub sentiment_analysis_request_config: Option<GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig>,
    pub reset_contexts: Option<bool>,
    pub time_zone: Option<String>,
    pub payload: Option<HashMap<String, String>>,
    pub session_entity_types: Option<Vec<GoogleCloudDialogflowV2beta1SessionEntityType>>,
}

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<GoogleCloudDialogflowV2beta1Context>>

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

knowledge_base_names: Option<Vec<String>>

Optional. KnowledgeBases to get alternative results from. If not set, the KnowledgeBases enabled in the agent (through UI) will be used. Format: projects/<Project ID>/knowledgeBases/<Knowledge Base ID>.

sentiment_analysis_request_config: Option<GoogleCloudDialogflowV2beta1SentimentAnalysisRequestConfig>

Optional. Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed. Note: Sentiment Analysis is only currently available for Enterprise Edition agents.

reset_contexts: Option<bool>

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

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.

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<GoogleCloudDialogflowV2beta1SessionEntityType>>

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 GoogleCloudDialogflowV2beta1QueryParameters[src]

impl Default for GoogleCloudDialogflowV2beta1QueryParameters[src]

impl Clone for GoogleCloudDialogflowV2beta1QueryParameters[src]

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

Performs copy-assignment from source. Read more

impl Debug for GoogleCloudDialogflowV2beta1QueryParameters[src]

impl Serialize for GoogleCloudDialogflowV2beta1QueryParameters[src]

impl<'de> Deserialize<'de> for GoogleCloudDialogflowV2beta1QueryParameters[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]