Struct gapi_grpc::google::cloud::dialogflow::cx::v3beta1::TestCase[][src]

pub struct TestCase {
    pub name: String,
    pub tags: Vec<String>,
    pub display_name: String,
    pub notes: String,
    pub test_config: Option<TestConfig>,
    pub test_case_conversation_turns: Vec<ConversationTurn>,
    pub creation_time: Option<Timestamp>,
    pub last_test_result: Option<TestCaseResult>,
}

Represents a test case.

Fields

name: String

The unique identifier of the test case. [TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3beta1.TestCases.CreateTestCase] will populate the name automatically. Otherwise use format: projects/<Project ID>/locations/<LocationID>/agents/ <AgentID>/testCases/<TestCase ID>.

tags: Vec<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.

display_name: String

Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.

notes: String

Additional freeform notes about the test case. Limit of 400 characters.

test_config: Option<TestConfig>

Config for the test case.

test_case_conversation_turns: Vec<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.

creation_time: Option<Timestamp>

Output only. When the test was created.

last_test_result: Option<TestCaseResult>

The latest test result.

Trait Implementations

impl Clone for TestCase[src]

impl Debug for TestCase[src]

impl Default for TestCase[src]

impl Message for TestCase[src]

impl PartialEq<TestCase> for TestCase[src]

impl StructuralPartialEq for TestCase[src]

Auto Trait Implementations

impl RefUnwindSafe for TestCase

impl Send for TestCase

impl Sync for TestCase

impl Unpin for TestCase

impl UnwindSafe for TestCase

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]