Dialogflow v3 API - Class Environment.Types.TestCasesConfig (2.18.0)

public sealed class Environment.Types.TestCasesConfig : IMessage<Environment.Types.TestCasesConfig>, IEquatable<Environment.Types.TestCasesConfig>, IDeepCloneable<Environment.Types.TestCasesConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Dialogflow v3 API class Environment.Types.TestCasesConfig.

The configuration for continuous tests.

Inheritance

object > Environment.Types.TestCasesConfig

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

TestCasesConfig()

public TestCasesConfig()

TestCasesConfig(TestCasesConfig)

public TestCasesConfig(Environment.Types.TestCasesConfig other)
Parameter
Name Description
other EnvironmentTypesTestCasesConfig

Properties

EnableContinuousRun

public bool EnableContinuousRun { get; set; }

Whether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases] periodically. Default false. If set to true, run once a day.

Property Value
Type Description
bool

EnablePredeploymentRun

public bool EnablePredeploymentRun { get; set; }

Whether to run test cases in [TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases] before deploying a flow version to the environment. Default false.

Property Value
Type Description
bool

TestCases

public RepeatedField<string> TestCases { get; }

A list of test case names to run. They should be under the same agent. Format of each test case name: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>

Property Value
Type Description
RepeatedFieldstring