class Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCase
Represents a test case.
Attributes
Output only. When the test was created. Corresponds to the JSON property `creationTime` @return [String]
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters. Corresponds to the JSON property `displayName` @return [String]
Represents a result from running a test case in an agent environment. Corresponds to the JSON property `lastTestResult` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestCaseResult]
The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: `projects//locations//agents/ / testCases/`. Corresponds to the JSON property `name` @return [String]
Additional freeform notes about the test case. Limit of 400 characters. Corresponds to the JSON property `notes` @return [String]
The conversation turns uttered when the test case was created, in chronological order. These include the canonical set of agent utterances that should occur when the agent is working properly. Corresponds to the JSON property `testCaseConversationTurns` @return [Array<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1ConversationTurn>]
Represents configurations for a test case. Corresponds to the JSON property `testConfig` @return [Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1TestConfig]
Public Class Methods
# File lib/google/apis/dialogflow_v3/classes.rb, line 8492 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dialogflow_v3/classes.rb, line 8497 def update!(**args) @creation_time = args[:creation_time] if args.key?(:creation_time) @display_name = args[:display_name] if args.key?(:display_name) @last_test_result = args[:last_test_result] if args.key?(:last_test_result) @name = args[:name] if args.key?(:name) @notes = args[:notes] if args.key?(:notes) @tags = args[:tags] if args.key?(:tags) @test_case_conversation_turns = args[:test_case_conversation_turns] if args.key?(:test_case_conversation_turns) @test_config = args[:test_config] if args.key?(:test_config) end