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.
Implements
IMessageEnvironmentTypesTestCasesConfig, IEquatableEnvironmentTypesTestCasesConfig, IDeepCloneableEnvironmentTypesTestCasesConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>
Property Value | |
---|---|
Type | Description |
RepeatedFieldstring |
TestCasesAsTestCaseNames
public ResourceNameList<TestCaseName> TestCasesAsTestCaseNames { get; }
TestCaseName-typed view over the TestCases resource name property.
Property Value | |
---|---|
Type | Description |
ResourceNameListTestCaseName |