public sealed class TestCaseResult : IMessage<TestCaseResult>, IEquatable<TestCaseResult>, IDeepCloneable<TestCaseResult>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class TestCaseResult.
Represents a result from running a test case in an agent environment.
Implements
IMessage<TestCaseResult>, IEquatable<TestCaseResult>, IDeepCloneable<TestCaseResult>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
TestCaseResult()
public TestCaseResult()
TestCaseResult(TestCaseResult)
public TestCaseResult(TestCaseResult other)
Parameter | |
---|---|
Name | Description |
other | TestCaseResult |
Properties
ConversationTurns
public RepeatedField<ConversationTurn> ConversationTurns { get; }
The conversation turns uttered during the test case replay in chronological order.
Property Value | |
---|---|
Type | Description |
RepeatedField<ConversationTurn> |
Environment
public string Environment { get; set; }
Environment where the test was run. If not set, it indicates the draft environment.
Property Value | |
---|---|
Type | Description |
String |
EnvironmentAsEnvironmentName
public EnvironmentName EnvironmentAsEnvironmentName { get; set; }
EnvironmentName-typed view over the Environment resource name property.
Property Value | |
---|---|
Type | Description |
EnvironmentName |
Name
public string Name { get; set; }
The resource name for the test case result. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/
<TestCase ID>/results/<TestCaseResult ID>
.
Property Value | |
---|---|
Type | Description |
String |
TestCaseResultName
public TestCaseResultName TestCaseResultName { get; set; }
TestCaseResultName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
TestCaseResultName |
TestResult
public TestResult TestResult { get; set; }
Whether the test case passed in the agent environment.
Property Value | |
---|---|
Type | Description |
TestResult |
TestTime
public Timestamp TestTime { get; set; }
The time that the test was run.
Property Value | |
---|---|
Type | Description |
Timestamp |