Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::TestCase (v0.20.0)

Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::TestCase.

Represents a test case.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#creation_time

def creation_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
Returns
  • (::String) — Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.

#last_test_result

def last_test_result() -> ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult
Returns

#last_test_result=

def last_test_result=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TestCaseResult
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>.
Returns
  • (::String) — The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>.

#notes

def notes() -> ::String
Returns
  • (::String) — Additional freeform notes about the test case. Limit of 400 characters.

#notes=

def notes=(value) -> ::String
Parameter
  • value (::String) — Additional freeform notes about the test case. Limit of 400 characters.
Returns
  • (::String) — Additional freeform notes about the test case. Limit of 400 characters.

#tags

def tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — 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.

#tags=

def tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — 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.
Returns
  • (::Array<::String>) — 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.

#test_case_conversation_turns

def test_case_conversation_turns() -> ::Array<::Google::Cloud::Dialogflow::CX::V3::ConversationTurn>
Returns

#test_case_conversation_turns=

def test_case_conversation_turns=(value) -> ::Array<::Google::Cloud::Dialogflow::CX::V3::ConversationTurn>
Parameter
  • value (::Array<::Google::Cloud::Dialogflow::CX::V3::ConversationTurn>) — 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.
Returns

#test_config

def test_config() -> ::Google::Cloud::Dialogflow::CX::V3::TestConfig
Returns

#test_config=

def test_config=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TestConfig
Parameter
Returns