View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1DialogflowAssistAnswer (google_api_dialogflow v0.88.3)

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.V2.Model.GoogleCloudDialogflowV2beta1IntentSuggestion.t, default: nil) - An intent suggestion generated from conversation.
  • queryResult (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowV2beta1QueryResult.t, default: nil) - Result from v2 agent.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

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

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.