Struct google_dialogflow2::GoogleCloudDialogflowV2QueryParameters [−][src]
pub struct GoogleCloudDialogflowV2QueryParameters {
pub geo_location: Option<GoogleTypeLatLng>,
pub contexts: Option<Vec<GoogleCloudDialogflowV2Context>>,
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.
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 Default for GoogleCloudDialogflowV2QueryParameters[src]
impl Default for GoogleCloudDialogflowV2QueryParametersfn default() -> GoogleCloudDialogflowV2QueryParameters[src]
fn default() -> GoogleCloudDialogflowV2QueryParametersReturns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2QueryParameters[src]
impl Clone for GoogleCloudDialogflowV2QueryParametersfn clone(&self) -> GoogleCloudDialogflowV2QueryParameters[src]
fn clone(&self) -> GoogleCloudDialogflowV2QueryParametersReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for GoogleCloudDialogflowV2QueryParameters[src]
impl Debug for GoogleCloudDialogflowV2QueryParametersfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2QueryParameters[src]
impl Part for GoogleCloudDialogflowV2QueryParameters