Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3RunTestCaseResponse

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

Overview

The response message for TestCases.RunTestCase.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3RunTestCaseResponse

Returns a new instance of GoogleCloudDialogflowCxV3RunTestCaseResponse.



1743
1744
1745
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1743

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

Instance Attribute Details

#resultGoogle::Apis::DialogflowV2::GoogleCloudDialogflowCxV3TestCaseResult

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



1741
1742
1743
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1741

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1748
1749
1750
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 1748

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