Class TestCase (2.0.0)

public sealed class TestCase : IMessage<TestCase>, IEquatable<TestCase>, IDeepCloneable<TestCase>, IBufferMessage, IMessage

Represents a test case.

Inheritance

Object > TestCase

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

TestCase()

public TestCase()

TestCase(TestCase)

public TestCase(TestCase other)
Parameter
NameDescription
otherTestCase

Properties

CreationTime

public Timestamp CreationTime { get; set; }

Output only. When the test was created.

Property Value
TypeDescription
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
TypeDescription
String

LastTestResult

public TestCaseResult LastTestResult { get; set; }

The latest test result.

Property Value
TypeDescription
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/&lt;Project ID>/locations/&lt;LocationID>/agents/ &lt;AgentID>/testCases/&lt;TestCase ID>.

Property Value
TypeDescription
String

Notes

public string Notes { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
RepeatedField<String>

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
TypeDescription
RepeatedField<ConversationTurn>

TestCaseName

public TestCaseName TestCaseName { get; set; }

TestCaseName-typed view over the Name resource name property.

Property Value
TypeDescription
TestCaseName

TestConfig

public TestConfig TestConfig { get; set; }

Config for the test case.

Property Value
TypeDescription
TestConfig