public sealed class TestCase : IMessage<TestCase>, IEquatable<TestCase>, IDeepCloneable<TestCase>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class TestCase.
Represents a test case.
Namespace
GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
TestCase()
public TestCase()
TestCase(TestCase)
public TestCase(TestCase other)
Parameter | |
---|---|
Name | Description |
other | TestCase |
Properties
CreationTime
public Timestamp CreationTime { get; set; }
Output only. When the test was created.
Property Value | |
---|---|
Type | Description |
Timestamp |
DisplayName
public string DisplayName { get; set; }
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
Property Value | |
---|---|
Type | Description |
string |
LastTestResult
public TestCaseResult LastTestResult { get; set; }
The latest test result.
Property Value | |
---|---|
Type | Description |
TestCaseResult |
Name
public string Name { get; set; }
The unique identifier of the test case.
[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase]
will populate the name automatically. Otherwise use format:
projects/<Project ID>/locations/<LocationID>/agents/
<AgentID>/testCases/<TestCase ID>
.
Property Value | |
---|---|
Type | Description |
string |
Notes
public string Notes { get; set; }
Additional freeform notes about the test case. Limit of 400 characters.
Property Value | |
---|---|
Type | Description |
string |
Tags
public RepeatedField<string> Tags { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TestCaseConversationTurns
public RepeatedField<ConversationTurn> TestCaseConversationTurns { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedFieldConversationTurn |
TestCaseName
public TestCaseName TestCaseName { get; set; }
TestCaseName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
TestCaseName |
TestConfig
public TestConfig TestConfig { get; set; }
Config for the test case.
Property Value | |
---|---|
Type | Description |
TestConfig |