Google Cloud Dialogflow Cx V3 Client - Class ListTestCaseResultsRequest (0.1.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ListTestCaseResultsRequest.

The request message for TestCases.ListTestCaseResults.

Generated from protobuf message google.cloud.dialogflow.cx.v3.ListTestCaseResultsRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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.

↳ page_size int

The maximum number of items to return in a single page. By default 100 and at most 1000.

↳ page_token string

The next_page_token value returned from a previous list request.

↳ filter string

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:

getParent

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.

Returns
TypeDescription
string

setParent

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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return in a single page. By default 100 and at most 1000.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return in a single page. By default 100 and at most 1000.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The next_page_token value returned from a previous list request.

Returns
TypeDescription
string

setPageToken

The next_page_token value returned from a previous list request.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

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:

  • "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.
Returns
TypeDescription
string

setFilter

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:

  • "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.
Parameter
NameDescription
var string
Returns
TypeDescription
$this