Dialogflow v3 API - Class TestCaseResult (2.6.0)

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.

Inheritance

object > TestCaseResult

Namespace

GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3

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
RepeatedFieldConversationTurn

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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/testCases/ <TestCase ID>/results/<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