Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
The configuration for continuous tests.
Instance Attribute Summary collapse
-
#enable_continuous_run ⇒ Boolean
(also: #enable_continuous_run?)
Whether to run test cases in TestCasesConfig.test_cases periodically.
-
#enable_predeployment_run ⇒ Boolean
(also: #enable_predeployment_run?)
Whether to run test cases in TestCasesConfig.test_cases before deploying a flow version to the environment.
-
#test_cases ⇒ Array<String>
A list of test case names to run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
constructor
A new instance of GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig
Returns a new instance of GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig.
6228 6229 6230 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6228 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_continuous_run ⇒ Boolean Also known as: enable_continuous_run?
Whether to run test cases in TestCasesConfig.test_cases periodically. Default
false. If set to true, run once a day.
Corresponds to the JSON property enableContinuousRun
6212 6213 6214 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6212 def enable_continuous_run @enable_continuous_run end |
#enable_predeployment_run ⇒ Boolean Also known as: enable_predeployment_run?
Whether to run test cases in TestCasesConfig.test_cases before deploying a
flow version to the environment. Default false.
Corresponds to the JSON property enablePredeploymentRun
6219 6220 6221 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6219 def enable_predeployment_run @enable_predeployment_run end |
#test_cases ⇒ Array<String>
A list of test case names to run. They should be under the same agent. Format
of each test case name: projects//locations/ /agents//testCases/
Corresponds to the JSON property testCases
6226 6227 6228 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6226 def test_cases @test_cases end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6233 6234 6235 6236 6237 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6233 def update!(**args) @enable_continuous_run = args[:enable_continuous_run] if args.key?(:enable_continuous_run) @enable_predeployment_run = args[:enable_predeployment_run] if args.key?(:enable_predeployment_run) @test_cases = args[:test_cases] if args.key?(:test_cases) end |