Class: Google::Cloud::Dialogflow::CX::V3::TestCase

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#creation_time::Google::Protobuf::Timestamp (readonly)

Returns Output only. When the test was created.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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>.

Returns:

  • (::String)

    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.

Returns:

  • (::String)

    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.

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.



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.

Returns:



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_config::Google::Cloud::Dialogflow::CX::V3::TestConfig

Returns Config for the test case.

Returns:



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