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

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.GoogleCloudDialogflowV2SuggestArticlesResponse.t, default: nil) - SuggestArticlesResponse if request is for ARTICLE_SUGGESTION.
  • suggestFaqAnswersResponse (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestFaqAnswersResponse.t, default: nil) - SuggestFaqAnswersResponse if request is for FAQ_ANSWER.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestionResult{
  error: GoogleApi.Dialogflow.V2.Model.GoogleRpcStatus.t() | nil,
  suggestArticlesResponse:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestArticlesResponse.t()
    | nil,
  suggestFaqAnswersResponse:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2SuggestFaqAnswersResponse.t()
    | nil
}

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.