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

Represents a result from running a test case in an agent environment.

Attributes

  • conversationTurns (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurn.t), default: nil) - The conversation turns uttered during the test case replay in chronological order.
  • environment (type: String.t, default: nil) - Environment where the test was run. If not set, it indicates the draft environment.
  • name (type: String.t, default: nil) - The resource name for the test case result. Format: projects//locations//agents//testCases//results/.
  • testResult (type: String.t, default: nil) - Whether the test case passed in the agent environment.
  • testTime (type: DateTime.t, default: nil) - The time that the test was run.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1TestCaseResult{
    conversationTurns:
      [
        GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3beta1ConversationTurn.t()
      ]
      | nil,
    environment: String.t() | nil,
    name: String.t() | nil,
    testResult: String.t() | nil,
    testTime: DateTime.t() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.