Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/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.



5252
5253
5254
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5252

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

Instance Attribute Details

#resultGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1TestCaseResult

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



5250
5251
5252
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5250

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5257
5258
5259
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 5257

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