View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1DialogflowAssistAnswer (google_api_dialogflow v0.88.0)

Represents a Dialogflow assist answer.

Attributes

  • answerRecord (type: String.t, default: nil) - The name of answer record, in the format of "projects//locations//answerRecords/"
  • intentSuggestion (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentSuggestion.t, default: nil) - An intent suggestion generated from conversation.
  • queryResult (type: GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1QueryResult.t, default: nil) - Result from v2 agent.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1DialogflowAssistAnswer{
    answerRecord: String.t() | nil,
    intentSuggestion:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1IntentSuggestion.t()
      | nil,
    queryResult:
      GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowV2beta1QueryResult.t()
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.