TestCaseArgs class
The set of arguments for TestCase. The set of arguments for TestCase.
Constructors
-
TestCaseArgs({required Input<
String> agentId, required Input<String> displayName, Input<GoogleCloudDialogflowCxV3TestCaseResult> ? lastTestResult, Input<String> ? location, Input<String> ? name, Input<String> ? notes, Input<String> ? project, Input<List< ? tags, Input<String> >List< ? testCaseConversationTurns, Input<GoogleCloudDialogflowCxV3ConversationTurn> >GoogleCloudDialogflowCxV3TestConfig> ? testConfig}) -
Creates a new TestCaseArgs.
agentIdRequired.displayNameThe human-readable name of the test case, unique within the agent. Limit of 200 characters.lastTestResultThe latest test result.locationOptional.nameThe unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format:projects//locations//agents/ /testCases/.notesAdditional freeform notes about the test case. Limit of 400 characters.projectOptional.tagsTags 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.testCaseConversationTurnsThe 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.testConfigConfig for the test case.const -
TestCaseArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
agentId
→ Input<
String> -
final
-
displayName
→ Input<
String> -
The human-readable name of the test case, unique within the agent. Limit of 200 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lastTestResult
→ Input<
GoogleCloudDialogflowCxV3TestCaseResult> ? -
The latest test result.
final
-
location
→ Input<
String> ? -
final
-
name
→ Input<
String> ? -
The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format:
projects//locations//agents/ /testCases/.final -
notes
→ Input<
String> ? -
Additional freeform notes about the test case. Limit of 400 characters.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
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.
final
-
testCaseConversationTurns
→ Input<
List< ?GoogleCloudDialogflowCxV3ConversationTurn> > -
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.
final
-
testConfig
→ Input<
GoogleCloudDialogflowCxV3TestConfig> ? -
Config for the test case.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited