View Source GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestCase (google_api_dialogflow v0.78.0)

Represents a test case.

Attributes

  • creationTime (type: DateTime.t, default: nil) - Output only. When the test was created.
  • displayName (type: String.t, default: nil) - Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
  • lastTestResult (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestCaseResult.t, default: nil) - The latest test result.
  • name (type: String.t, default: nil) - The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects//locations//agents/ /testCases/.
  • notes (type: String.t, default: nil) - Additional freeform notes about the test case. Limit of 400 characters.
  • tags (type: list(String.t), default: nil) - Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
  • testCaseConversationTurns (type: list(GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurn.t), default: nil) - The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly.
  • testConfig (type: GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestConfig.t, default: nil) - Config for the test case.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestCase{
  creationTime: DateTime.t() | nil,
  displayName: String.t() | nil,
  lastTestResult:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestCaseResult.t()
    | nil,
  name: String.t() | nil,
  notes: String.t() | nil,
  tags: [String.t()] | nil,
  testCaseConversationTurns:
    [
      GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3ConversationTurn.t()
    ]
    | nil,
  testConfig:
    GoogleApi.Dialogflow.V2.Model.GoogleCloudDialogflowCxV3TestConfig.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.