Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1RunTestCaseResponse

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



6214
6215
6216
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6214

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

Instance Attribute Details

#resultGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1TestCaseResult

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



6212
6213
6214
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6212

def result
  @result
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6219
6220
6221
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6219

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