class Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3TestCaseResult
Represents a result from running a test case in an agent environment.
Attributes
The conversation turns uttered during the test case replay in chronological order. Corresponds to the JSON property `conversationTurns` @return [Array<Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3ConversationTurn>]
Environment where the test was run. If not set, it indicates the draft environment. Corresponds to the JSON property `environment` @return [String]
The resource name for the test case result. Format: `projects//locations// agents//testCases/ /results/`. Corresponds to the JSON property `name` @return [String]
Whether the test case passed in the agent environment. Corresponds to the JSON property `testResult` @return [String]
The time that the test was run. Corresponds to the JSON property `testTime` @return [String]
Public Class Methods
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 2068 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v2beta1/classes.rb, line 2073 def update!(**args) @conversation_turns = args[:conversation_turns] if args.key?(:conversation_turns) @environment = args[:environment] if args.key?(:environment) @name = args[:name] if args.key?(:name) @test_result = args[:test_result] if args.key?(:test_result) @test_time = args[:test_time] if args.key?(:test_time) end