class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult

Represents a result from running a test case in an agent environment.

Attributes

conversation_turns[RW]

The conversation turns uttered during the test case replay in chronological order. Corresponds to the JSON property `conversationTurns` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>]

environment[RW]

Environment where the test was run. If not set, it indicates the draft environment. Corresponds to the JSON property `environment` @return [String]

name[RW]

The resource name for the test case result. Format: `projects//locations// agents//testCases/ /results/`. Corresponds to the JSON property `name` @return [String]

test_result[RW]

Whether the test case passed in the agent environment. Corresponds to the JSON property `testResult` @return [String]

test_time[RW]

The time that the test was run. Corresponds to the JSON property `testTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dialogflow_v3/classes.rb, line 7940
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dialogflow_v3/classes.rb, line 7945
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