pub struct GoogleCloudDialogflowCxV3TestCase {
pub creation_time: Option<DateTime<Utc>>,
pub display_name: Option<String>,
pub last_test_result: Option<GoogleCloudDialogflowCxV3TestCaseResult>,
pub name: Option<String>,
pub notes: Option<String>,
pub tags: Option<Vec<String>>,
pub test_case_conversation_turns: Option<Vec<GoogleCloudDialogflowCxV3ConversationTurn>>,
pub test_config: Option<GoogleCloudDialogflowCxV3TestConfig>,
}
Expand description
Represents a test case.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations agents test cases create projects (request|response)
- locations agents test cases get projects (response)
- locations agents test cases patch projects (request|response)
Fields§
§creation_time: Option<DateTime<Utc>>
Output only. When the test was created.
display_name: Option<String>
Required. The human-readable name of the test case, unique within the agent. Limit of 200 characters.
last_test_result: Option<GoogleCloudDialogflowCxV3TestCaseResult>
The latest test result.
name: Option<String>
The unique identifier of the test case. TestCases.CreateTestCase will populate the name automatically. Otherwise use format: projects//locations//agents/ /testCases/
.
notes: Option<String>
Additional freeform notes about the test case. Limit of 400 characters.
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: Option<Vec<GoogleCloudDialogflowCxV3ConversationTurn>>
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.
test_config: Option<GoogleCloudDialogflowCxV3TestConfig>
Config for the test case.
Trait Implementations§
Source§impl Clone for GoogleCloudDialogflowCxV3TestCase
impl Clone for GoogleCloudDialogflowCxV3TestCase
Source§fn clone(&self) -> GoogleCloudDialogflowCxV3TestCase
fn clone(&self) -> GoogleCloudDialogflowCxV3TestCase
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GoogleCloudDialogflowCxV3TestCase
impl Default for GoogleCloudDialogflowCxV3TestCase
Source§fn default() -> GoogleCloudDialogflowCxV3TestCase
fn default() -> GoogleCloudDialogflowCxV3TestCase
Source§impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3TestCase
impl<'de> Deserialize<'de> for GoogleCloudDialogflowCxV3TestCase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDialogflowCxV3TestCase
impl ResponseResult for GoogleCloudDialogflowCxV3TestCase
Auto Trait Implementations§
impl Freeze for GoogleCloudDialogflowCxV3TestCase
impl RefUnwindSafe for GoogleCloudDialogflowCxV3TestCase
impl Send for GoogleCloudDialogflowCxV3TestCase
impl Sync for GoogleCloudDialogflowCxV3TestCase
impl Unpin for GoogleCloudDialogflowCxV3TestCase
impl UnwindSafe for GoogleCloudDialogflowCxV3TestCase
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more