Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1RunTestCaseResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb

Overview

The response message for TestCases.RunTestCase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1RunTestCaseResponse

Returns a new instance of GoogleCloudDialogflowCxV3beta1RunTestCaseResponse.



11714
11715
11716
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11714

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#resultGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult

Represents a result from running a test case in an agent environment. Corresponds to the JSON property result



11712
11713
11714
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11712

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11719
11720
11721
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 11719

def update!(**args)
  @result = args[:result] if args.key?(:result)
end