Class Environment.Types.TestCasesConfig (2.0.0)

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

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(Environment.Types.TestCasesConfig)

public TestCasesConfig(Environment.Types.TestCasesConfig other)
Parameter
NameDescription
otherEnvironment.Types.TestCasesConfig

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
TypeDescription
Boolean

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
TypeDescription
Boolean

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/&lt;Project ID>/locations/ &lt;Location ID>/agents/&lt;AgentID>/testCases/&lt;TestCase ID>

Property Value
TypeDescription
RepeatedField<String>