GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryParameters (google_api_dialogflow v0.66.2) View Source

Represents the parameters of the conversational query.


  • contexts (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Context.t), default: nil) - The collection of contexts to be activated before this query is executed.
  • geoLocation (type: GoogleApi.Dialogflow.V2.Model.GoogleTypeLatLng.t, default: nil) - The geo location of this conversational query.
  • payload (type: map(), default: nil) - This field can be used to pass custom data to your webhook. Arbitrary JSON objects are supported. If supplied, the value is used to populate the WebhookRequest.original_detect_intent_request.payload field sent to your webhook.
  • resetContexts (type: boolean(), default: nil) - Specifies whether to delete all contexts in the current session before the new ones are activated.
  • sentimentAnalysisRequestConfig (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SentimentAnalysisRequestConfig.t, default: nil) - Configures the type of sentiment analysis to perform. If not provided, sentiment analysis is not performed.
  • sessionEntityTypes (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SessionEntityType.t), default: nil) - 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.
  • timeZone (type: String.t, default: nil) - 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.
  • webhookHeaders (type: map(), default: nil) - This field can be used to pass HTTP headers for a webhook call. These headers will be sent to webhook along with the headers that have been configured through the Dialogflow web console. The headers defined within this field will overwrite the headers configured through the Dialogflow console if there is a conflict. Header names are case-insensitive. Google's specified headers are not allowed. Including: "Host", "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryParameters{
    [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Context.t()] | nil,
  geoLocation: GoogleApi.Dialogflow.V2.Model.GoogleTypeLatLng.t() | nil,
  payload: map() | nil,
  resetContexts: boolean() | nil,
    | nil,
    | nil,
  timeZone: String.t() | nil,
  webhookHeaders: map() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.