Struct google_dialogflow2_beta1::GoogleCloudDialogflowV2beta1QueryParameters [−][src]
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 Default for GoogleCloudDialogflowV2beta1QueryParameters
[src]
impl Default for GoogleCloudDialogflowV2beta1QueryParameters
fn default() -> GoogleCloudDialogflowV2beta1QueryParameters
[src]
fn default() -> GoogleCloudDialogflowV2beta1QueryParameters
Returns the "default value" for a type. Read more
impl Clone for GoogleCloudDialogflowV2beta1QueryParameters
[src]
impl Clone for GoogleCloudDialogflowV2beta1QueryParameters
fn clone(&self) -> GoogleCloudDialogflowV2beta1QueryParameters
[src]
fn clone(&self) -> GoogleCloudDialogflowV2beta1QueryParameters
Returns 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 GoogleCloudDialogflowV2beta1QueryParameters
[src]
impl Debug for GoogleCloudDialogflowV2beta1QueryParameters
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for GoogleCloudDialogflowV2beta1QueryParameters
[src]
impl Part for GoogleCloudDialogflowV2beta1QueryParameters