TestCaseArgs

data class TestCaseArgs(val agentId: Output<String>? = null, val displayName: Output<String>? = null, val lastTestResult: Output<GoogleCloudDialogflowCxV3TestCaseResultArgs>? = null, val location: Output<String>? = null, val name: Output<String>? = null, val notes: Output<String>? = null, val project: Output<String>? = null, val tags: Output<List<String>>? = null, val testCaseConversationTurns: Output<List<GoogleCloudDialogflowCxV3ConversationTurnArgs>>? = null, val testConfig: Output<GoogleCloudDialogflowCxV3TestConfigArgs>? = null) : ConvertibleToJava<TestCaseArgs>

Creates a test case for the given agent. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

Constructors

Link copied to clipboard
fun TestCaseArgs(agentId: Output<String>? = null, displayName: Output<String>? = null, lastTestResult: Output<GoogleCloudDialogflowCxV3TestCaseResultArgs>? = null, location: Output<String>? = null, name: Output<String>? = null, notes: Output<String>? = null, project: Output<String>? = null, tags: Output<List<String>>? = null, testCaseConversationTurns: Output<List<GoogleCloudDialogflowCxV3ConversationTurnArgs>>? = null, testConfig: Output<GoogleCloudDialogflowCxV3TestConfigArgs>? = null)

Functions

Link copied to clipboard
open override fun toJava(): TestCaseArgs

Properties

Link copied to clipboard
val agentId: Output<String>? = null
Link copied to clipboard
val displayName: Output<String>? = null

The human-readable name of the test case, unique within the agent. Limit of 200 characters.

Link copied to clipboard

The latest test result.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val name: Output<String>? = null

The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects//locations//agents/ /testCases/.

Link copied to clipboard
val notes: Output<String>? = null

Additional freeform notes about the test case. Limit of 400 characters.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val tags: Output<List<String>>? = null

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.

Link copied to clipboard

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.

Link copied to clipboard

Config for the test case.