Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::CreateTestCaseRequest.
The request message for TestCases.CreateTestCase.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String Returns
- (::String) — Required. The agent to create the test case for. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
#parent=
def parent=(value) -> ::String Parameter
- value (::String) — Required. The agent to create the test case for. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
Returns
- (::String) — Required. The agent to create the test case for. Format:
projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
#test_case
def test_case() -> ::Google::Cloud::Dialogflow::CX::V3::TestCase Returns
- (::Google::Cloud::Dialogflow::CX::V3::TestCase) — Required. The test case to create.
#test_case=
def test_case=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TestCase Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::TestCase) — Required. The test case to create.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::TestCase) — Required. The test case to create.