class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig

The configuration for continuous tests.

Attributes

enable_continuous_run[RW]

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` @return [Boolean]

enable_continuous_run?[RW]

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` @return [Boolean]

enable_predeployment_run[RW]

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` @return [Boolean]

enable_predeployment_run?[RW]

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` @return [Boolean]

test_cases[RW]

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` @return [Array<String>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 1224
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 1229
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