View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestionResult (google_api_dialogflow v0.74.0)

One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.

Attributes

  • error (type: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t, default: nil) - Error status if the request failed.
  • suggestArticlesResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestArticlesResponse.t, default: nil) - SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
  • suggestFaqAnswersResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestFaqAnswersResponse.t, default: nil) - SuggestFaqAnswersResponse if request is for FAQ_ANSWER.
  • suggestSmartRepliesResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1SuggestSmartRepliesResponse.t, default: nil) - SuggestSmartRepliesResponse if request is for SMART_REPLY.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.