Class ListTestCaseResultsRequest (1.11.0)

public sealed class ListTestCaseResultsRequest : IMessage<ListTestCaseResultsRequest>, IEquatable<ListTestCaseResultsRequest>, IDeepCloneable<ListTestCaseResultsRequest>, IBufferMessage, IMessage, IPageRequest

The request message for [TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults].

Inheritance

Object > ListTestCaseResultsRequest

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

ListTestCaseResultsRequest()

public ListTestCaseResultsRequest()

ListTestCaseResultsRequest(ListTestCaseResultsRequest)

public ListTestCaseResultsRequest(ListTestCaseResultsRequest other)
Parameter
NameDescription
otherListTestCaseResultsRequest

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 >, &lt;

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
TypeDescription
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
TypeDescription
Int32

PageToken

public string PageToken { get; set; }

The next_page_token value returned from a previous list request.

Property Value
TypeDescription
String

Parent

public string Parent { get; set; }

Required. The test case to list results for. Format: projects/&lt;Project ID>/locations/&lt;Location ID>/agents/&lt;Agent ID>/ testCases/&lt;TestCase ID>. Specify a - as a wildcard for TestCase ID to list results across multiple test cases.

Property Value
TypeDescription
String

ParentAsTestCaseName

public TestCaseName ParentAsTestCaseName { get; set; }

TestCaseName-typed view over the Parent resource name property.

Property Value
TypeDescription
TestCaseName