google_api_dialogflow v0.38.0 GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryParameters View Source

Represents the parameters of the conversational query.

Attributes

  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2QueryParameters{
  contexts: [GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2Context.t()],
  geoLocation: GoogleApi.Dialogflow.V2.Model.GoogleTypeLatLng.t(),
  payload: map(),
  resetContexts: boolean(),
  sentimentAnalysisRequestConfig:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SentimentAnalysisRequestConfig.t(),
  sessionEntityTypes: [
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SessionEntityType.t()
  ],
  timeZone: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.