Class TestCaseResult (1.5.0)

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

Represents a result from running a test case in an agent environment.

Inheritance

Object > TestCaseResult

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

TestCaseResult()

public TestCaseResult()

TestCaseResult(TestCaseResult)

public TestCaseResult(TestCaseResult other)
Parameter
NameDescription
otherTestCaseResult

Properties

ConversationTurns

public RepeatedField<ConversationTurn> ConversationTurns { get; }

The conversation turns uttered during the test case replay in chronological order.

Property Value
TypeDescription
RepeatedField<ConversationTurn>

Environment

public string Environment { get; set; }

Environment where the test was run. If not set, it indicates the draft environment.

Property Value
TypeDescription
String

EnvironmentAsEnvironmentName

public EnvironmentName EnvironmentAsEnvironmentName { get; set; }

EnvironmentName-typed view over the Environment resource name property.

Property Value
TypeDescription
EnvironmentName

Name

public string Name { get; set; }

The resource name for the test case result. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/testCases/ &lt;TestCase ID>/results/&lt;TestCaseResult ID>.

Property Value
TypeDescription
String

TestCaseResultName

public TestCaseResultName TestCaseResultName { get; set; }

TestCaseResultName-typed view over the Name resource name property.

Property Value
TypeDescription
TestCaseResultName

TestResult

public TestResult TestResult { get; set; }

Whether the test case passed in the agent environment.

Property Value
TypeDescription
TestResult

TestTime

public Timestamp TestTime { get; set; }

The time that the test was run.

Property Value
TypeDescription
Timestamp