Class: Google::Cloud::Dialogflow::CX::V3::TestCase
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::CX::V3::TestCase
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb
Overview
Represents a test case.
Instance Attribute Summary collapse
-
#creation_time ⇒ ::Google::Protobuf::Timestamp
readonly
Output only.
-
#display_name ⇒ ::String
Required.
-
#last_test_result ⇒ ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult
The latest test result.
-
#name ⇒ ::String
The unique identifier of the test case.
-
#notes ⇒ ::String
Additional freeform notes about the test case.
-
#tags ⇒ ::Array<::String>
Tags are short descriptions that users may apply to test cases for organizational and filtering purposes.
-
#test_case_conversation_turns ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::ConversationTurn>
The conversation turns uttered when the test case was created, in chronological order.
-
#test_config ⇒ ::Google::Cloud::Dialogflow::CX::V3::TestConfig
Config for the test case.
Instance Attribute Details
#creation_time ⇒ ::Google::Protobuf::Timestamp (readonly)
Returns Output only. When the test was created.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#display_name ⇒ ::String
Returns Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#last_test_result ⇒ ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult
Returns The latest test result.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#name ⇒ ::String
Returns The unique identifier of the test case.
TestCases.CreateTestCase
will populate the name automatically. Otherwise use format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/testCases/<TestCaseID>
.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#notes ⇒ ::String
Returns Additional freeform notes about the test case. Limit of 400 characters.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#tags ⇒ ::Array<::String>
Returns Tags are short descriptions that users may apply to test cases for organizational and filtering purposes. Each tag should start with "#" and has a limit of 30 characters.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#test_case_conversation_turns ⇒ ::Array<::Google::Cloud::Dialogflow::CX::V3::ConversationTurn>
Returns 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.
58 59 60 61 |
# File 'proto_docs/google/cloud/dialogflow/cx/v3/test_case.rb', line 58 class TestCase include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |