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

One interaction between a human and virtual agent. The human provides some input and the virtual agent provides a response.

Attributes

  • userInput (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput.t, default: nil) - The user input.
  • virtualAgentOutput (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput.t, default: nil) - The virtual agent output.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurn{
    userInput:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurnUserInput.t()
      | nil,
    virtualAgentOutput:
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurnVirtualAgentOutput.t()
      | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.