public sealed class ListTestCaseResultsRequest : IMessage<ListTestCaseResultsRequest>, IEquatable<ListTestCaseResultsRequest>, IDeepCloneable<ListTestCaseResultsRequest>, IBufferMessage, IMessage, IPageRequest
Reference documentation and code samples for the Dialogflow v3 API class ListTestCaseResultsRequest.
The request message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].
Implements
IMessageListTestCaseResultsRequest, IEquatableListTestCaseResultsRequest, IDeepCloneableListTestCaseResultsRequest, IBufferMessage, IMessage, IPageRequestNamespace
GoogleCloudGoogle.Cloud.DialogflowGoogle.Cloud.Dialogflow.CxV3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
ListTestCaseResultsRequest()
public ListTestCaseResultsRequest()
ListTestCaseResultsRequest(ListTestCaseResultsRequest)
public ListTestCaseResultsRequest(ListTestCaseResultsRequest other)
Parameter | |
---|---|
Name | Description |
other | ListTestCaseResultsRequest |
Properties
Filter
public string Filter { get; set; }
The filter expression used to filter test case results. See API Filtering.
The expression is case insensitive. Only 'AND' is supported for logical operators. The supported syntax is listed below in detail:
<field> <operator> <value> [AND <field> <operator> <value>] ... [AND latest]
The supported fields and operators are:
field operator
environment
=
, IN
(Use value draft
for draft environment)
test_time
>
, <
latest
only returns the latest test result in all results for each test
case.
Examples:
- "environment=draft AND latest" matches the latest test result for each test case in the draft environment.
- "environment IN (e1,e2)" matches any test case results with an environment resource name of either "e1" or "e2".
- "test_time > 1602540713" matches any test case results with test time later than a unix timestamp in seconds 1602540713.
Property Value | |
---|---|
Type | Description |
string |
PageSize
public int PageSize { get; set; }
The maximum number of items to return in a single page. By default 100 and at most 1000.
Property Value | |
---|---|
Type | Description |
int |
PageToken
public string PageToken { get; set; }
The next_page_token value returned from a previous list request.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The test case to list results for.
Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/
testCases/<TestCase ID>
. Specify a -
as a wildcard for TestCase ID to
list results across multiple test cases.
Property Value | |
---|---|
Type | Description |
string |
ParentAsTestCaseName
public TestCaseName ParentAsTestCaseName { get; set; }
TestCaseName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
TestCaseName |