Struct google_dialogflow2_beta1::QueryParameters
[−]
[src]
pub struct QueryParameters { pub geo_location: Option<LatLng>, pub contexts: Option<Vec<Context>>, pub time_zone: Option<String>, pub reset_contexts: Option<bool>, pub payload: Option<HashMap<String, String>>, pub session_entity_types: Option<Vec<SessionEntityType>>, }
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<LatLng>
Optional. The geo location of this conversational query.
contexts: Option<Vec<Context>>
Optional. The collection of contexts to be activated before this query is executed.
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<SessionEntityType>>
Optional. The collection of session entity types to replace or extend developer entities with for this query only. The entity synonyms apply to all languages.
Trait Implementations
impl Default for QueryParameters
[src]
fn default() -> QueryParameters
[src]
Returns the "default value" for a type. Read more
impl Clone for QueryParameters
[src]
fn clone(&self) -> QueryParameters
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more