Dialogflow v3 API - Class TestCaseResult (2.13.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

Google.Cloud.Dialogflow.Cx.V3

Assembly

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.