Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1ContinuousTestResult
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Overview
Represents a result from running a test case in an agent environment.
Instance Attribute Summary collapse
-
#name ⇒ String
The resource name for the continuous test result.
-
#result ⇒ String
The result of this continuous test run, i.e.
-
#run_time ⇒ String
Time when the continuous testing run starts.
-
#test_case_results ⇒ Array<String>
A list of individual test case results names in this continuous test run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ContinuousTestResult
Returns a new instance of GoogleCloudDialogflowCxV3beta1ContinuousTestResult.
3336 3337 3338 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3336 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
The resource name for the continuous test result. Format: projects//locations/
/agents//environments//continuousTestResults/.
Corresponds to the JSON property name
3318 3319 3320 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3318 def name @name end |
#result ⇒ String
The result of this continuous test run, i.e. whether all the tests in this
continuous test run pass or not.
Corresponds to the JSON property result
3324 3325 3326 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3324 def result @result end |
#run_time ⇒ String
Time when the continuous testing run starts.
Corresponds to the JSON property runTime
3329 3330 3331 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3329 def run_time @run_time end |
#test_case_results ⇒ Array<String>
A list of individual test case results names in this continuous test run.
Corresponds to the JSON property testCaseResults
3334 3335 3336 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3334 def test_case_results @test_case_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3341 3342 3343 3344 3345 3346 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3341 def update!(**args) @name = args[:name] if args.key?(:name) @result = args[:result] if args.key?(:result) @run_time = args[:run_time] if args.key?(:run_time) @test_case_results = args[:test_case_results] if args.key?(:test_case_results) end |